feat: a list from the cache says how old it is while it reloads #14

Closed
keb wants to merge 0 commits from feat/cache-age into main
pull from: feat/cache-age
Owner

Since the disk cache, a list can come from a run hours or days ago until it reloads in the background. While it reloads, the pane's bottom border now says how old it is: cached 3h ago · 2 of 3. Only for lists older than the 2-minute cache TTL, so fresh ones stay quiet.

Also fixes the Sources pane losing its spinner while reloading lists from the cache at startup.

  • panes.List.Age, shown by the counter while loading; Refresh clears it
  • cachedAge / oldestSources in the app
  • test: TestCacheFileSaysItsAge; docs/config.md

🤖 Generated with Claude Code

Since the disk cache, a list can come from a run hours or days ago until it reloads in the background. While it reloads, the pane's bottom border now says how old it is: `cached 3h ago · 2 of 3`. Only for lists older than the 2-minute cache TTL, so fresh ones stay quiet. Also fixes the Sources pane losing its spinner while reloading lists from the cache at startup. - `panes.List.Age`, shown by the counter while loading; `Refresh` clears it - `cachedAge` / `oldestSources` in the app - test: `TestCacheFileSaysItsAge`; docs/config.md 🤖 Generated with [Claude Code](https://claude.com/claude-code)
keb added 1 commit 2026-10-11 13:35:20 +02:00
feat: a list from the cache says how old it is while it reloads
CI / Checks (pull_request) Successful in 24s
PR title / Conventional title (pull_request) Successful in 2s
4d6db97d54
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Author
Owner

Combined into #17.

Combined into #17.
keb closed this pull request 2026-10-11 13:51:34 +02:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: keb/lazysecrets#14