Skip to content

fix(storage): watching a clip from Storage Saver is not a view - #50

Merged
DarrellVS merged 1 commit into
devfrom
storage-open-no-view
Sep 23, 2026
Merged

DarrellVS merged 1 commit into
devfrom
storage-open-no-view

Conversation

@DarrellVS

Copy link
Copy Markdown
Owner

Watching a clip from Storage Saver counted as opening it, so it dropped off "Never opened" straight away and could not be deleted from there. useClipDetail().open now takes countAsOpen; Storage Saver passes false, held while the panel is open. Every other entry point counts as before.

Driven: opening from Storage Saver leaves openCount at 0 and keeps the clip listed; opening the same clip from the library takes it to 1. npm run check 849.

🤖 Generated with Claude Code

Opening a clip records it as opened, and "never opened" is exactly what
Storage Saver lists, so looking at a clip there took it off the list the
moment it was watched: it could not be deleted from the screen that exists
to delete it.

`useClipDetail().open` takes `countAsOpen`, and Storage Saver's tiles pass
false. The flag is held for as long as the panel is open, so stepping to
the next clip inside it does not start counting, and it is put back on
close. Every other way of opening a clip counts exactly as before.

Driven against a seeded library: a clip opened from Storage Saver stays at
openCount 0 and stays on the list; the same clip opened from the library
goes to 1. `npm run check` 849.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@DarrellVS DarrellVS added this to the 3.5.0 milestone Sep 23, 2026
@DarrellVS DarrellVS added the bug Something isn't working label Sep 23, 2026
@DarrellVS DarrellVS self-assigned this Sep 23, 2026
@DarrellVS
DarrellVS merged commit 3a776eb into dev Sep 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant