summaryrefslogtreecommitdiff
path: root/Hutch/App/AppState.swift
Commit message (Collapse)AuthorAgeFilesLines
* feat: add persistent stale-while-revalidate API cacheChristian Cleberg2026-05-061-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce an actor-backed persistent cache layer at the SRHTClient boundary for read-only SourceHut data. Cache entries now store stable metadata including key, resource type, fetched/expires/access timestamps, payload hash, schema version, and payload size, with bounded memory and disk usage. Add centralized cache key builders and TTL defaults for repository, file, ticket, build, log, profile, status, and list-style resources. Support networkOnly, cacheOnly, cacheFirstThenRefresh, and refreshIgnoringCache policies, plus request coalescing for duplicate in-flight cache keys. Integrate first-pass caching into high-value low-risk read paths: - build detail and completed/active build logs - ticket detail - README lookup - repository tree, blob, and linked file reads Keep mutation paths network-only and add simple prefix invalidation after ticket and build mutations. Add compact cached/stale UI status rows and a Settings action to clear the persistent cache. Add focused cache tests covering round trips, expiration, stale fallback, policy behavior, request coalescing, prefix invalidation, size limits, LRU pruning, expired pruning, and mutation bypass behavior. Document storage, key, TTL, invalidation, limitations, and next recommended targets.
* feat: add power user actionsChristian Cleberg2026-04-131-0/+33
| | | | | | Implements: https://todo.sr.ht/~ccleberg/hutch/52 Implements: https://todo.sr.ht/~ccleberg/hutch/53 Implements: https://todo.sr.ht/~ccleberg/hutch/54
* feat: add multi-account supportChristian Cleberg2026-04-121-76/+179
| | | | | | Implements: https://todo.sr.ht/~ccleberg/hutch/49 Implements: https://todo.sr.ht/~ccleberg/hutch/50 Implements: https://todo.sr.ht/~ccleberg/hutch/51
* feat: improve Home structure and navigationv2.16.0Christian Cleberg2026-04-121-0/+6
| | | | | | implements: https://todo.sr.ht/~ccleberg/hutch/14 implements: https://todo.sr.ht/~ccleberg/hutch/15 implements: https://todo.sr.ht/~ccleberg/hutch/16
* add shortcuts widgets and power-user workflowsv2.15.0Christian Cleberg2026-04-121-0/+2
|
* improve home attention flows and cross-linkingv2.14.0Christian Cleberg2026-04-121-5/+31
|
* Add SourceHut system status screen and home disruption bannerChristian Cleberg2026-04-111-1/+13
|
* feat: add contribution calendar to user profilesv2.11.0Christian Cleberg2026-04-111-0/+7
| | | | | | Add a trailing 365-day contribution heatmap to user profile views, backed by HutchStatsService. Includes calendar model, view model, SwiftUI calendar view, app configuration, and unit tests.
* feat: add multi-account supportv2.6.0Christian Cleberg2026-04-011-7/+93
| | | | Implements: https://todo.sr.ht/~ccleberg/Hutch/11
* v2.4.0: widgetsv2.4.0Christian Cleberg2026-03-241-0/+15
|
* feat: surface an alert when a deep link fails to resolveChristian Cleberg2026-03-221-0/+10
|
* feat: implement support for projects, lists, and pastesChristian Cleberg2026-03-191-5/+41
|
* feat: add support for reading inbox messages (emails) and replying in-appChristian Cleberg2026-03-191-0/+14
|
* v1.0Christian Cleberg2026-03-171-0/+222