Skip to content

feat: Adds Search for projects and threads#903

Open
Bashamega wants to merge 4 commits intopingdotgg:mainfrom
Bashamega:search
Open

feat: Adds Search for projects and threads#903
Bashamega wants to merge 4 commits intopingdotgg:mainfrom
Bashamega:search

Conversation

@Bashamega
Copy link
Contributor

@Bashamega Bashamega commented Mar 11, 2026

What Changed

I have added a search input that you can use to search both projects and threads.

Why

If you have a lot of threads, you might want to search which project/thread you want to use

UI Changes

Before:
image
After:
image

Screen.Recording.2026-03-11.at.12.18.06.PM.mov

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Add search to sidebar to filter projects and threads by name

  • Adds a search input at the top of the projects list in Sidebar.tsx that filters visible projects and threads by project name or thread title.
  • When a search is active, the thread preview limit (THREAD_PREVIEW_LIMIT) is bypassed so all matching threads are shown, and projects with no matches display 'No threads found'.
  • The empty state message changes to 'No projects or threads found' during an active search.
  • Behavioral Change: drag-and-drop sorting operates over the filtered project set when a search is active.

Macroscope summarized 3d6fd97.

@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

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

Run ID: 7c0995f4-7e87-4bb4-95d8-f1e114240b91

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

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

@github-actions github-actions bot added the vouch:unvouched PR author is not yet trusted in the VOUCHED list. label Mar 11, 2026
@Bashamega Bashamega changed the title feat: Adds Search to the sidebar feat: Adds Search for projects and threads Mar 11, 2026
@binbandit
Copy link
Contributor

binbandit commented Mar 11, 2026

This is cool, was thinking of adding something similar... i just feel like the UI / design of the search bar could be a little more minimal / aesthetic to go with the rest of the UI? Feels a little out of place?

We could address this with a command palette system too

@juliusmarminge what do you think?

@Bashamega
Copy link
Contributor Author

This is cool, was thinking of adding something similar... i just feel like the UI / design of the search bar could be a little more minimal / aesthetic to go with the rest of the UI? Feels a little out of place?

We could address this with a command palette system too

@juliusmarminge what do you think?

I can add the command palette too, but I think if we connect a command to it it is better to make it open in a pop-up, and for the sidebar, we can just add a trigger. I was also thinking of adding more filter options, but this PR would get big. If you are okay with adding filters, I can add them.

@Bashamega
Copy link
Contributor Author

I have redesigned the input box to be more similar to t3.chat. What do you think, @binbandit if it is better I will push it

Screen.Recording.2026-03-11.at.12.51.53.PM.mov

@maria-rcks
Copy link
Collaborator

yeah the ui is still rough, maybe hide it as opt in for people who really want it, but i'd leave ux / ui decissions to both julius / theo

@maria-rcks maria-rcks added enhancement New feature or request needs-julius labels Mar 12, 2026
@Bashamega
Copy link
Contributor Author

Thank you @maria-rcks
Should I start working on making it optional by adding a switch in the settings or wait for Julius?

@maria-rcks
Copy link
Collaborator

i'd say just wait for him

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request needs-julius vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants