Skip to content

Re: pos mode update#486

Merged
dewabisma merged 34 commits into
mainfrom
beast/pos-mode-update
May 12, 2026
Merged

Re: pos mode update#486
dewabisma merged 34 commits into
mainfrom
beast/pos-mode-update

Conversation

@dewabisma
Copy link
Copy Markdown
Collaborator

@dewabisma dewabisma commented May 12, 2026

We already approved this branch but I forgot to switch to main for target branch in this PR #479


Note

Medium Risk
Moderate risk because it rewires POS amount parsing/fiat toggling and updates the payment-received flow/UI, which could impact charge amounts and transaction watching behavior if edge cases slip through.

Overview
Introduces shared AmountInputLogic (with unit tests) to centralize QUAN↔fiat parsing/formatting and ensure toggle behavior keeps displayed text and underlying BigInt amount in sync.

Revamps POS mode UX: PosAmountScreen moves from a custom keypad to a locale-aware TextField with fiat/QUAN flip, and HomeScreen changes POS entry to a bottom “Charge” action (removing the stacked “New Charge” button overlay).

Unifies QR rendering via new QuantusQr component (used in Receive + POS), and significantly updates PosQrScreen with improved waiting/error states plus a richer “Payment Received” view (timestamp, sender checkphrase/address, explorer link, and Done/New Charge actions). Also removes unused SVG assets and does a small formatting-only change in SettingsService.

Reviewed by Cursor Bugbot for commit 48046df. Bugbot is set up for automated code reviews on this repo. Configure here.

dewabisma and others added 30 commits May 5, 2026 15:21
- comply with hasura syntax
- change to new graphql url in constants
- update data model construction from json to comply new hasura return value
We have made hasura return string for number value.
- Delete unused assets
- Delete unused widgets
- finish input charge screen
- finish scan to pay screen
change toHash to to_hash
Rewrites Skeleton to use theme-aware skeletonHighlightA/B colors,
extracts TxItemSkeleton as a standalone widget, and converts
skeletonHighlight to two-stop skeletonHighlightA/B in AppColorsV2.

Co-authored-by: Cursor <cursoragent@cursor.com>
…-update)

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@dewabisma dewabisma requested a review from n13 May 12, 2026 05:00
Copy link
Copy Markdown
Collaborator

@n13 n13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, GTG

@dewabisma dewabisma merged commit ca4ac0c into main May 12, 2026
3 checks passed
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.

2 participants