Skip to content

PR: Add mobile transaction review screen before payment submission#313

Merged
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Kend07:feat/mobile-transaction-review-screen
Jul 24, 2026
Merged

PR: Add mobile transaction review screen before payment submission#313
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Kend07:feat/mobile-transaction-review-screen

Conversation

@Kend07

@Kend07 Kend07 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Closes #248

Summary

Adds a dedicated transaction review screen (app/review-transaction.tsx) that displays complete payment details (recipient, amount, memo, network, and fee estimate) before the user signs and submits. Replaces the inline signing confirmation flow with a full-screen review step, improving payment safety by giving users a clear final check before any transaction is submitted.

Changes

Created app/review-transaction.tsx with full review UI showing recipient, amount, memo (optional), network, and fee estimate
Added fee fetching via server.fetchBaseFee() and display in the review card
Wired app/send.tsx navigation to /review-transaction on valid form submit, replacing the removed SigningConfirmModal
Removed unused SigningConfirmModal import and state from send.tsx
Updated src/components/index.ts barrel export to remove SigningConfirmModal
Exported server from src/services/stellar.ts for fee fetching in the review screen
Fixed duplicate DATA_TO_BE_REMOVED declarations in WalletResetConfirmModal.tsx and extra closing brace in stellar.ts
Added tests/reviewTransaction.test.tsx covering AC1–AC7 (recipient, amount, memo, network, back-to-edit, fee display)
Updated tests/send.test.tsx to remove the old modal-based signing confirmation tests

Testing

Ran npm test -review transaction tests pass; send.test.tsx updated to reflect new flow (legacy SigningConfirmModal tests removed)
Manual verification: navigate from Send -> Review -> Sign & Send, confirming all fields render correctly and back-to-edit returns to the form

Accessibility

All interactive elements have accessibilityLabel and accessibilityRole props
Touch targets meet the 44×44 dp minimum
Text maintains 4.5:1 contrast ratio against the dark theme
Security:

No secret key material is exposed on the review screen, only public identifiers and amounts
Signing happens locally via getSecretKey() with device-backed encryption; the secret key never leaves the device
The review screen does not store or log any payment credentials

send flow to include review screen
@El-swaggerito
El-swaggerito merged commit cbdf449 into Axionvera:main Jul 24, 2026
1 check passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Jul 24, 2026
5 tasks
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.

Add mobile transaction review screen

2 participants