Skip to content

feat(app): replace add memory dialog with full-screen TipTap editor - #56

Merged
comppaz merged 1 commit into
mainfrom
feat/note-editor
Dec 18, 2025
Merged

feat(app): replace add memory dialog with full-screen TipTap editor#56
comppaz merged 1 commit into
mainfrom
feat/note-editor

Conversation

@comppaz

@comppaz comppaz commented Dec 18, 2025

Copy link
Copy Markdown
Collaborator

Summary

Replace the modal-based AddMemoryDialog with a full-screen TipTap-powered note editor for a better writing experience.

Changes

New Components (src/components/editor/)

  • NoteEditor.tsx - Main full-screen editor component
  • EditorContent.tsx - TipTap wrapper with content sync
  • EditorToolbar.tsx - Formatting toolbar (bold, italic, headings, lists, blockquote, code)
  • EditorActionBar.tsx - Bottom action bar with save/discard and word count
  • useSave.ts - Save state management hook

Removed

  • AddMemoryDialog.tsx - Replaced by NoteEditor

Modified

  • MemoryDetailPanel.tsx - Add onOpenEditor prop for notes
  • MemoriesPage.tsx - Use NoteEditor instead of dialog
  • HomePage.tsx - "Add Memory" → "Add Note"
  • index.css - TipTap prose styling
  • design-tokens.ts - Editor design tokens

Backend

  • migrations.py - Migration 015: Handle FTS5 unavailability gracefully

Dependencies Added

  • @tiptap/extension-placeholder
  • @tiptap/pm
  • @tiptap/react
  • @tiptap/starter-kit

Closes #55

- Add new TipTap-based NoteEditor component with formatting toolbar
- Add EditorContent, EditorToolbar, EditorActionBar components
- Add useSave hook for save state management
- Remove AddMemoryDialog in favor of full-screen editing
- Update MemoryDetailPanel to open editor for notes
- Add TipTap prose styling and editor design tokens
- Add FTS5 graceful fallback migration

Closes #55
@comppaz
comppaz merged commit 99257a9 into main Dec 18, 2025
1 check passed
@comppaz
comppaz deleted the feat/note-editor branch December 18, 2025 17:29
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.

feat(app): replace add memory dialog with full-screen TipTap editor

1 participant