You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Project picker jump shortcuts keep their unfiltered numbers after typing #31153
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Have more than a few projects.
Press ⌘N (or open "New thread in..." in the command palette) to open the project picker.
Type a letter, such as s.
Expected behavior
The jump shortcuts follow the rows as they are shown: the first result is ⌘1, the second ⌘2, and so on.
Actual behavior
Each row keeps the number it had before filtering. With s typed, the three remaining rows show ⌘8, ⌘6, ⌘9, in that order. Projects past the ninth row have no number at all, even when they are the only match. Pressing ⌘1 does nothing when the row that had ⌘1 is filtered out.
The numbers are assigned from the unfiltered opening order, but the filter then re-ranks rows by match quality without renumbering them (enumerateCommandPaletteItems in CommandPalette.tsx, before filterCommandPaletteGroups runs).
Activity