Skip to content

Redesign interview setup and device preparation - #767

Merged
jserv merged 1 commit into
sysprog21:mainfrom
MorganHo001:issue-681-setup-layout
Nov 20, 2026
Merged

jserv merged 1 commit into
sysprog21:mainfrom
MorganHo001:issue-681-setup-layout

Conversation

@MorganHo001

@MorganHo001 MorganHo001 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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.

Written for commit 022c0ed. Summary will update on new commits.

View guided diff

cubic-dev-ai[bot]

This comment was marked as resolved.

jserv

This comment was marked as resolved.

jserv

This comment was marked as resolved.

jserv

This comment was marked as outdated.

jserv

This comment was marked as resolved.

jserv

This comment was marked as resolved.

jserv

This comment was marked as outdated.

@MorganHo001
MorganHo001 force-pushed the issue-681-setup-layout branch from a1b1491 to 29c6016 Compare November 18, 2026 15:11
cubic-dev-ai[bot]

This comment was marked as resolved.

jserv

This comment was marked as resolved.

jserv

This comment was marked as outdated.

@yuuka5555 yuuka5555 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I manually verified both layout issues at 29c6016c731995ea327d60d751fac5e13916b8b0 with a 24px root font:

  • At 800×900, the session choice labels overflow their buttons.
  • At 375×1200, the microphone device label overlaps the new help button.

Please adjust these layouts to accommodate enlarged text and add regression coverage for button-content overflow and label/help overlap.

The accompanying tests fail on this head, pass against the pre-change base, and pass with the proposed CSS adjustments injected into the test pages. The seven existing focused tests also pass without skips.

The attached archive contains the reproduction scripts, screenshots, and test logs.

review-pr767-evidence-29c6016c.zip

Comment thread web/styles.css Resolved
Comment thread web/styles.css Resolved
@MorganHo001
MorganHo001 force-pushed the issue-681-setup-layout branch from 29c6016 to 87e96c1 Compare November 19, 2026 01:03
cubic-dev-ai[bot]

This comment was marked as resolved.

jserv

This comment was marked as resolved.

illdoCc

This comment was marked as resolved.

illdoCc

This comment was marked as resolved.

@MorganHo001
MorganHo001 force-pushed the issue-681-setup-layout branch from 87e96c1 to 8abb7e9 Compare November 19, 2026 12:08
jserv

This comment was marked as resolved.

@MorganHo001
MorganHo001 force-pushed the issue-681-setup-layout branch from 8abb7e9 to 8f5910d Compare November 19, 2026 12:41
jserv

This comment was marked as resolved.

jserv

This comment was marked as resolved.

jserv

This comment was marked as resolved.

jserv

This comment was marked as outdated.

jserv
jserv previously requested changes Nov 19, 2026

@jserv jserv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase onto latest main branch and resolve conflicts.

@jserv

jserv commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

#786 is open, stabilizes the loopback backpressure fixtures, and its four-file diff is already part of this branch: the post-connect set_send_buffer_size in src/gemini/socket/loopback.rs, set_nodelay in tests/unit/gemini/live_startup.rs, the connected-sender test in tests/unit/gemini/socket_loopback.rs and the STARTUP_PRESSURE_FRAMES workload in tests/unit/livekit/startup_media.rs. Neither thread links the other, so both would land the same edits. Please read the #786 diff and reply with how the two relate: fold the fixture change into one, rebase one on the other, or keep both with a sentence on why.

@MorganHo001
MorganHo001 force-pushed the issue-681-setup-layout branch from 8f5910d to 298b99a Compare November 20, 2026 06:53
@jserv
jserv dismissed their stale review November 20, 2026 07:03

No merge conflicts at the current head.

jserv

This comment was marked as resolved.

@MorganHo001

Copy link
Copy Markdown
Contributor Author

The loopback fixture changes are kept in #786 and have been removed from this branch. This PR now contains only the interview setup and device-preparation redesign. The short-window Back regression passes in Linux Chromium, including 520px height with enlarged text and reverse keyboard navigation.

The setup flow presents too many controls and explanations at once,
separating the primary action from the choices it starts. Group common
settings into two columns and make secondary information available on
demand while retaining selection, consent and media readiness behavior.

Close sysprog21#681

Change-Id: Icbd19f974d15b948f3571f29a16c7bad6da09216
@MorganHo001
MorganHo001 force-pushed the issue-681-setup-layout branch from 298b99a to 022c0ed Compare November 20, 2026 07:52
@jserv
jserv merged commit ebbc5c8 into sysprog21:main Nov 20, 2026
18 checks passed
@jserv

jserv commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Thank @MorganHo001 for contributing!

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.

Redesign the interview setup page with two columns and collapsible advanced settings

4 participants