refactor(payjoin): UX updates from clean-install testing - #2509
Conversation
|
Claude finished @i5hi's task in 6m 54s —— View job Code review — payjoin UX updates
Note: I can't submit formal inline PR review comments (I only update this single comment), so findings are anchored by Findings1. One-time disclaimer can be permanently skipped without ever being shown — 2. Unconfirmed-input "worst case" is understated; consider preferring confirmed UTXOs — 3. Autoswap announcement mixes current-environment balance with mainnet-pinned autoswap settings — 4. Stale comment — 5. 6. Raw Material Verified correct
Overall: no blocking bugs found. #2 is the one I'd act on (comment accuracy + confirmed-first input preference), #1 is a small real edge worth the reorder. |
|
Several issues with UI. Manually testing and updating. |
|
@claude Please re-review |
|
Claude finished @i5hi's task in 6m 16s —— View job Re-review — commits
|
|
@claude please review again |
|
Claude finished @i5hi's task in 3m 2s —— View job Re-review — commits
|
0900a34 to
007fe2f
Compare
The disclaimer dialog resolved a datasource from the service locator inside a widget, so the ui layer talked straight to data (AGENTS.md rules #2/#6), and the receive feature reached into settings/ui/widgets for it (rule #1). The flag now travels the normal chain: a PayjoinDisclaimerRepository interface in domain, a SharedPreferences implementation in data, two usecases, and SettingsCubit holding the state. One boolean does not justify a datasource forwarding two calls to a repository forwarding them back, so it collapses into the repository. The dialog becomes passive and moves to core/widgets, which also drops the cross-feature import: both call sites show it, then record it — never the other way round.
The seven keys this branch adds (disclaimer title and settings row, advanced settings title, the receive Additional Information tile and its placeholder, the message-for-sender label, the send-confirm payjoin row) were en-only. Short labels, not disclosure prose: PAYJOIN_FEATURES_PLAN F9 keeps the two disclaimer explanations on the translator pipeline, and those are untouched here. "Payjoin" stays untranslated in every locale, as the reviewed corpus already does (transactionStatusPayjoinAborted). Machine-authored — worth a native pass whenever the locale is next reviewed.
ec94f58 to
796513b
Compare
Payjoin lifecycle
Receive and settings UX
Transaction display
Additional review fixes
|




Uh oh!
There was an error while loading. Please reload this page.