Repository navigation
feat: add composable chat composer - #859
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details: |
Keep the drawer composer example alongside the keyboard docs and bold titles from main. Co-authored-by: Cursor <cursoragent@cursor.com>
pasqualevitiello
marked this pull request as ready for review
October 12, 2026 08:03
pasqualevitiello
enabled auto-merge (squash)
October 12, 2026 08:22
sean-brydon
approved these changes
Oct 12, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a reusable Composer for chat and AI assistant interfaces, with a contenteditable input or a native textarea through the same compositional API. It supports configurable mention and slash triggers, custom token rendering, async suggestions, submission controls, responsive row limits, and an adaptive layout that moves actions below multiline drafts.
keyboardAwareprop is required. Merge the standalone Drawer fix first.Validation
UI TypeScript checks, focused Biome checks, registry dependency validation and generation, desktop browser interaction checks, a responsive layout matrix, and portrait iPhone simulator checks were completed during implementation. No automated test suites were run in the recent implementation passes.
Remaining validation
Keep this PR in draft pending the mobile overlay audit. An iOS simulator check reproduced a landscape issue when rotating a drawer with the keyboard open: the remaining viewport can collapse the composer and clip its input. Physical-device coverage, Android, VoiceOver, IME/dictation/autocorrect, and comprehensive clipboard/history checks remain outstanding.