Skip to content

Keep the PIN pad up through a correct PIN's handoff to Home - #330

Merged
GLinnik21 merged 1 commit into
mainfrom
fix/pin-pad-handoff-blink
Sep 30, 2026
Merged

GLinnik21 merged 1 commit into
mainfrom
fix/pin-pad-handoff-blink

Conversation

@GLinnik21

Copy link
Copy Markdown
Collaborator

Problem

After the last digit of a correct PIN, the who's-watching roster reappeared for ~270 ms (placeholder circles, avatars loading, then fading out) before Home appeared.

Cause

The Session publishes Ready at the accepted epoch, but the app keeps the picker route mounted until the owner handoff (app/bridge.rs's Phase::Ready => {} arm) and then roots Home through a page transition that fades the picker out. ProfilesScreen::reconcile_selection retired the PIN pad on Ready, so that whole window drew the roster the pad had been covering.

Fix

On Ready with an accepted pad selection, the pad stays up (still verifying) until the route leaves for Home. A later Profiles read or a newer epoch still takes it down through the existing arms. The unprotected-profile path, a wrong PIN and BACK from the pad are unchanged. The module doc that called a rejected PIN "the one exception" keeping the pad up is updated.

Verification

  • Regression test screens::profiles::session_tests::a_correct_pin_keeps_the_pad_up_until_the_route_leaves_for_home: failed before the fix (Ready must not close the pad and reveal the roster under it), passes after.
  • make check green on the pre-rebase commit (Rust suites 5237/0 and 5311/0, all Python stages OK); screens::profiles 57/0 on the rebased tree; --no-default-features check clean; ARM cross-build clean.
  • Checked on the TV by the owner: PIN pad now hands off straight to Home, no roster flash.
  • Doc-claim audit: no contradicted prose.

🤖 Generated with Claude Code

After the last digit of a correct PIN the who's-watching roster reappeared
for ~270 ms (placeholder circles, avatars loading, then fading) before Home.
The Session publishes Ready at the accepted epoch, but the app keeps the
picker route mounted until the owner handoff and then roots Home through a
page transition that fades this screen out. ProfilesScreen's
reconcile_selection retired the pad on Ready, so that whole window drew the
roster the pad had been covering.

On Ready with an accepted pad selection the pad now stays up, still
verifying, until the route leaves; a later Profiles read or newer epoch still
takes it down through the existing arms. The unprotected path, wrong PIN and
BACK from the pad are unchanged.

Regression: a_correct_pin_keeps_the_pad_up_until_the_route_leaves_for_home.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@GLinnik21
GLinnik21 merged commit 8605b44 into main Sep 30, 2026
6 of 7 checks passed
@GLinnik21
GLinnik21 deleted the fix/pin-pad-handoff-blink branch September 30, 2026 21:30
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