Skip to content

Show history's on-disk size in Settings - #91

Open
alvst wants to merge 1 commit into
momenbasel:mainfrom
alvst:alvie/pr-15-history-disk-size
Open

Show history's on-disk size in Settings#91
alvst wants to merge 1 commit into
momenbasel:mainfrom
alvst:alvie/pr-15-history-disk-size

Conversation

@alvst

@alvst alvst commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Retention settings ask you to decide how much history to keep without telling you what it currently costs. The Keep History section now reports it.

What changed

  • A "Currently storing" row in Keep History shows the clip count plus the store directory's actual size on disk — history JSON and saved images together.
  • The directory walk runs off the main actor when the pane opens, so a large image library can't hitch the Settings window.

Screenshots

Before:
00-baseline screenshots bar.png

After:
10-history-disk-size screenshots after.png

Notes for review

  • The size is measured when the pane opens, not polled — it won't tick live while the pane is showing.
  • No dependencies; merges in any order. Pairs naturally with the retention slider PR but doesn't require it.

This feature should be bundled into v2.

Part of #80.

The Keep History section gains a "Currently storing" row: clip count
plus the store directory's actual size (history JSON and saved
images), walked off the main actor when the pane opens so a large
image library can't hitch the Settings window.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant