Repository navigation
fix(desktop-gpui): refresh every library view and the tray after deleting a recording - #3063
Merged
richiemcilroy merged 3 commits intoOct 24, 2026
Merged
Conversation
Contributor
|
@yashranaway is attempting to deploy a commit to the Cap Software Inc Team on Vercel. A member of the Team first needs to authorize it. |
Member
|
Thanks for this. Two issues:
Once those are in, we'll re-run the Greptile review. It needs a 5/5 plus green CI to merge. |
Contributor
Author
|
@greptileai review |
Contributor
Author
|
@richiemcilroy both done in 052fab6. the main window and settings delete paths now run the shared refresh through cx.defer, so the window that started the delete refreshes too. i kept tray::refresh_previous in the helper and removed the now-redundant calls in the studio thumbnail handler and import::refresh_libraries, so each path scans once. greptile is 5/5. |
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.
deleting a recording from the main window or from settings only refreshed that one window's list. the other window kept showing it, and the tray's previous recordings menu never refreshed at all, so it still listed the deleted recording until something else rebuilt it. the tauri app refreshed the tray on every delete.
both delete paths now go through the same helper the editor delete already uses, which refreshes main and settings, and that helper now also refreshes the tray. the tray is a no-op stub on linux so i couldn't exercise the menu itself here, only that the existing delete tests still pass.


Confidence Score: 5/5
The PR appears safe to merge; both earlier findings are addressed.Summary
Recording deletion now refreshes both library windows and the tray through one shared helper.
Reviews (2) · Last reviewed commit: "fix(desktop-gpui): defer the library ref..." · Reviewed by Greptile