diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-04-04 17:51:55 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-04-04 17:51:55 +0200 |
| commit | 673818837bf2ba0a03bb9931dadfbc820e764462 (patch) | |
| tree | 6a45990a8c51f38e0f4876318301367d089bb5f1 | |
| parent | 73a52022d549ee3b401cea938f40321702c52b2b (diff) | |
Remove FEVE
| -rw-r--r-- | src/Enmarcha.Backend/Controllers/TileController.cs | 1 | ||||
| -rw-r--r-- | src/Enmarcha.Backend/Controllers/TransitController.cs | 2 | ||||
| -rw-r--r-- | src/Enmarcha.Backend/Helpers/TransitKindClassifier.cs | 4 | ||||
| -rw-r--r-- | src/Enmarcha.Backend/Services/FeedService.cs | 1 | ||||
| -rw-r--r-- | src/frontend/app/routes/favourites.tsx | 1 | ||||
| -rw-r--r-- | src/frontend/app/routes/map.tsx | 2 | ||||
| -rw-r--r-- | src/frontend/app/routes/routes.tsx | 1 |
7 files changed, 3 insertions, 9 deletions
diff --git a/src/Enmarcha.Backend/Controllers/TileController.cs b/src/Enmarcha.Backend/Controllers/TileController.cs index b419dee..0d96a14 100644 --- a/src/Enmarcha.Backend/Controllers/TileController.cs +++ b/src/Enmarcha.Backend/Controllers/TileController.cs @@ -167,7 +167,6 @@ public class TileController : ControllerBase "lugo" => "stop-lugo", "xunta" => "stop-xunta", "renfe" => "stop-renfe", - "feve" => "stop-feve", _ => "stop-generic", }; } diff --git a/src/Enmarcha.Backend/Controllers/TransitController.cs b/src/Enmarcha.Backend/Controllers/TransitController.cs index bda7152..ae32517 100644 --- a/src/Enmarcha.Backend/Controllers/TransitController.cs +++ b/src/Enmarcha.Backend/Controllers/TransitController.cs @@ -42,7 +42,7 @@ public class TransitController : ControllerBase using var activity = Telemetry.Source.StartActivity("GetRoutes"); if (feeds.Length == 0) { - feeds = ["tussa", "vitrasa", "tranvias", "ourense", "lugo", "feve", "shuttle"]; + feeds = ["tussa", "vitrasa", "tranvias", "ourense", "lugo", "shuttle"]; } activity?.SetTag("feeds", string.Join(",", feeds)); diff --git a/src/Enmarcha.Backend/Helpers/TransitKindClassifier.cs b/src/Enmarcha.Backend/Helpers/TransitKindClassifier.cs index 5caf9fc..b1fad84 100644 --- a/src/Enmarcha.Backend/Helpers/TransitKindClassifier.cs +++ b/src/Enmarcha.Backend/Helpers/TransitKindClassifier.cs @@ -9,8 +9,8 @@ public class TransitKindClassifier return feedId switch { "vitrasa" or "tussa" or "tranvias" or "shuttle" or "ourense" => TransitKind.Bus, - "xunta" => TransitKind.Coach, - "renfe" or "feve" => TransitKind.Train, + "xunta" => TransitKind.Coach, + "renfe" => TransitKind.Train, _ => TransitKind.Unknown }; } diff --git a/src/Enmarcha.Backend/Services/FeedService.cs b/src/Enmarcha.Backend/Services/FeedService.cs index 4e0547b..c06be41 100644 --- a/src/Enmarcha.Backend/Services/FeedService.cs +++ b/src/Enmarcha.Backend/Services/FeedService.cs @@ -43,7 +43,6 @@ public class FeedService "lugo" => ("#FDC609", "#000000"), "xunta" => ("#007BC4", "#FFFFFF"), "renfe" => ("#870164", "#FFFFFF"), - "feve" => ("#EE3D32", "#FFFFFF"), _ => ("#000000", "#FFFFFF"), }; } diff --git a/src/frontend/app/routes/favourites.tsx b/src/frontend/app/routes/favourites.tsx index 1b1d09b..bffd5c8 100644 --- a/src/frontend/app/routes/favourites.tsx +++ b/src/frontend/app/routes/favourites.tsx @@ -36,7 +36,6 @@ export default function Favourites() { "tussa", "ourense", "lugo", - "feve", "shuttle", ]; diff --git a/src/frontend/app/routes/map.tsx b/src/frontend/app/routes/map.tsx index 0aceec7..9774a0f 100644 --- a/src/frontend/app/routes/map.tsx +++ b/src/frontend/app/routes/map.tsx @@ -592,8 +592,6 @@ export default function StopMap() { "#007BC4", "renfe", "#870164", - "feve", - "#EE3D32", "#27187D", ], "text-halo-color": [ diff --git a/src/frontend/app/routes/routes.tsx b/src/frontend/app/routes/routes.tsx index f65adaa..9ec941b 100644 --- a/src/frontend/app/routes/routes.tsx +++ b/src/frontend/app/routes/routes.tsx @@ -32,7 +32,6 @@ export default function RoutesPage() { "tussa", "ourense", "lugo", - "feve", "shuttle", ]; |
