Skip to content

Fix sidebar v2 thread control overlap#4553

Open
AadiJo wants to merge 2 commits into
pingdotgg:mainfrom
AadiJo:sidebar-settle-snooze-fade
Open

Fix sidebar v2 thread control overlap#4553
AadiJo wants to merge 2 commits into
pingdotgg:mainfrom
AadiJo:sidebar-settle-snooze-fade

Conversation

@AadiJo

@AadiJo AadiJo commented Jul 26, 2026

Copy link
Copy Markdown

What Changed

Updated the sidebar v2 thread lifecycle controls so the Snooze and Settle actions render
over an opaque, row-matched surface with a subtle left-edge fade and shadow.

This prevents long project names from remaining visible underneath the controls when a
thread row is hovered or keyboard-focused.

Why

Long project names could overlap the Snooze and Settle controls, making both the project
name and actions difficult to read.

The existing dark-mode row colors are translucent, so simply reusing those colors did not
fully obscure the text beneath the controls. This change composites the dark row color
against the sidebar background to produce the same appearance with full opacity.

UI Changes

Before

The project name remains visible underneath the lifecycle controls.

sidebar-controls-before

After

The project name fades beneath an opaque surface before reaching the Snooze and Settle
controls.

sidebar-controls-after

Validation

  • Ran the web package TypeScript check
  • Ran targeted formatting and lint checks for SidebarV2.tsx
  • Verified the behavior with a synthetic long project name in an isolated web environment
  • Confirmed the control surface is fully opaque in dark mode
  • Confirmed there were no browser console warnings or errors

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for the UI change
  • A video is not applicable; this is a static hover/focus treatment

Note

Low Risk
CSS-only styling in SidebarV2.tsx with no logic or API changes.

Overview
Fixes long project names bleeding through Snooze/Settle on sidebar v2 card rows when the row is hovered or keyboard-focused.

The absolute action strip now gets stacking (z-10, isolate), a left gradient fade (before pseudo-element), a light shadow, and row-matched opaque backgrounds that follow active, selected, or hover state. In dark mode, color-mix composites the translucent row tokens against the sidebar so the control area fully covers underlying text without changing settle/snooze behavior.

Reviewed by Cursor Bugbot for commit 0d0996c. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Fix action button overlap in SidebarV2 thread rows

Updates the action-controls container in SidebarV2Row to prevent thread control buttons from overlapping row content. Adds a gradient backdrop, z-index layering, padding, rounding, and a shadow to the button container, with conditional background colors for active, selected, and hover states (including dark mode via color-mix).

Macroscope summarized 0d0996c.

@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

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: 328e7f56-835a-4e4b-bbeb-3995f097f0e4

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

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.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Jul 26, 2026
@AadiJo AadiJo changed the title Improve sidebar v2 thread control overlap Fix sidebar v2 thread control overlap Jul 26, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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 1 potential issue.

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 6cc9ada. Configure here.

Comment thread apps/web/src/components/SidebarV2.tsx Outdated
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jul 26, 2026
@macroscopeapp

macroscopeapp Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

Pure CSS styling changes to fix visual overlap - adds z-index, stacking context, shadows, and background colors. No logic or runtime behavior changes.

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

@macroscopeapp
macroscopeapp Bot dismissed their stale review July 26, 2026 04:39

Dismissing prior approval to re-evaluate 0d0996c

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

Labels

size:XS 0-9 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