aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Services/Processors/VigoUsageProcessor.cs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-03-13 16:49:10 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-03-13 16:49:30 +0100
commitee69c62adc5943a1dbd154df5142c0e726bdd317 (patch)
tree5874249173aa249d4d497733ef9fc410e64ab664 /src/Enmarcha.Backend/Services/Processors/VigoUsageProcessor.cs
parent90ad5395f6310da86fee9a29503e58ea74f3078b (diff)
feat(routes): add realtime estimates panel with pattern-aware styling
- New GET /api/stops/estimates endpoint (nano mode: tripId, patternId, estimate, delay only) - useStopEstimates hook wiring estimates to routes-$id stop panel - Pattern-aware styling: dim schedules and estimates from other patterns - Past scheduled departures shown with strikethrough instead of hidden - Persist selected pattern in URL hash (replace navigation, no history push) - Fix planner arrivals using new estimates endpoint
Diffstat (limited to 'src/Enmarcha.Backend/Services/Processors/VigoUsageProcessor.cs')
-rw-r--r--src/Enmarcha.Backend/Services/Processors/VigoUsageProcessor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Enmarcha.Backend/Services/Processors/VigoUsageProcessor.cs b/src/Enmarcha.Backend/Services/Processors/VigoUsageProcessor.cs
index 487d55a..52218d9 100644
--- a/src/Enmarcha.Backend/Services/Processors/VigoUsageProcessor.cs
+++ b/src/Enmarcha.Backend/Services/Processors/VigoUsageProcessor.cs
@@ -25,7 +25,7 @@ public class VigoUsageProcessor : IArrivalsProcessor
public async Task ProcessAsync(ArrivalsContext context)
{
- if (!context.StopId.StartsWith("vitrasa:") || context.IsReduced) return;
+ if (!context.StopId.StartsWith("vitrasa:") || context.IsReduced || context.IsNano) return;
var normalizedCode = _feedService.NormalizeStopCode("vitrasa", context.StopCode);