Repository navigation
feat(tiny): one-click in-app passkey migration banner for members without a passkey - #993
Merged
Merged
Conversation
Tiny Code Reviewthe AI provider rate-limited the request This is advice, not a gate. Re-run with the |
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.
What changed and why
When a member opens a Tiny server that accepts or requires built-in passkeys (
sign_in_methodsisanyorpasskey),tinyclientnow checks their passkeys automatically and shows a one-click Set up passkey banner at the top of the server pane if they do not have one yet. Clicking it opens the server's passkey creation page directly in the system browser (pairing with TinyComms/tinyserver#96, which drops the 10-minute recent-sign-in requirement for a member's first passkey), and hides the banner once dismissed or once a passkey is created.Type
Platforms
Proof
Scenario: e2e/scenarios/tiny-passkey-banner
Lab run:
Compatibility
No protocol changes. Against older servers without
GET /v1/me/passkeys(404),take_readmarks the server older and never shows the banner. Against servers withsign_in_methods = "provider", or members who already have a passkey, the banner stays hidden. Companion server PR: TinyComms/tinyserver#96.Risk and rollback
Low risk: pure UI prompt using existing
TinyPasskeysReadandTinyPasskeyLinkrequests, dismissible per visit. Revert this PR to remove the banner.Release note
Add a one-click in-app passkey setup banner on Tiny servers moving to built-in passkeys.