fix: show empty project thread state in sidebar#1546
Merged
juliusmarminge merged 3 commits intopingdotgg:mainfrom Mar 29, 2026
Merged
fix: show empty project thread state in sidebar#1546juliusmarminge merged 3 commits intopingdotgg:mainfrom
juliusmarminge merged 3 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
- Replace the non-interactive thread placeholder button with a plain div - Keep the empty-state label visible without button affordances
8 tasks
Chrono-byte
pushed a commit
to Chrono-byte/t3code
that referenced
this pull request
Mar 31, 2026
xddinside
pushed a commit
to xddinside/t3code
that referenced
this pull request
Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #358
What Changed
This PR adds an explicit empty state in the sidebar for projects that do not have any threads yet.
When a project is expanded and its thread list is empty, the sidebar now shows a row styled consistently with the existing thread-list controls, using the text
No threads yet.Why
Issue
#358asked for an explicit empty state in the sidebar.Before this change, an empty project thread list looked blank, which made the UI feel incomplete and ambiguous. This keeps the behavior minimal and focused: it does not add any new interaction, only a clear visual indication that the project currently has no threads.
UI Changes
Before:

After:

Checklist
Note
Low Risk
Low risk UI-only change that adds a placeholder row when an expanded project has zero threads; minimal logic added and covered by a browser test.
Overview
Shows an explicit empty thread list placeholder in the sidebar: when a project is expanded and has no threads, the thread panel now renders a styled row labeled
No threads yetinstead of appearing blank.Adds a browser regression test in
ChatView.browser.tsxasserting the empty-state text appears for a project snapshot with no threads.Written by Cursor Bugbot for commit 1bef412. This will update automatically on new commits. Configure here.
Note
Show 'No threads yet' placeholder in sidebar when a project has no threads
Adds a
showEmptyThreadStateflag in Sidebar.tsx that is true when a project is expanded and has zero threads. When the thread panel is visible and this flag is set, aSidebarMenuSubItemwith the label 'No threads yet' is rendered. A browser test in ChatView.browser.tsx verifies the empty state message appears for a draft-only snapshot.Macroscope summarized 1bef412.