fix(sidebar): portal the account menu so it stops covering chat history

↗ view on GitHub · sloth-ninja · 2026-08-13 · bb479ec9

The bottom profile block's dropdown was a hand-rolled `absolute
bottom-full z-50` box rendered in flow above its trigger, so it painted
over the last visible Assistant History rows (pilot feedback 13/08).

Swap it for the shared Radix wrapper already used one file away in
SidebarChatItem: portal-mounted, collision-aware, with native dismiss on
outside click and Escape. Positioned side="top" align="start"; the
existing glass styling is passed through to DropdownMenuContent, and both
sidebar states are preserved - expanded matches the trigger width (via
--radix-dropdown-menu-trigger-width, the house pattern from
account/models and TREditColumnMenu), collapsed stays w-56.

Net deletion: the isDropdownOpen state and the manual document
click-outside listener are gone; the trigger's open highlight now comes
from data-[state=open].

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Repository Sloth-ninja/JessicaOSS
Author sloth-ninja <ezanahaddis@gmail.com>
Authored
Committed
Parents e07984c4
Stats 1 file changed , +69 , -65
Part of Pilot-feedback fixes: firm UI, connector registry, and legacy writes

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-bb479ec9.md from inside the repo you want the change in.

⬇ Download capture-commit-bb479ec9.md