Skip to content

Fix Tracking completion badges and stop icon colors#119

Merged
OziinG merged 1 commit into
mainfrom
fix/tracking-completion-colors
Jul 23, 2026
Merged

Fix Tracking completion badges and stop icon colors#119
OziinG merged 1 commit into
mainfrom
fix/tracking-completion-colors

Conversation

@OziinG

@OziinG OziinG commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

What changed

  • use only the Tracking server's completedStopIds for completion badges
  • keep in-progress Tracking list stop icons in their route color
  • render completed Tracking list stop icons in fixed gray
  • add regression coverage for persisted DELIVERED state without a Tracking completion event

Root cause

The UI merged persisted order/delivery status into the Tracking completion set, and the map feature builder independently treated persisted delivery status as completed. Either path could show a green check before Tracking actually completed the stop.

Impact

Tracking completion visuals now follow the live/historical Tracking lifecycle only. The Stops view keeps its existing persisted-status presentation.

Validation

  • 358 Shopify app tests
  • TypeScript typecheck
  • production React Router build
  • ESLint on changed source/tests
  • public URL hostname guard
  • Shopify UI validation

Constraint: Tracking completion visuals must follow server completedStopIds only
Rejected: Persisted delivery/order status fallback | it can mark unfinished Tracking stops complete
Confidence: high
Scope-risk: narrow
Directive: Preserve tracking-only completion semantics for map badges and list icons
Tested: 358 node tests; typecheck; production build; ESLint; public URL guard
Not-tested: Browser interaction against a newly delivered production stop
@OziinG
OziinG marked this pull request as ready for review July 23, 2026 14:39
@OziinG
OziinG merged commit e843754 into main Jul 23, 2026
1 check passed
@OziinG
OziinG deleted the fix/tracking-completion-colors branch July 23, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant