Skip to content

fix(desktop): preserve editor syntax and refresh history comparisons - #181

Merged
bketelsen merged 1 commit into
mainfrom
fix/desktop-editor-review
Nov 11, 2026
Merged

bketelsen merged 1 commit into
mainfrom
fix/desktop-editor-review

Conversation

@bketelsen

@bketelsen bketelsen commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

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 check passed in a clean worktree. The original checkout's baseline test scans ignored old .claude/worktrees/ manifests; the clean checkout avoids that artifact.
  • make vault-it passed: all four kill/restart scenarios.
  • make desktop-bench passed: source 2.71 ms, live preview 9.40 ms per keystroke in 10,000 lines.
  • Revert test: go test ./internal/desktop/editor ./internal/desktop/livepreview ./internal/desktop/history fails 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 main base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

1 participant