Display used and reserved limits capacity
This commit is contained in:
1 parent
ec43d34b4b
commit
2e81c43091
14 files changed
+287
-5
No files matched your search
@@ -168,3 +168,18 @@ Documentation only; no runtime tests were run.
|
||||
server-side review analytics remain integration work. Native mobile and
|
||||
VoiceOver/TalkBack checks remain release QA. Security scans were not requested.
|
||||
- Delivery: [PR #21](https://git.sendico.io/tech/sxchnge/pulls/21), pushed on `kyc-20`; not merged. Final browser review also preserved heading semantics when moving keyboard focus.
|
||||
|
||||
## Limits usage display — task #22
|
||||
|
||||
- Branch `limits-22`, stacked on `kyc-20` / PR #21 (merge #21 first).
|
||||
- Added explicit used/committed and reserved fields through DTO, mapper, service
|
||||
and model. Remaining is independently supplied by the backend stand-in.
|
||||
- Daily/monthly cards show used, reserved, available, cap and upgrade amounts,
|
||||
with a labeled theme-based occupied-capacity indicator and exhausted text.
|
||||
Dummy fixtures contain nonzero activity; usage survives tier increases.
|
||||
- UX review: EN/RU labels explain pending holds, no color-only information,
|
||||
320px/1.6-scale widget checks, actual browser visual verification, zero and
|
||||
over-cap ratio handling. Existing KYC telemetry is sufficient; no usage amounts
|
||||
are sent to analytics.
|
||||
- Validation passed: all 91 frontend tests, analyze app and sxchnge_kyc,
|
||||
format check of all 9 affected Dart files, web build and diff checks.
|
||||
@@ -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.
|
||||
Reference in new issue
Block a user