Repository navigation
fix(desktop): preserve editor syntax and refresh history comparisons - #181
Merged
Merged
Conversation
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
Renaming a property preserves NaN values, including nested values; tag highlighting includes combining marks. Live preview leaves indented code literal at the start of a note and after a heading, fence, or frontmatter while preserving paragraph continuations. History's Show changes follows edits to the current note. The typing benchmark verifies the exact increase in document length.
Closes #155. Closes #156. Closes #157. Closes #158. Closes #177.
Risk tier
Risk tier: 2 — editor and history behavior changes. No paths match
.github/risk-paths.json; these paths use the default L3 classification. No storage or RPC contracts change.Verification
mise exec -- make checkpassed in a clean worktree. The original checkout's baseline test scans ignored old.claude/worktrees/manifests; the clean checkout avoids that artifact.make vault-itpassed: all four kill/restart scenarios.make desktop-benchpassed: source 2.71 ms, live preview 9.40 ms per keystroke in 10,000 lines.go test ./internal/desktop/editor ./internal/desktop/livepreview ./internal/desktop/historyfails the new regressions with the four implementation fixes reverted, and passes with them restored.Merge order
First in the issue-sweep stack. 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.