Detail: Make progress stepper timeline semantic, not numbered #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In the
ProgressSteppercomponent, incomplete steps (not yet reached) show their index number (1, 2, 3, 4, 5) inside the circle. For shipment #4 (In Transit), steps 4 "Out for Delivery" and 5 "Delivered" show "4" and "5" as the circle content. The step labels are hidden on mobile (hidden sm:block). On mobile, steps that haven't been reached show meaningless numbers.Completed steps correctly show "✓". The current step is highlighted. But future steps showing their ordinal index adds no value and is confusing.
Implementation
File:
frontend/src/pages/ShipmentDetail.tsx—ProgressSteppercomponent, around line 40.Change the circle content from:
To show nothing (just the circle outline) for future steps:
Or alternatively show a dot for the current/incomplete steps:
The
donevariable iscurrentIdx >= i, so the current step also shows "✓". Consider whether the active step should show a dot instead to distinguish "done" vs "in progress".Acceptance criteria
Brand identity alignment
The shipment timeline is a core Trackbox identity element. It should express normalized lifecycle state with thin lines, small nodes, subdued completed/future states, and a clear active node. Raw ordinal numbers do not convey logistics meaning.
Brand-compliant implementation notes
Additional acceptance criteria
Migrated from GitHub issue #13: https://github.com/bullitt186/trackbox/issues/13
Original author: @bullitt186
Original created: 2026-06-27T13:24:09Z
Original labels: ux
Detail: Progress stepper shows raw step index numbers on incomplete steps (mobile regression)to Detail: Make progress stepper timeline semantic, not numberedThe ProgressStepper was already correct in the current codebase (commit
bd6b0e7verified): line 41 shows{done ? "✓" : ""}— no ordinal numbers for future steps. The circle renders as an empty outlined node for pending states and a filled checkmark for completed ones. The current active step has a ring highlight for clear distinction. Closing as already resolved.