Order History (Sprint 12)
Authenticated users can now open /orders and review their own persisted order history, closing the first write -> read loop on top of the existing checkout and payments foundation.
Highlights
- New
ordersfeature module across domain, data, and presentation layers. - Supabase-backed order history read path using one embedded query over
orders,restaurants, andorder_items(quantity), ordered newest first and scoped by existing RLS ownership. - Protected
/ordersroute plus Home bottom navigation wiring for thePedidosdestination. - Localized loading, empty, error, and success states for order history, with grouped sections and order cards.
- Order history copy added across pt_BR, pt, and en with regenerated
AppLocalizationsoutputs. - Sprint 12 docs, memory, technical debt, and Trello reconciliation completed after validation.
Validation
- Focused regression suite: 28 tests.
- Targeted
dart analyzeon touched slices green. - Localization, Theme, and Trello guards green; final Trello parity
41/41.
Live demo
https://leomoraesitu.github.io/flowdelivery-app/
Artifact checksums
SHA-1: dc43f5642c882b596ed44e765c306f487bab6879
SHA-256: 60a46330067a9220d7ae8155f4ab1362429d3415cd3406b3ec3ea1dbc04d5071
Full notes: docs/releases/v0.6.0.md · Changelog: CHANGELOG.md