miler map

This commit is contained in:
2026-09-09 12:55:23 +05:30
parent 074cc0eccf
commit 127fa062ed
143 changed files with 4315 additions and 2291 deletions

View File

@@ -246,20 +246,31 @@ void main() {
testWidgets('a step states who it is for, and no stop type', (tester) async {
await pumpCard(tester);
// This is a parcel route, so each stop is its own node and what names it is
// the customer plus its position in the run. (The `who` + `which bag` pair
// is the kitchen-group shape and is held by `one_bag_per_order_test.dart`.)
// ── The parcel route draws places now ──
//
// This read "each stop is its own node, named by the customer plus its
// position in the run". Home is one shape on both lines now: the header
// names *where* and the row under it names *who*, so the customer is on the
// rung and `Stop 1` — the flat node's meta line — is gone with the flat
// node. See `hub_pickup_group_test.dart`.
expect(find.text('Sri Balaji Stores'), findsWidgets);
expect(find.text('Stop 1'), findsOneWidget);
expect(find.text('Stop 1'), findsNothing);
// Everything the card used to shout on every row. The type is one tap away
// in the sheet, on the badge `StopDetailSheet._header` draws.
for (final label in const [
'PICKUP',
'DELIVERY',
'P&D',
'PICKUP & DELIVERY',
]) {
// ── `P&D` came off this list ──
//
// The rule these labels enforce is that the route does not *shout* a
// stop's type: `PICKUP & DELIVERY` set on every rung is a word the rider
// re-reads forty times a shift, and the accents that came with it were a
// second colour system competing with the brand.
//
// A mixed route still has to answer "am I collecting or dropping here"
// without opening anything, so the rail now carries a one- or two-letter
// grey tag — see `_KindTag`. It is a mark rather than a word, and it is
// painted in the same neutral as the metric tiles, so both halves of the
// rule above still hold. The shouted forms stay banned.
for (final label in const ['PICKUP', 'DELIVERY', 'PICKUP & DELIVERY']) {
expect(
find.text(label),
findsNothing,