Make recording history reachable from the lobby
ZU
12h ago+611+611+012345678901234567890123456789-8-8-0123456789
Summary
- Expose
recordingAvailablein/api/sessionbased on the active recorder. - Show
Your recordingsbeside Interview progress only when the session confirms availability, without waiting for saved reports. - Add
Back to lobbynavigation to Replay. - Preserve existing recording authorization, consent, and retention behavior.
Tests
- Browser tests: 3,661 passed, 0 failed.
- Rust web tests: 231 passed, 0 failed, 2 ignored.
./scripts/test.sh rustpassed.- Full gate remains blocked by an existing ShellCheck SC2319 warning in
scripts/git-post-commit.sh.
Close #773
Summary by cubic
Makes recording history reachable from the lobby and adds a return path from Replay, so recordings aren't buried behind saved-report loading or a direct URL visit.
/api/sessionnow reportsrecordingAvailableonly for signed-in sessions with an active recorder; the signed-out response omits the field, keeping the link hidden on deployments that don't record.- The lobby shows
Your recordingsnext to Interview progress as soon as the session confirms availability, without waiting for saved reports, and hides the link again on sign-out or session loss. - The link is made inert while report deletion or a sign-out is pending, so users can't navigate mid-operation.
- Replay now has a
Back to lobbylink, click- and keyboard-reachable even when opened directly. - Existing recording authorization, consent, and 24-hour retention behavior is unchanged. Closes #773.