Give Rihla focused ATM screens, native reference entry and receipts

This commit is contained in:
unimatrixgit 2026-11-29 13:22:40 +01:00
commit abfa82bca8

View file

@ -0,0 +1,21 @@
# Focused Rihla ATM screens
## Objective
Make the cash flow discoverable from the Imperial Codex and separate operation selection from the actual transaction controls. The owner supplied reference screenshots of RIA forms and explicitly requested Dune/Rihla branding, English text, operation-only screens, one Back action and a final receipt with its actual RIA ID. No private training screenshots or customer information are packaged.
## Flow
- Imperial Codex has a Rihla ATM entry using the existing `atm` route.
- ATM home offers Deposit cash, Redeem RIA ID and Withdraw cash. Back returns to the Codex.
- Deposit/Withdraw show actual denomination artwork and selectors, one amount-labelled transaction action and Back. The action is above the denomination grid and visible in the initial viewport. There are no repeated operation tabs or a second lookalike Withdraw tile. Selecting a denomination still only selects it; the existing final action performs the transaction. No new confirmation step is added.
- Redeem offers reference entry, then the existing verified voucher amount and payout destinations. Reference entry uses a native Minecraft anvil text window because pinned MCGUI 0.8.6 has no editable text-field API. It is not an editable HTML form. Input is normalized and validated, never sent through chat. Closing the entry window returns to Redeem. All input items and clicks are isolated and cleared on completion, close, quit and disable.
- A successful bank response opens the transaction receipt. It displays the actual operation, selected amount, backend result and RIA ID when the backend supplies one. It invents neither a withdrawal RIA ID nor fees, zero-cost claims or settlement status. Existing backend errors remain errors, not successful receipts. Back returns to ATM home.
The canonical `rihla-brand-v1.png` artwork is packaged locally and proportionally displayed using its existing top-logo region. No remote image fetch occurs when opening the screen. Currency artwork and the published resource pack are unchanged.
## Validation and release boundary
Run the DuneMenus and GUI tests, reference validation and cash-control/receipt rendering tests, plus pinned real MCGUI render checks for the four Rihla operation/receipt fixtures. Check both real transaction controls and Back are visible and clickable without scrolling; preserve all existing lifecycle and pending-operation guards. Read-only inspection confirmed the new native text-entry methods also exist in the available Paper 26.2 build 135 API.
These checks do not constitute a real cash withdrawal/deposit or connected-client anvil test. The coordinator must verify the built exact-head artifact and a lobby canary, including opening/cancelling native reference entry and returning to Redeem, before claiming deployed functional acceptance. No backend JARs, bank permissions, fees, settlement logic, balances or paid receipts are changed by this release. Frontend versions: DuneMenus 2.0.5 and DunerealmsGUI 1.1.39.