Skip to content

feat: move note title and URL into the note body (Issue 83) - #84

Merged
thermcampos merged 1 commit into
mainfrom
feat/note-title-url-in-body
Sep 25, 2026
Merged

thermcampos merged 1 commit into
mainfrom
feat/note-title-url-in-body

Conversation

@thermcampos

Copy link
Copy Markdown
Owner

Closes #83

Summary

  • Note title is now the first line of the note body (leading # markers stripped) and the URL comes from an optional url: line before the tags: footer; the dedicated Title and URL inputs were removed from the add/edit note form.
  • Title, url: line, and tags footer are stripped from description on save and re-synthesized on load, so the API payload contract ({ title, description, url, tags }) is unchanged and nothing leaks into Home previews, shared notes, or the markdown preview.
  • Card title updates live per keystroke (with a new note_form_untitled fallback in all 4 locales), drafts are stored content-only with one-time migration of old-shaped drafts, and the helper text documents the title/url:/tags: lines.

bash tools/check-frontend.sh passes (lint, build, 147 tests).

💘 Generated with Crush

Derive the note title from the first line of the body and the URL from
an optional `url:` line, removing the dedicated Title and URL inputs.
The API payload contract is unchanged; the client parses and
re-synthesizes the document on load/save, migrates old-shaped drafts,
and updates the card title live per keystroke.

💘 Generated with Crush

Assisted-by: Crush:kimi-k3
@thermcampos
thermcampos merged commit 4190835 into main Sep 25, 2026
2 checks passed
@thermcampos
thermcampos deleted the feat/note-title-url-in-body branch September 25, 2026 13:15
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.

Move note title and URL from separate inputs into the note body (UI only)

1 participant