Skip to content

feat(zbugs-gpui): search the user and label pickers - #164

Merged
tmm merged 1 commit into
mainfrom
zbugs-gpui-search-pickers
Nov 11, 2026
Merged

tmm merged 1 commit into
mainfrom
zbugs-gpui-search-pickers

Conversation

@tmm

@tmm tmm commented Nov 11, 2026

Copy link
Copy Markdown
Member

The web app's creator, assignee, and label pickers are comboboxes you can type into. zbugs-gpui showed plain scrolling menus. Now those five pickers (the Creator, Assignee, and Labels filters, and the issue's assignee and labels) open a popover with:

  • a focused search field, ranked by a port of zbugs' fuzzySearch (the start of a name counts most, then runs of characters; ties sort by name), with a unit test;
  • avatars beside users, as the web user picker shows;
  • ↑/↓ to move one highlight, which the pointer also moves, and Enter or a click to pick;
  • the label pickers staying open so you can toggle several labels, while a user pick or a clearing entry ("Anyone", "Any label") closes it;
  • Escape or a click outside to close.

The short pickers (project, notifications, visibility) keep their menus. The new code is src/picker.rs, inside the app. Choice moved there and gained an avatar.

Checked on macOS: typing ar in Creator ranks arv first, then cesara, darkgnotic, ingar, and jamischarles. Down then Enter filters to cesara. Typing pe in an issue's Labels and pressing Enter adds papercut and leaves the picker open. Clippy is clean with and without e2e, cargo test passes, and the end-to-end run passes online and offline.

The creator, assignee, and label filters and the issue's assignee and
labels open a list with a search field, as zbugs' comboboxes do: ranked
as its fuzzySearch, with avatars for users, arrow keys and Enter to pick,
and the label pickers stay open to pick several.

Co-authored-by: tmm <tmm@tmm.dev>
@tmm
tmm merged commit 52d0b63 into main Nov 11, 2026
16 checks passed
@tmm
tmm deleted the zbugs-gpui-search-pickers branch November 11, 2026 06:59
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