G
YouTube TikTok Games
Skip to content

fix: return focus after dismissing Code Review state panels - #524

Open
BunsDev wants to merge 2 commits into
mainfrom
cr-state-panel-focus
Open

BunsDev wants to merge 2 commits into
mainfrom
cr-state-panel-focus

Conversation

@BunsDev

@BunsDev BunsDev commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Dismissing a Code Review state-change preview with Close or Back left keyboard focus on the document body; scoped Escape left it open. Reuse the pane-local header close handler so Close, Back and Escape return focus to the originating Overview or Changes state button. Main retains the existing preview-bound confirmation authority, and dismissal performs no mutation or provider start.

Six new state-panel regressions failed before the repair. Eight split-pane Electron cases now cover Close/Back/Escape in both panes plus the preserved Review/Merge controls, with no synthetic writes or provider turns. The scoped source review found no remaining Critical or Important issue. Coverage is dismissal before a confirmed write starts; human accessibility and named-disposable-repository live-write acceptance remain open.

Final signed ff353c0c0900ee4090985f897ba4e44e65c55d7f passed fresh full build/typechecking, eight focus E2E cases, eight site cases and four web cases, with no retries and unchanged source hashes. Its only changes after reviewed signed 0f96bd4 are two documentation files; all application, test and configuration inputs remain byte-identical to the full unit run with 2,588 passed and 36 skipped. Both branch commits have verified approved source signatures.

The retained broad local E2E run at 0f96bd4 failed: 539 passed, 17 skipped and one window-position relaunch assertion; site/web did not run in that invocation. Separate observations recorded valid saved/planned bounds followed by native movement into the assigned display. A private same-code host passed two unchanged persistence controls, but a later read found it assigned to the same macOS Desktop too; assignment provenance is unknown. First failures and traces remain retained, OS preferences and assertions were unchanged, and no complete local E2E or product persistence repair is claimed. Fresh complete hosted source CI and protected merge-queue checks remain required.

This advances #322, #326 and #327 without changing their acceptance checkboxes or activation decision. See the repair receipt for failure evidence, review scope and remaining gates.

Return Close, Back and scoped Escape to the originating state button in either split pane while preserving Review and Merge focus behavior. Cover all dismissals with the production Electron/main path and a synthetic gh, asserting no mutation or provider start.

Reconcile protected seed delivery and retain human and live-write acceptance gates.
Retain the failed broad local result and unchanged reviewed application inputs, with fresh hosted qualification still required.
@vercel

vercel Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Nov 14, 2026 3:29am UTC
modex-app Building Building Preview Nov 14, 2026 3:29am UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main 49f4697 cr-state-panel-focus ff353c0 +/-
65% 65% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

This branch was successfully deployed

1 active deployment
Preview – modex — ff353c0c Deployed Nov 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant