Skip to content

Show hidden thread status in sidebar#1517

Merged
juliusmarminge merged 2 commits intomainfrom
feature/sidebar-hidden-thread-status
Mar 29, 2026
Merged

Show hidden thread status in sidebar#1517
juliusmarminge merged 2 commits intomainfrom
feature/sidebar-hidden-thread-status

Conversation

@juliusmarminge
Copy link
Copy Markdown
Member

@juliusmarminge juliusmarminge commented Mar 29, 2026

I was surprised when I clicked a project which had a indicator but then couldn't see what thread, turned out it was under the 'Show more' fold. This makes that more discoverable:

CleanShot.2026-03-28.at.23.25.27.mp4

What Changed

Why

UI Changes

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

Show aggregate status of hidden threads on the sidebar 'Show more' button

  • Extends getVisibleThreadsForProject in Sidebar.logic.ts to return a hiddenThreads array alongside visibleThreads.
  • Adds a new ThreadStatusLabel component in Sidebar.tsx that renders a status pill in compact (dot) or full (dot + label) form, used for both thread rows and the new hidden-thread indicator.
  • Displays a compact status dot next to the 'Show more' button reflecting the aggregate status of all hidden threads, computed via resolveProjectStatusIndicator.
  • Refactors per-thread status computation in the sidebar to build a single Map once and reuse it across thread rows and project-level aggregation.

Macroscope summarized d21cd8f.


Note

Low Risk
Low risk UI/UX change that only affects sidebar thread rendering and a local helper’s return shape; no auth, persistence, or network behavior changes.

Overview
Makes hidden thread activity more discoverable in the sidebar by surfacing an aggregated status indicator on the collapsed project thread list’s “Show more” row.

getVisibleThreadsForProject now also returns hiddenThreads, and the sidebar reuses precomputed per-thread status pills (via a Map) to compute both the project-level indicator and a new hidden-threads indicator. A small ThreadStatusLabel component centralizes status-pill rendering (including a compact dot-only variant), and tests were updated to assert correct hiddenThreads output.

Written by Cursor Bugbot for commit d21cd8f. This will update automatically on new commits. Configure here.

- Track hidden threads in sidebar thread grouping
- Reuse thread status pills for visible and collapsed threads
- Cover hidden-thread visibility in logic tests
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 29, 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: 8c9f1283-800c-47d8-9f41-f20fbdf66dc4

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
  • Commit unit tests in branch feature/sidebar-hidden-thread-status

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

@github-actions github-actions bot added size:M 30-99 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 29, 2026
- Render the hidden-thread status as a compact icon in the sidebar
- Keep the status accessible with label text and tooltip
@juliusmarminge juliusmarminge marked this pull request as ready for review March 29, 2026 18:28
@juliusmarminge juliusmarminge merged commit d5f2333 into main Mar 29, 2026
16 checks passed
@juliusmarminge juliusmarminge deleted the feature/sidebar-hidden-thread-status branch March 29, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant