Repository navigation
fix(notes): ask before Update notes replaces an edited summary - #4640
Draft
richiemcilroy wants to merge 7 commits into
Draft
richiemcilroy wants to merge 7 commits into
richiemcilroy wants to merge 7 commits into
Conversation
Member
Author
|
@greptileai review |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Member
Author
|
@greptileai review |
This branch was previously deployed
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.
The "Transcript updated" line's Update notes called
Meetings::update_notesdirectly (meetings_ui/documents/bar/health_line.rs), skipping the pane's own Write notes: an edited summary was replaced without asking, and queued summary saves were not flushed first.write_notes(None)as a callback (the route the left-out toast already uses) and no longer clears itself on click. It goes away when new notes land, so cancelling keeps the reminder.write_notesopens "Replace notes?" incx.defer. A click or menu action in the documents window is still dispatching there, and gpui can't update a window from inside its own event, so the prompt never opened before and nothing happened (pane.rs).documents/tests.rs: the line is clicked in a drawn pane registered as the documents window. Edited summary: the prompt opens; Cancel writes nothing and keeps the line; Replace writes new notes. Unedited summary: notes are written without a prompt. On main both edited cases fail on macOS, Windows and Linux.cap_ai.rs:debug_selectoron the dock line's action for the tests.

Confidence Score: 5/5
The PR appears safe to merge; no new actionable issue was found.Summary
Routes Update notes through
write_notesso edited summaries require confirmation and queued saves finish before generation.Reviews (3) · Last reviewed commit: "fix(notes): defer takes the app context" · Reviewed by Greptile