Skip to content

feat: publish popover and command - #22

Merged
zyx1121 merged 1 commit into
mainfrom
feat/popover-command
Oct 7, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
feat/popover-command

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 7, 2026

Copy link
Copy Markdown
Member

Summary

Portal builds 5 comboboxes from Popover + Command (attendee, presenter, paper, applicant, member pickers). It uses PopoverTrigger / PopoverContent and Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem; nothing else.

  • popover: frosted glass like the other overlays, p-1 + rounded-menu (20px) around 16px controls, align="start" by default. w-(--anchor-width) makes a combobox as wide as its trigger.
  • command: 40px search field and items with rounded-control, text-body, check on data-checked. No own surface. Dropped CommandDialog, CommandShortcut, CommandSeparator and the input-group dependency.
  • Site: an attendee combobox in the form.

Test plan

  • Sandbox: all checks, compose healthy
  • Chromium: popover 624px = trigger; radii 20 / 16 / 16; focus lands in the search field; typing "ca" leaves "Carol Wu"; Enter selects it; no console errors
  • CI green

🤖 Generated with Claude Code

- popover: frosted layer-2 menu surface, p-1 and rounded-menu around
  control-radius content; aligns to the trigger's start
- command: search field, list, empty state, group and items in
  text-body with rounded-control; no surface of its own, no shortcut,
  separator or command dialog (portal uses none of them)
- the site shows a member combobox built from both

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 56248c6 into main Oct 7, 2026
2 checks passed
@zyx1121
zyx1121 deleted the feat/popover-command branch October 7, 2026 06:49
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