fix(desktop-browser): keep the chat caret while the agent works and route reload/back to the browser tab - #8429
Conversation
…oute reload/back to the browser tab
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
There was a problem hiding this comment.
All reported issues were addressed across 13 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
focusOnNavigation: false(fresh views and page-opened popups), and a hidden or not-yet-listed tab that Chromium focuses anyway (atarget=_blanklink opened without an opener) hands focus back to SimsetPanelFocused(false)keeps a claim the native page still holds)Type of Change
Testing
apps/desktop/e2e/browser-focus.spec.ts(Playwright_electron, writes a JSON check report toDESKTOP_BROWSER_FOCUS_REPORT_PATH): composer keeps the caret across agent open/navigate/open-tab and atarget=_blankpopup; omnibox navigation focuses the page; reload keys reload only the page; the page keeps its claim after chrome blur; Back/Forward move tab history; New Tab works from renderer chrome. Fails on staging at the first check, passes on this branch (3/3 repeats)browser-toolse2e: no new failures vs staging (the viewport-screenshot test is flaky on both)vitestdesktop (875) and sim browser/resource suites (200), type-check both apps,bun run lint,check-block-registry,bun run check:audits,docs-manifest:checkChecklist
test-auditauthoring gate)