Skip to content

polish(web): compose brief uses slash commands, not a markdown toolbar - #213

Merged
AlexsanderHamir merged 2 commits into
mainfrom
polish/compose-slash-commands
Aug 17, 2026
Merged

AlexsanderHamir merged 2 commits into
mainfrom
polish/compose-slash-commands

Conversation

@AlexsanderHamir

Copy link
Copy Markdown
Contributor

Summary

  • Compose v2 /tasks/new (and compose edit, which shares TaskComposeBriefCard) no longer presents a row of preset Markdown block buttons (H2/H3/list/code). Operators type / at the start of an empty block to open the existing rich-prompt slash menu.
  • Empty-state cursor copy is exactly Press / for commands (replacing 'Describe the full brief the agent starts from…'). File @ mentions are unchanged.

Scope

  • Added menuVariant='none' so the shared toolbar can keep word count without formatting buttons. Default text/icons toolbars on polish dialog and the modal prompt field are untouched.
  • Slash command list is the existing TipTap SlashMenu (Heading 2/3, lists, quote, mention a file, Ask AI) — not a second palette.

Verify

  • .\scripts\check-web.ps1 -Group test-task-components (254 passed)
  • .\scripts\check-web.ps1 -Group lint (brand + eslint + standards)
  • Also ran -Group test-components (163 passed) because the shared menu bar/editor tests changed.

Made with Cursor

AlexsanderHamir and others added 2 commits August 16, 2026 20:46
Slash commands already insert structure; compose needs a toolbar mode that keeps word count without H2/list/code buttons.

Co-authored-by: Cursor <cursoragent@cursor.com>
Operators type / to open the existing rich-prompt command list. Empty-state copy is Press `/` for commands.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AlexsanderHamir
AlexsanderHamir merged commit 49af8a3 into main Aug 17, 2026
1 of 10 checks passed
AlexsanderHamir added a commit that referenced this pull request Aug 17, 2026
…mands only (#216)

* fix(web): restore compose brief markdown icon toolbar

Co-authored-by: Cursor <cursoragent@cursor.com>

#213 hid formatting buttons; markdown belongs on the toolbar with the word count still on the right.

* fix(web): compose slash menu is product commands only

Markdown blocks stay available for other editors via slashMenu all. Compose / keeps Mention a file and Ask AI.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
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