Lawrence Chen
8a3ab6b3f0
Fix command palette focus after terminal find ( #2089 )
...
* test: cover command palette focus guard
* fix: block terminal find from stealing palette focus
* test: cover text view focus-stealer fallback
* Add regression for hidden DevTools sync republish loop
* Avoid redundant DevTools visibility publishes
* test: cover browser find focus after workspace round-trip
* fix: restore browser find focus after workspace round-trip
* fix: keep browser find caret on workspace return
* Add workspace round-trip split find regressions
* Keep inactive find overlays from stealing focus
---------
Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-25 17:27:54 -07:00
Lawrence Chen
a592ed126a
Add failing regression test for browser find focus ( #1891 )
...
* test: add browser find focus regression
* ci: run browser find focus regression on prs
* ci: merge pr ui regressions into one job
* fix: focus browser find after navigation
* test: rename ui regressions workflow guard
* Fix browser find focus after address bar navigation
* Fix test-e2e workflow manifest script
* Address PR review feedback
* Stabilize browser focus regression on CI
---------
Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-20 22:12:26 -07:00
Lawrence Chen
ec10dfdaec
Add browser find focus debug logs ( #1162 )
...
* Add browser find focus debug logs
* Allow browser find bar focus in portal host
* Add split and terminal find debug logs
* Avoid stealing search focus across splits
* Generalize panel focus restore intent
* Unify split focus intent activation
* Address focus restore review feedback
* Yield inactive panel focus before restore
* Gate browser find focus retries by generation
* Avoid repeated browser focus invalidation
* Keep browser find ownership while find bar is open
2026-03-10 19:31:52 -07:00
austinpower1258
9e8a401e3c
Fix tooltip tracking lifetime and shortcut lag
2026-03-07 01:46:02 -08:00
Lawrence Chen
e49e572505
Fix browser Cmd+F overlay clipping in portal mode ( #916 )
...
* Fix browser Cmd+F overlay clipping in portal mode
* Fix browser Cmd+F panel update regression
* Fix browser find overlay lifecycle and focus
* Extract regression test helpers for browser find guards
* Restore new-tab Cmd+F overlay and harden test helper
* Fix browser Cmd+F focus handoff race
* Fix browser Cmd+F focus loss across page load
* Address review feedback on browser find focus guards
* Add Cmd+F pane-switch regression UI tests
* Run Cmd+F pane-switch regressions from existing UI suite
* Restore browser find focus on pane refocus
* Stabilize Cmd+F pane-switch regressions with focus-state recorder
* Make autofocus race UI test wait on deterministic page signal
* Fix cmuxTests WebViewRepresentable init after browser search state param
2026-03-05 15:36:47 -08:00
Yoshiki Agatsuma
76bdf7631a
Add find-in-page (Cmd+F) for browser panels ( #837 ) ( #875 )
...
JavaScript-based find using TreeWalker + <mark> highlights with
match counter, next/previous navigation, and drag-to-corner overlay
matching the existing terminal find bar.
- BrowserFindJavaScript: JS generation for search/next/prev/clear
- BrowserSearchOverlay: SwiftUI overlay with IME-safe onSubmit
- BrowserSearchState: Observable state (needle/selected/total)
- TabManager routing: Cmd+F/G dispatches to browser when focused
- Visibility filter: skips script/style/hidden/aria-hidden elements
- Stale DOM guard: isConnected check in next/previous scripts
- Navigation cleanup: clears find on didFinish and didFailNavigation
Co-authored-by: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com>
2026-03-04 16:15:15 -08:00