Repository navigation
fix(clipboard): preserve pinned state when editing entries - #3412
Conversation
|
/claude review |
Claude reviewApproach is sound — the pinned state is preserved correctly and dedupe/trim are respected; three issues worth addressing, none blocking correctness of the happy path.
|
|
/claude review |
Claude reviewPrevious round of feedback is addressed —
|
|
/claude review |
Claude reviewLast round's finding is fixed —
|
|
/claude review |
Claude reviewLast round's data-loss finding is fixed — a save before the full text arrives no longer replaces the entry with its preview. One follow-up on how that gate behaves.
|
|
/claude review |
Claude reviewEarlier rounds are addressed (SetClipboard moved after the commit, empty/size validation, wlCtx mock in tests); the new load-timeout fallback introduces one problem.
Checked: |
|
/claude review |
Claude reviewThe latest commit removes the
|
|
/claude review |
Claude reviewTranslator contexts are in and the uri-list destruction is fixed; the new mime gate is a bit too tight, and one earlier item is still open.
|
|
/claude review |
Claude reviewThe alt-mime fix lands correctly —
Checked: |
|
/claude review |
Claude reviewNo issues found. The last open item is resolved: Checked: |
…ev#3412) * fix(clipboard): preserve pinned state when editing entries * fix(clipboard): address PR review feedback on editEntry * fix(clipboard): validate empty text and entry size in EditEntry * fix(clipboard): gate saving entry on full text load completion * fix(clipboard): add user feedback and error fallback for entry loading * fix(clipboard): keep entry and gate save with error toast on load failure * fix(clipboard): reject non-text edits and add translator contexts * fix(clipboard): support alt text mime types in EditEntry and UI guards * fix(clipboard): pre-fetch entry before opening editor and allow retry on load failure
* fix(clipboard): preserve pinned state when editing entries * fix(clipboard): address PR review feedback on editEntry * fix(clipboard): validate empty text and entry size in EditEntry * fix(clipboard): gate saving entry on full text load completion * fix(clipboard): add user feedback and error fallback for entry loading * fix(clipboard): keep entry and gate save with error toast on load failure * fix(clipboard): reject non-text edits and add translator contexts * fix(clipboard): support alt text mime types in EditEntry and UI guards * fix(clipboard): pre-fetch entry before opening editor and allow retry on load failure (cherry picked from commit 4141089)
When saving edits to a pinned clipboard entry, the editor previously called clipboard.copy, which only created a new unpinned entry in recents while leaving the original pinned entry unchanged in the "Saved" tab.