Skip to content

Feature Request: Support independent/custom note titles #28

Description

@yifjfgup

Problem Statement

Currently, a note's title is strictly derived from the first line of its body
(Note.derivedTitle(from: body)), and any change to the body text
unconditionally overwrites the title.

This makes it difficult to assign custom, concise, or distinct titles to notes
without altering the actual body text formatting.

Proposed Solution

  1. Support Custom Title with Dynamic Fallback:
    • Allow setting an explicit custom title on a note.
    • If a custom title is set, body edits should preserve the custom title.
    • If the custom title is cleared (or empty), automatically fall back to the
      dynamic first-line derived title (and "New note" / note.untitled if
      empty).
  2. Inline Title Editing:
    • Replace the static title text in NoteEditorView's header with an inline
      TextField that supports debounced autosave.
    • Pressing Return confirms the title and focuses the text editor
      seamlessly.
    • Provide a context menu option ("Reset to Auto Title") to quickly revert
      back to the derived title.
  3. Library View Integration:
    • Allow editing note titles directly in the LibraryDetail pane.
    • Update search to match both title and body text.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions