Repository navigation
fix(chat): Keep Find clear of pane menus - #1035
polaroidkidd wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Summary
Merge Risk: ⚪ Minimal · up to
|
Carries devswha#1035 by @polaroidkidd onto current main: the org fork (dle-labs) does not accept maintainer pushes, so the branch could not be updated in place. Their commit is kept as written, with them as author. ## Change (from devswha#1035) Chat Find no longer sits under a pane's menu button: the Find field is placed clear of the pane menu on desktop (comfortable and compact density) and of the phone header. ## Added here - Merged current main: kept main's pointer/focus visibility rules in `src/components/PaneCanvas.css` (since devswha#1101 the desktop pane menu shows only on keyboard focus) and added the PR's spacing. - The Find placement check now reveals the pane menu by keyboard focus instead of hover, keeping its placement assertions. ## Validation - The regression fails on main (Find overlaps the keyboard-revealed menu) and passes with this branch; `bun run typecheck` passes. Closes devswha#1035 when merged. --------- Co-authored-by: Daniel Einars <[email protected]>
Change
The Find in messages button occupied the same top-right corner as the floating three-dot pane menu. Reserve space beside the menu in desktop single-pane chat views, and keep Find below the glass header on phones. Layouts that put pane actions in the tab strip retain the normal horizontal inset.
Add browser regression coverage for non-overlapping controls and opening both menus at comfortable/compact density, plus phone placement and search interaction. Include a changelog fragment.
Validation
Verified on the clean branch based on upstream
main:bun run typecheck— passed.HERDR_TEST_MODE=unit bun test ./src/conventions.test.ts ./scripts/changelog-fold.test.ts— 18 passed.bun scripts/narrow-pane-demo-regression.ts— passed, including desktop and phone Find placement checks.git diff --check upstream/main...HEAD— passed.Full integration/browser suites were not run. No HTTP/WS contracts changed.