Skip to content

feat(apollo-vertex): add Combobox component with multi-select#392

Open
alincadariu wants to merge 1 commit intomainfrom
alincadariu/add-vertex-combobox
Open

feat(apollo-vertex): add Combobox component with multi-select#392
alincadariu wants to merge 1 commit intomainfrom
alincadariu/add-vertex-combobox

Conversation

@alincadariu
Copy link
Collaborator

@alincadariu alincadariu commented Mar 24, 2026

combobox.mov

Summary

  • Adds a new Combobox registry component to apollo-vertex, built on existing Popover + Command (cmdk) primitives — no new npm dependencies
  • Supports both single-select and multi-select modes (with removable badge chips)
  • Type-safe discriminated union props: onValueChange returns string for single, string[] for multi
  • Includes documentation page (/shadcn-components/combobox) with live interactive examples
  • Adds dynamic templates (ComboboxSingleSelectTemplate, ComboboxMultiSelectTemplate) following the DataTableTemplate pattern
  • Registers component in registry.json with dependencies on badge, button, command, popover

Test plan

  • Run pnpm --filter apollo-vertex build — should pass
  • Run pnpm --filter apollo-vertex dev and navigate to /shadcn-components/combobox
  • Verify single-select: open dropdown, search, select item, check indicator shows
  • Verify multi-select: select multiple items, badges appear, remove via X button
  • Verify npx shadcn@latest add @uipath/combobox installs correctly from registry

🤖 Generated with Claude Code

@github-actions
Copy link

github-actions bot commented Mar 24, 2026

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

Project Deployment Review Updated (PT)
apollo-canvas 🟢 Ready Preview, Logs Mar 24, 2026, 07:13:57 AM
apollo-landing 🟢 Ready Preview, Logs Mar 24, 2026, 07:13:42 AM
apollo-ui-react 🟢 Ready Preview, Logs Mar 24, 2026, 07:13:54 AM
apollo-vertex 🟢 Ready Preview, Logs Mar 24, 2026, 07:14:39 AM
apollo-wind 🟢 Ready Preview, Logs Mar 24, 2026, 07:13:43 AM

@github-actions
Copy link

Dependency License Review

  • 1917 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 3 package(s) excluded (see details below)
License distribution
License Packages
MIT 1682
ISC 89
Apache-2.0 56
BSD-3-Clause 28
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 5
MIT OR Apache-2.0 3
MIT-0 3
CC0-1.0 3
LGPL-3.0-or-later 2
(MIT OR Apache-2.0) 2
Unlicense 2
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@img/sharp-libvips-linuxmusl-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

@alincadariu alincadariu force-pushed the alincadariu/add-vertex-combobox branch 6 times, most recently from a7a1056 to f1f6d6a Compare March 24, 2026 14:09
Adds a new Combobox registry component built on Popover + Command (cmdk),
supporting single and multi-select with badge chips. Includes documentation
page with live examples and dynamic templates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alincadariu alincadariu force-pushed the alincadariu/add-vertex-combobox branch from f1f6d6a to 6e2664c Compare March 24, 2026 14:12
@alincadariu alincadariu marked this pull request as ready for review March 24, 2026 14:12
@KokoMilev KokoMilev enabled auto-merge (rebase) March 24, 2026 14:12
@alincadariu alincadariu requested a review from a team March 24, 2026 14:12
className="w-[360px] h-auto min-h-9"
placeholder="Select frameworks..."
>
{values.length > 0 ? (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 How does this handle large selection e.g. around 10 values are selected, How the selection will be displayed,

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.

2 participants