Skip to content

feat: add a / block menu to the page editor - #77

Merged
AmrMsCLL merged 1 commit into
mainfrom
feat/block-menu
Oct 8, 2026
Merged

AmrMsCLL merged 1 commit into
mainfrom
feat/block-menu

Conversation

@AmrMsCLL

@AmrMsCLL AmrMsCLL commented Oct 8, 2026

Copy link
Copy Markdown
Member

Step N1 from .claude/.Plans/as2026-10-07-strata-boards-and-notion-notes.md. Stacked on #76.

Typing / in a page opens a filtered block menu: text, heading, subheading, bulleted, numbered and check lists, quote, code block, divider, image (opens the file picker and uploads like a paste) and link to a page (starts an @ mention). Arrow keys and Enter pick, Escape closes, and the typed /query is removed when a block is chosen. It is built on @tiptap/suggestion, already installed; no new dependency. Callouts, toggles and tables join the menu once their extensions are approved.

The mention popup and the new menu now share one list component and one popup renderer, and the menu styles are renamed from mention-* to suggestion-*.

Checked in the browser on the local stack: /chec + Enter makes a checklist, and @Test still finds and links a board. Tests: new test/block-menu.spec.tsx (a real Tiptap editor), test/notes.spec.tsx.

@github-actions github-actions Bot added the size/l 201-600 changed lines, excluding lockfiles label Oct 8, 2026
Base automatically changed from feat/boards to main October 8, 2026 18:38
@AmrMsCLL
AmrMsCLL merged commit 00e71fd into main Oct 8, 2026
7 checks passed
@AmrMsCLL
AmrMsCLL deleted the feat/block-menu branch October 8, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/l 201-600 changed lines, excluding lockfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant