Repository navigation
Keep the PIN pad up through a correct PIN's handoff to Home - #330
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Readyat the accepted epoch, but the app keeps the picker route mounted until the owner handoff (app/bridge.rs'sPhase::Ready => {}arm) and then roots Home through a page transition that fades the picker out.ProfilesScreen::reconcile_selectionretired the PIN pad onReady, so that whole window drew the roster the pad had been covering.Fix
On
Readywith an accepted pad selection, the pad stays up (still verifying) until the route leaves for Home. A laterProfilesread 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
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 checkgreen on the pre-rebase commit (Rust suites 5237/0 and 5311/0, all Python stages OK);screens::profiles57/0 on the rebased tree;--no-default-featurescheck clean; ARM cross-build clean.🤖 Generated with Claude Code