Repository navigation
Conversation
685a89e to
a06a143
Compare
|
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Aligns the Pubky auth sheet with the Figma frames: names the requester in the lead and success sentences, adds the DETAILS and BEFORE YOU CONTINUE headings, and switches to the compact profile row. Reviewed a06a143, full tier (an approval sheet is a security path), reasoned from the code and CI: iOS does not build on this box.
What I checked, and 3 candidates I ruled out
Read in full: PubkyAuthApprovalSheet.swift; traced config.request.clientID back to Paykit.parsePubkyAuthUrl in PubkyAuthRequest.swift; t(_:variables:) in LocalizeHelpers.swift
CI: validate (translations), Greptile and change detection green; Run Tests, Run Integration Tests and build-local were still pending at review time
Ruled out
- Requester id lost from the screen: the separate
Requester IDline goes, but the id now appears in the lead sentence whenever it is non-empty, and the fallback sentence covers the empty case, so a user still sees who is asking before approving. - Removed string keys still referenced: no Swift reference to
pubky_auth__requesterorpubky_auth__paykit_access_titleremains, and the other localizations carry no copy of them. - Missing illustration:
coin-stack-4.imagesetexists inAssets.xcassets/Illustrations.
Merge confidence: 4/5, no findings and copy or layout a unit test would not apply to, but the test and build jobs were still pending and the branch was not built here.
|
Two independent reviews. worth doing, does not block
nits
the reviewers disagree, your call
|
|
Went through the review.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3d58d12 to
12e44e9
Compare
iOS port of synonymdev/bitkit-android#1421.
This PR aligns the Paykit authorization sheet with the Auth (paykit) flow in Figma.
Description
coin-stack-4).app.paykit.server is requesting permission…) and removes the separateRequester IDline. The old sentence stays as the fallback when a request carries no client id.REQUESTED PERMISSIONS,DETAILSandBEFORE YOU CONTINUEheadings with 32pt between sections, removes the divider under the permissions, and uses the Figma copy for the Paykit details and trust warning.<accent>tags in them are removed before the sentence is styled, so a request cannot inject its own emphasis.Out of Scope
PubkyAuthApprovalSheet.swift: theAUTHORIZATION RELAYsection and the relay line on the Earn screen are iOS additions that the Figma frames do not show; they are kept.SheetIntro.swift: the Earn screen keeps the shared intro component's sizing and side insets instead of the frame's.Localizable.strings: the Figma title reads "Authorization Succesful"; the correctly spelled title is kept. New and changed strings are English only.Authorize paykit FaceIDframe: Face ID is the system prompt and is unchanged.Design
Preview
iPhone 17 simulator, fresh wallet and Bitkit-created Pubky profile, combined
paykit-access-v1.watch-only-account-v1claim.QA Notes
Journeys
N/A — no journey added or updated. The route and identifiers are unchanged, so
wallet-leg.xmlandpaykit-only-approval.xmlstill drive this sheet as written.Manual Tests
bitkit://pubky-auth/setupURL withcaps=/pub/paykit/:rw, acidandx-bitkit-claim=paykit-access-v1.watch-only-account-v1→ the Earn, Authorize, Authorizing and Success screens match the image above — needs a valid auth URL fixture.Automated Checks
PubkyAuthApprovalSheetTests.swift— accent tags in a requester id are removed, including nested onesPubkyAuthApprovalSheetTests,swiftformat --lintandnode scripts/validate-translations.js— pass locally; a 253-character and a tag-wrappedcidwere checked on the iPhone 17 simulator.