Skip to content

feat(nsgo): edit Markdown inline in the shared notes preview - #268

Merged
frostyard-machines merged 1 commit into
mainfrom
feat/nsgo-markdown-live-preview
Nov 24, 2026
Merged

frostyard-machines merged 1 commit into
mainfrom
feat/nsgo-markdown-live-preview

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

FrostNotes’ NSGo preview now offers inline Markdown editing on Linux and in Lodge. Choose Live preview in the note header. Click a heading or text line to edit its Markdown, toggle a task in place, or follow an aliased wiki link. Source supports selections across multiple lines. The chosen mode carries between notes in the window.

Both builds use the existing FrostNotes scanner and document model. NSGo mounts rows near the viewport and sends byte-range edits to the source document. Undo and redo operate within the live view and clear on remote text changes. Document timers now belong to the workspace so replacing a checkbox or editing field cannot cancel autosave.

Risk tier

Risk tier: 3. The protected Makefile expands the opt-in NSGo browser evidence target to cover both inline editing and reconnect recovery. Inline edits use the existing base-checked save path. Tests inspect the resulting Markdown on disk.

Verification

  • Passed make check, including the NSGo integration tests and Wasm compile. Tests cover CRLF, Unicode, fenced code, multiline paste, caret movement, checkbox undo/redo and aliased wiki links.
  • Passed make desktop-bench, the existing MyGo typing gate.
  • Built the Linux executable and drove it under Xvfb against a disposable notesd vault. Toggled a checkbox, edited a heading, verified both writes and undo on disk, and opened the linked note.
  • Built the Lodge Wasm app and exercised it in Firefox ESR against the pinned development gateway. Both NSGo browser evidence tests passed, including local edits and undo, remote history invalidation, link navigation, and offline conflict recovery.

The inline milestone covers headings, tasks and wiki links. Whole-note selection is available in Source mode. Embedded notes and heading-anchor jumps are outside this milestone.

@github-actions github-actions Bot added level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json labels Nov 24, 2026
@frostyard-machines
frostyard-machines merged commit ee1d9fa into main Nov 24, 2026
10 checks passed
@frostyard-machines
frostyard-machines deleted the feat/nsgo-markdown-live-preview branch November 24, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants