Redesign interview setup and device preparation

Merged
MO
3d ago
+1676-600

The setup flow presents many controls and explanations at once, while the primary action is separated from the page heading. Simplify the home page and the device preparation screen reached after Start Interview, keeping the existing controls and behavior.

Home page

  • Replace the three-column setup with problem selection and session settings in two columns.
  • Move the existing Start action beside the heading, with required notices nearby.
  • Keep common session settings visible and group the remaining options under Advanced settings.
  • Make Carry forward collapsed by default, hide it when no focus is available, and show when sharing is enabled while collapsed.
  • Place the selected problem below the random-selection button and show the saved-list count beside its action.
  • Preserve the current modal problem picker, saved-list behavior, account controls, and history pagination. Keep saved-list count updates in a polite live region inside the active picker dialog.
  • Reserve the page scrollbar when the picker opens and allow session choices to wrap when text is enlarged.

Device preparation

  • Group interview preferences and devices into two cards, stacking on narrow screens.
  • Keep programming language, Jim's voice, English accent, and the full dynamic coding/behavioral time budget visible.
  • Move general explanations into keyboard- and touch-accessible help disclosures. Keep important Meet and screen-recorder consequences visible before selection and after either choice is cleared, and preserve the required recording-consent notice.
  • Keep help buttons centered on their label rows when text wraps or explanations expand, and allow long device-label words to wrap clear of their help buttons.
  • Preserve device selection, media checks, camera preview and skip behavior, local recording, the muted-speech opt-in and its visible privacy notice, and the fixed footer actions.

Existing authentication, saved-list selection, settings persistence, document consent, and interview-start checks are retained. Collapsing sections does not reset values. Validation errors inside collapsed settings are revealed and focused.

Test fixtures

Keep the loopback socket fixtures usable on macOS so the required Rust lane can validate this branch. Reapply and verify the send-buffer limit after connecting, and use a bounded workload of ordinary PCM frames with fixture-only TCP_NODELAY to establish sustained backpressure. Existing deadline, receive-time, cancellation, release and audio-order assertions remain intact; production socket settings are unchanged.

Rebased onto 288a0c99 with two commits: the loopback fixture repair and the setup/device-preparation redesign with its related checks.

Validation

  • On 8f5910df, RUST_TEST_THREADS=1 ./scripts/test.sh rust passed (exit 0): 2,126 library cases passed, none failed and 19 were ignored. The web integration suite recorded 230 passes and two ignored cases. cargo-deny was unavailable.
  • Full browser lane: 3,664 cases, with 3,630 passes, one failure and 33 skips. The only failure was the classic-scrollbar fixture's initial requirement that this Mac expose a space-consuming scrollbar. Skips require ffmpeg or Java. The new revision's CI remains pending. The prior 8abb7e93 CI attempt failed while installing system packages because Ubuntu mirrors returned HTTP 503 and network timeouts; the three failed jobs did not reach compilation or tests.
  • The strengthened hero regression first reproduced the default-font Start column at 560px instead of 320px. It now asserts 320px for both the column and button at 1280px and 1448px, checks the remaining intro width and right alignment, and retains a compact badge. At 800px with 24px and 32px root fonts it checks nonzero intro width, vertical stacking and character hit targets. Three focused hero/session/preflight layout cases passed without failures or skips.
  • Existing coverage retains session-choice containment at 800px, 375px and 320px with enlarged text; short-window Back-button edge hit-testing and navigation under microphone denial at 800×580 and 800×520 with a 24px root font; exact supplemental-help and visible-notice wording; and the nonempty text-node precondition for microphone measurements. Existing saved-list, consent, setting-retention, help-alignment and responsive checks remain intact.
  • The real home browser-check entry point passed against a credential-free local fixture without requesting an interview token. ESLint, Prettier, whitespace, commit-message and hashchain checks passed. The final CodeTrial review and matching author reflection were completed.
  • Portable lane did not pass: fetch-gate-note-tests, run-budget-tests, review-memory-tests, interactive-review-hook-tests and git-hooks failed. Optional ruff, shellcheck and actionlint checks were unavailable; the Linux-only Clang fetch case was skipped. The complete local gate is not reported as passing.
  • Live OAuth, physical devices, provider interviews, external Meet and recording delivery were not exercised; visual checks used synthetic account and device data. Existing extreme-font layout limitations are not reported as resolved.

Screenshots

Home page

before
codetrial_before

after
codetrial_after

Device preparation

image

Close #681


Summary by cubic

Redesigns the interview setup and device preparation screens so the primary action sits beside the page heading and secondary explanations are available on demand. Closes #681.

Setup and device screens

  • On the home page, the heading is now "Start Interview" with the Start action beside it; problem selection and session settings sit side by side, the rest collapses under Advanced settings, and Carry forward is collapsed by default, hidden without a focus, or shows "Sharing enabled" while collapsed.
  • The selected problem stays below the button at every width, and the saved-list count sits beside its action.
  • On the device-preparation screen, preferences and devices group into two cards with the full time budget visible; general explanations move into accessible help disclosures while Meet and screen-recorder consequences stay visible before and after the option is selected.
  • All controls, persistence, and validation behavior are retained, and errors inside collapsed settings are revealed and focused.

Test fixtures

  • Loopback tests reapply the send-buffer limit after connecting and use bounded PCM frames with fixture-only TCP_NODELAY to sustain backpressure on macOS; production socket settings are unchanged.