Skip to content

feat: edit saved annotations from manager - #73

Open
graemefolk wants to merge 1 commit into
plannotator:mainfrom
graemefolk:edit-saved-annotations
Open

graemefolk wants to merge 1 commit into
plannotator:mainfrom
graemefolk:edit-saved-annotations

Conversation

@graemefolk

Copy link
Copy Markdown

Closes #68.

You can now press e in the manager to edit a saved comment. Ctrl+S saves and Esc cancels, without changing the selected text or where it came from.

A save from another pane won't be overwritten, and archiving won't lose an edit.

Checked with all 123 Rust tests and the terminal test suite (150 screens).

Let users correct saved feedback without recapturing the selection or
changing its provenance and ordering. Reuse the existing comment editor.

Keep active records when they differ from an archive snapshot, so an
archive action in another pane cannot delete a successfully saved edit.
Reject stale saves and keep their drafts open so two manager panes cannot
silently overwrite each other's feedback.
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.

Edit an existing annotation

1 participant