Repository navigation
feat(web): quick capture keeps your place (TASK-3590) - #2067
Merged
Merged
Conversation
Quick capture used to open every item it created, so jotting down an interruption meant a context switch. Now "Add" saves the item, clears the title and keeps focus for the next capture, and a toast names the new ref with an Open action. "Add and open" (Ctrl/Cmd+Enter, or the mobile sheet's secondary button) keeps the old behaviour. Applies to both the desktop sidebar dialog and the mobile capture sheet. The mobile sheet clears only the text it sent, so anything typed while the create is in flight is kept. e2e/bug-3473 needs write-then-open, so it now uses Ctrl/Cmd+Enter. Claude-Session: https://claude.ai/code/session_01FAVXA5mJ5BNhKmv95jxQkQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TASK-3590. Quick capture used to open every item it created, so jotting down an interruption meant a context switch.
Added TASK-12) with an Open action; the link is also kept in the notification tray. Helper:web/src/lib/items/quickCapture.ts.Sidebar.svelte) and the mobile capture sheet (QuickCaptureSheet.svelte). The desktop input is already read-only while a create is in flight (BUG-3115). The mobile one is not, so it clears only the text it sent, and anything typed meanwhile is kept.e2e/bug-3473-write-then-open.spec.tsneeds write-then-open, so it now presses ControlOrMeta+Enter.Evidence (local):
npm run check: 0 errors.Sidebar.quickCapture(5 tests) andQuickCaptureSheet(4 tests).task-3590-quick-capture-staysspec (desktop sidebar leg, mobile sheet leg) plus every spec that drives quick add (bug-3473, bug-3115, task-2235, bug-3229, bug-3465, task-2237, permission-walk-collections): 72 passed, 0 failed. A list-reporter rerun confirms each new leg ran on its own project.https://claude.ai/code/session_01FAVXA5mJ5BNhKmv95jxQkQ