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
Keep "All projects" reachable in the sidebar project filter
#39851
When the sidebar is filtered to a project and you open the filter again, the list scrolls to that project. "All projects" is the first row, so if the selected project is further down, "All projects" is out of view. Clearing the filter, probably the most common thing you do in that menu, means scrolling up or typing in the search box.
This happens because the filter is a Base UI Combobox that scrolls its selected item into view when it opens. "All projects" is an ordinary first item in the same list (apps/web/src/components/Sidebar.tsx).
Proposal
Pin "All projects" as a fixed row between the search input and the scrolling list. It's always one click away, and opening the list still shows the current project in context.
This should be a small change: take "All projects" out of projectScopeItems and render it as its own row that calls setProjectScopeKeys([]) and closes the popup.
A clear (×) button on the filter trigger while a filter is active would also help, and would make an active filter easier to see (related: #37944).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Problem
When the sidebar is filtered to a project and you open the filter again, the list scrolls to that project. "All projects" is the first row, so if the selected project is further down, "All projects" is out of view. Clearing the filter, probably the most common thing you do in that menu, means scrolling up or typing in the search box.
This happens because the filter is a Base UI
Comboboxthat scrolls its selected item into view when it opens. "All projects" is an ordinary first item in the same list (apps/web/src/components/Sidebar.tsx).Proposal
Pin "All projects" as a fixed row between the search input and the scrolling list. It's always one click away, and opening the list still shows the current project in context.
This should be a small change: take "All projects" out of
projectScopeItemsand render it as its own row that callssetProjectScopeKeys([])and closes the popup.A clear (×) button on the filter trigger while a filter is active would also help, and would make an active filter easier to see (related: #37944).
🤖 Claude Opus 5.5
All reactions