Repository navigation
feat(chat): add portable layouts, choices, tasks, and feedback - #457
maxffarrell wants to merge 3 commits into
Conversation
|
@maxffarrell is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
|
Reworked this around Chat SDK's shared card model in 06e73ac. The separate Slack catalog and native posting path have been removed. Selects, radios, inline links, feedback buttons, task snapshots, and grouped layouts now use the existing The native layout enhancement is proposed upstream in vercel/chat#1126. Released adapters stack the layout groups today; no unreleased SDK dependency is required here. The SDK proposal adds native layouts where supported and preserves existing vertical behavior elsewhere, with fallback coverage across 15 additional adapter packages. Validation passed: 31 chat tests against both released and proposed SDK adapters, composed Slack/Teams/Google Chat payload checks, the workspace type check, package/docs builds, and 124 docs route/parity checks. The SDK proposal also passed its complete |
The chat catalog currently omits portable Chat SDK controls such as selects and radio groups, and cannot express grouped layouts, task snapshots, or response feedback.
Extends the existing shared catalog and
toCard/streamCardAPIs withSelect,RadioSelect,Link,Columns,Carousel,TaskList,Task, andFeedback. All components produce portable Chat SDK elements and usethread.post(); there is no separate Slack catalog or native-payload posting path.<id>:positive/<id>:negativeaction IDs and matching values.Updates the package README, API docs, skill, and affected documentation baseline. Platform-specific interaction support still applies: for example, Discord select controls require Components V2, and Teams follows its card submission flow.
Validation:
pnpm type-check: 64 tasks passedThe SDK contribution separately passed its full
pnpm validatepipeline, including 8,774 tests across 28 test packages and fallback coverage across 15 additional adapter packages. No live provider API calls were made.