Skip to content

feat(web): enhance sidebar thread interaction with new row button and context menu options#1172

Draft
SunkenInTime wants to merge 2 commits intopingdotgg:mainfrom
SunkenInTime:main
Draft

feat(web): enhance sidebar thread interaction with new row button and context menu options#1172
SunkenInTime wants to merge 2 commits intopingdotgg:mainfrom
SunkenInTime:main

Conversation

@SunkenInTime
Copy link

@SunkenInTime SunkenInTime commented Mar 17, 2026

What Changed

Why

Currently whenever you minimize a folder that you're currently viewing a thread within, the thread isn't visible in the side bar. So the change is to persist the current thread right below the minimized folder, which then disappears once navigated away from

UI Changes

Before:
https://l7y6qjyp5m.ufs.sh/f/usun6XPoM0UCUsMcBu84th6DKGW5HSvxpy8cINPrY4sV0bq9
After:
https://l7y6qjyp5m.ufs.sh/f/usun6XPoM0UCUnh8xr4th6DKGW5HSvxpy8cINPrY4sV0bq9l

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

Auto-expand and center active thread in sidebar thread list

  • The sidebar thread list now auto-expands when the active thread falls beyond the preview limit, and splits the visible list to render the active thread in context (threads above, active row, threads below).
  • 'Show more'/'Show less' controls are only shown when manual expansion is applicable (hidden when auto-expansion is forced).
  • Thread row rendering is extracted into helper functions (renderThreadRowButton, renderThreadListItem, renderThreadListToggleButton) in Sidebar.tsx.
  • Behavioral Change: The data-thread-item attribute moves from the list item container to the inner clickable button element.

Macroscope summarized 46aa3d3.

@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 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: 23f27887-b0f3-4163-92ad-07e79f27be2d

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
📝 Coding Plan
  • Generate coding plan for human review comments

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.

Tip

CodeRabbit can suggest fixes for GitHub Check annotations.

Configure the reviews.tools.github-checks setting to adjust the time to wait for GitHub Checks to complete.

@github-actions github-actions bot added size:L 100-499 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). 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.

1 participant