aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-11-22 18:23:33 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-11-22 18:34:02 +0100
commitde6f38f26cfb7c311fc9e4fb051191df12b8b042 (patch)
treee1753c6fc17889ee17392164b1a4cb168c8c7b49 /src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx
parentbe2391954dd7653f1eecb4f650228d41038ff27b (diff)
feat: Implement previous trip shape handling in VigoController and update related components for improved trip tracking
Diffstat (limited to 'src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx')
-rw-r--r--src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx b/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx
index 97f0682..707ecce 100644
--- a/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx
+++ b/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx
@@ -207,7 +207,11 @@ export const ConsolidatedCirculationCard: React.FC<
</div>
{hasGpsPosition && (
<div className="gps-indicator" title="Live GPS tracking">
- <span className="gps-pulse" />
+ <span
+ className={`gps-pulse ${
+ estimate.isPreviousTrip ? "previous-trip" : ""
+ }`}
+ />
</div>
)}
<div className={`eta-badge ${timeClass}`}>