Display used and reserved limits capacity

This commit is contained in:
Stephan D committed 2026-09-12 10:05:20 +02:00
1 parent ec43d34b4b
commit 2e81c43091
14 files changed
+287 -5

No files matched your search

+15
View File
@@ -147,3 +147,18 @@ packages, `make test-frontend` (86 tests) and release web build passed. The UX
checklist was reviewed against the implemented demo scope; production/backend
and native assistive-technology gaps are recorded above rather than represented
as complete.
## Limits usage correction — task #22
Visible limits include backend-provided committed (`usedMinor`) and reserved
(`reservedMinor`) usage, matching Sendico's `VisibleLimitSlot`. Show both amounts,
the current cap and authoritative remaining capacity for each period. A labeled
theme-based indicator visualizes used plus reserved against the cap; clamp only
the visual ratio, never rewrite the returned monetary values. No capacity is
communicated in text when remaining is zero. Daily/monthly demo fixtures now have
nonzero activity, retained when caps increase after approval.
This is a display correction within the existing KYC journey, so no additional
analytics events or financial data collection are introduced. Tests cover mapping
without inferring remaining, unused/exhausted/over-cap/zero-cap ratios and EN/RU
usage display at 320px with 1.6 text scaling.