fix(web): align the sidebar Search bubble with the chat overflow bubble - #7853
omni-resolve-agent[bot] wants to merge 1 commit into
Conversation
With the phone-width drawer open, the sidebar's round Search button and the chat header's round overflow button read as one row of paired top-right controls, but their centers sat 4px apart on thin web (h-12 sidebar header row vs h-14 mobile chat header) and 4px apart in the opposite direction on native shells (the drawer was padded by the full safe-area top inset while the chat header sits at safe-top - 0.5rem). Match the sidebar header row to the mobile chat header height below md, and give the phone-width native drawer the chat header's safe-top - 0.5rem offset, so the bubbles share a centerline on both surfaces. Resolves OMNI-9122 (Linear).
|
UI Preview for this PR has been removed. |
|
|
@omni-resolve-agent[bot] This PR checks UI / frontend change, but the Demo section has no screenshot or recording. UI / frontend changes require visual evidence so reviewers can see the new behaviour without checking out the branch. Please update the Demo section with:
If this PR has no visual surface, uncheck UI / frontend change and provide non-visual evidence in the Test Plan. |
Related issue
Resolves OMNI-9122
Summary
On phones, the sidebar Search button sat above or below the chat menu button, depending on whether the app ran in a browser or a native shell.
The sidebar now uses the chat header's height and safe-area offset so the two buttons line up.
Test Plan
tests/e2e_ui/mobile/test_sidebar_bubble_alignment.pycovers both narrow web and simulated iOS-shell layouts.Manual check to perform: On a narrow browser window and an iPhone, open the sidebar and compare the vertical centers of its Search button and the chat menu button.
Original verification run
Resolve workflow
Demo
Before/after recordings from the original resolve-agent update:
These recordings use the browser stand-in described in Coverage notes; they are not native iOS verification.
Type of change
Test coverage
Coverage notes
The iOS case used desktop Chromium at 390×844 with an injected native bridge and a 59px safe-area override. It was not verified on a real iOS device or WebKit.
Changelog
The sidebar Search button now lines up with the chat menu button on narrow screens.