Skip to content

feat: add composable chat composer - #859

Merged
sean-brydon merged 19 commits into
mainfrom
codex/composer
Oct 12, 2026
Merged

sean-brydon merged 19 commits into
mainfrom
codex/composer

Conversation

@pasqualevitiello

@pasqualevitiello pasqualevitiello commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Keep editing, selection, history, and suggestion behavior in supporting hooks and libraries, with styled Composer parts for the UI.
  • Use the automatic bottom-drawer keyboard handling from fix(ui): handle bottom drawer keyboards automatically #861 for the mobile drawer example; no keyboardAware prop is required. Merge the standalone Drawer fix first.
  • Include eleven composer particles, a drawer example, API documentation, gallery illustrations, registry entries, and package copies.

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.

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
coss-com Ready Ready Preview Oct 12, 2026 6:46am UTC
coss-com-ui Ready Ready Preview Oct 12, 2026 6:46am UTC
coss-examples-calcom Ready Ready Preview Oct 12, 2026 6:46am UTC
1 Skipped Deployment
Project Deployment Actions Updated
coss-com-origin Skipped Skipped Oct 12, 2026 6:46am UTC

Request Review

@github-actions

Copy link
Copy Markdown

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:

No release type found in pull request title "Add composable chat composer and keyboard-aware drawer". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

@vercel
vercel Bot temporarily deployed to Preview – coss-com-origin October 11, 2026 10:26 Inactive
@pasqualevitiello pasqualevitiello changed the title Add composable chat composer and keyboard-aware drawer feat: add composable chat composer and keyboard-aware drawer Oct 11, 2026
Keep the drawer composer example alongside the keyboard docs and bold titles from main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sean-brydon
sean-brydon disabled auto-merge October 12, 2026 09:04
@sean-brydon
sean-brydon merged commit 6e01ad4 into main Oct 12, 2026
13 checks passed
@sean-brydon
sean-brydon deleted the codex/composer branch October 12, 2026 09:04
@linear-code

linear-code Bot commented Oct 12, 2026

Copy link
Copy Markdown

PRO-2509

This branch was successfully deployed

3 active and 1 inactive deployments
Preview – coss-com-ui — ec693f25 Deployed Oct 12, 2026 by vercel[bot]
Preview – coss-examples-calcom — ec693f25 Deployed Oct 12, 2026 by vercel[bot]
Preview – coss-com — ec693f25 Deployed Oct 12, 2026 by vercel[bot]
Preview – coss-com-origin — ec693f25 Deployed Oct 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants