Repository navigation
fix(desktop): retain workspace state and isolate window actions - #182
Merged
Merged
Conversation
This was referenced Nov 11, 2026
This was referenced Nov 11, 2026
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.
Summary
Keep caret and scroll positions through navigation, target jumps at the requesting tab, retain active tabs during workspace validation, and deep-copy merge views. Hidden properties hide their YAML and panel; closing Settings commits unfinished fields. Remote-image preference changes rebuild image caches, and dropping a tab in a group's center joins that group.
Join results belong to their own run. A lost vault-add answer explains that a vault may remain and where to remove it. Moves and deletions held at sequence zero are persisted with their resume point so reopening can apply them after the vault list arrives.
Closes #159. Closes #160. Closes #161. Closes #162. Closes #163. Closes #164. Closes #165. Closes #166. Closes #172. Closes #175. Closes #176.
Risk tier
Risk tier: 3 — workspace/event durability and the L1 match
internal/desktop/reading/view.go. The image loader keeps its existing scheme checks, byte limits and pixel budget; changing the preference creates a new drawer and cache identity so refusals can retry without sharing the old loader's mutable policy. No vault files are deleted for an ambiguous add result.Verification
mise exec -- make checkpassed in the isolated worktree.make desktop-buildpassed.go test -race ./internal/desktop/window ./internal/desktop/reading ./internal/desktop/workspace ./internal/desktop/uikitpassed.go test ./internal/desktop/window ./internal/desktop/workspace ./internal/desktop/reading ./internal/desktop/uikit; all pass with fixes restored. Coverage includes real notesd navigation, a restart with held events, out-of-order join completion, a refused image retried against an HTTP fixture, and a center drag/drop.Merge order
Stacked on #181; merge that PR first, then retarget this PR to
main. Preserve ancestry with merge commits, or rebase the remaining branches after a squash merge. Full order: #181 → #182 → #183 → #184 → #185 → #186 → #188 → #187 → #189 → #190.The final branch contains the combined fixes. CI and Flatpak workflows were dispatched on that branch because PR CI is restricted to a
mainbase.