docs: approve routed ZarinPal redesign

This commit is contained in:
2026-08-20 20:44:22 +03:30
parent 23147cd60d
commit d8eeff57cd
5 changed files with 170 additions and 12 deletions

View File

@@ -453,3 +453,17 @@ Resolved external contracts: the production Problem Details base URI is owned by
- [Playwright installation and test runner](https://playwright.dev/docs/intro)
- [WCAG 2.2](https://www.w3.org/TR/WCAG22/)
- [WHATWG server-sent events](https://html.spec.whatwg.org/multipage/server-sent-events.html)
## 17. Approved feature-branch redesign delivery
The user approved `docs/ZARINPAL-REDESIGN-AMENDMENT.md` on 2026-08-20 and required the work to remain on `feature/zarinpal-dashboard-redesign` until a separately running preview is reviewed.
Build order:
1. Extend the backend contract for four latest complete period windows, terminal-scoped runs, payment history, and routed transaction evidence.
2. Generate the TypeScript contract and add shadcn-svelte/Lucide foundations.
3. Replace the single-page dashboard with the shared routed shell and URL-backed controls.
4. Deliver overview, transaction, performance, fee, peer, methodology, and detail routes as thin vertical slices.
5. Verify the isolated feature instance on alternate ports, then wait for explicit merge approval.
The current instance remains untouched while the feature preview uses API port `8081` and frontend port `5174`.