Skip to content

Split note editor into hybrid document form - #87

Merged
thermcampos merged 1 commit into
mainfrom
feat/hybrid-note-form
Sep 25, 2026
Merged

thermcampos merged 1 commit into
mainfrom
feat/hybrid-note-form

Conversation

@thermcampos

Copy link
Copy Markdown
Owner

Summary

First step of the live markdown editor feature (spec ai/specs/003-live-markdown-editor.md); this PR contains no editor library yet, only the form restructure it depends on.

  • Replaces the in-text title / url: / tags: line syntax with dedicated label-less fields: a heading-styled title input (Enter focuses the body), the body textarea, and URL + tag inputs below, laid out to read as a single document
  • Tag entry moves to a chip input with the existing autocomplete dropdown, matching the task form's pattern; a pending half-typed tag is committed on save
  • Draft autosave now covers all fields and migrates both legacy localStorage draft shapes once, so no user loses an in-progress note
  • Deletes the superseded markdown toolbar spec (002)

Notes

  • API payload and backend are unchanged; no data migration needed
  • The "Preview Markdown" link stays for now and is removed in the follow-up PR that introduces the Milkdown live editor
  • Verified with the frontend quality gate: lint, build, and 147/147 tests pass

💘 Generated with Crush

Turn the note editor into dedicated title, URL, and tags fields arranged
to read as one document, replacing the in-text title/url/tags line syntax.
This prepares the editor for a live markdown body (spec 003) without any
API or storage changes, and migrates existing localStorage drafts to the
new field-based shape. The markdown toolbar spec (002) is superseded and
removed.

💘 Generated with Crush

Assisted-by: Crush:kimi-k3
@thermcampos thermcampos self-assigned this Sep 25, 2026
@thermcampos
thermcampos merged commit 55e6cd3 into main Sep 25, 2026
2 checks passed
@thermcampos
thermcampos deleted the feat/hybrid-note-form branch September 25, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant