GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(web): make the sidebar project filter a searchable combobox by SunkenInTime · Pull Request #5925 · pingdotgg/t3code

Conversation

@SunkenInTime

@SunkenInTime SunkenInTime commented Aug 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Note

Reworked after #5923 removed the standalone projects settings page. Per the suggestion, the sidebar's "All projects" filter is now a combobox with search — the previous revision of this PR (search on the settings project list) no longer applies.

What

Converts the sidebar's project filter dropdown from a plain Menu into the existing Combobox primitive, adding a search field that filters projects by name as you type.

  • Same trigger, same rows (favicon, name, per-project settings gear) — the only visual addition is the search input at the top of the popup.
  • Typing filters by project display name; Enter picks the highlighted match; Escape closes; the query resets on close.
  • "All projects" behaves like the diff panel's "Automatic" row: it's a scope reset, not a searchable entry, so it only shows while the query is empty.
  • "No matching projects." shows for a query with no hits.

Follows the established combobox-with-search composition from DiffPanel's base-ref picker and FontFamilyPicker.

Why

With many projects the scope dropdown is a long scan-and-scroll list. A type-to-filter combobox makes switching scope O(keystrokes), and was the suggested direction after the projects settings page (where this PR originally added search) was replaced by contextual project routes in #5923.

Before / After

Before After
Project filter dropdown without search Project filter combobox with search input

Filtering:

Typing "chess" filters the list to chess-engine

Testing

  • pnpm typecheck and pnpm lint pass.
  • Verified in a local dev environment seeded with 8 projects (driven via Playwright): typing filters the list, Enter selects the match and scopes the thread list (trigger shows the picked project), Escape closes, the query resets on reopen, "All projects" restores the unscoped view, the no-match empty state renders, and the per-project settings gear still routes to /projects/$projectKey.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@SunkenInTime
feat(web): add search to the project settings list
4c725c4
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4adb42c4-1cce-48d0-b9d8-b4093bdec753

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Aug 10, 2026
cursor[bot]
cursor Bot reviewed Aug 10, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4c725c4. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/settings/ProjectSettingsPanel.tsx
if (event.key === "Enter") {
const first = visibleGroups[0];
if (first) selectProject(first.projectKey);
}

@cursor cursor Bot Aug 10, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Enter selects without active filter

Medium Severity

Enter always selects visibleGroups[0], and with an empty or whitespace-only query that list is the full unfiltered set. Focusing the search field and pressing Enter therefore navigates to the first project even when the user is not filtering, which can replace the current selection unexpectedly. The settings sidebar search avoids this by treating an empty query as no results.

Additional Locations (1)
  • apps/web/src/components/settings/ProjectSettingsPanel.tsx#L146-L148
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4c725c4. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/settings/ProjectSettingsPanel.tsx
event.preventDefault();
event.stopPropagation();
setSearchQuery("");
return;

@cursor cursor Bot Aug 10, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Escape treats whitespace as filtering

Low Severity

Escape interception keys off searchQuery.length > 0, while filtering uses the trimmed normalizedQuery. With a whitespace-only value the list is unfiltered, but Escape still clears the field and blocks the global settings close shortcut. The nearby comment says Escape is only intercepted while filtering, and the settings sidebar uses trim for the same gate.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4c725c4. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@macroscopeapp

macroscopeapp Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs human review

Adds new search functionality with keyboard navigation to the project settings panel. Unresolved review comments identify a usability issue where Enter selects the first project even without an active filter, which could cause unexpected navigation.

You can customize Macroscope's approvability policy. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@SunkenInTime SunkenInTime closed this Aug 10, 2026
@SunkenInTime SunkenInTime changed the title feat(web): add search to the project settings list feat(web): make the sidebar project filter a searchable combobox Aug 10, 2026
@SunkenInTime SunkenInTime mentioned this pull request Aug 10, 2026
feat(web): make the sidebar project filter a searchable combobox #5931
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@SunkenInTime
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.