diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-04-04 18:01:45 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-04-04 18:01:45 +0200 |
| commit | 4ed09e535b28ced439dc994a16e58dc9b56055ff (patch) | |
| tree | 05c3a2e5319e753687ba4d15df7fb1d539bd60e2 /src/frontend | |
| parent | 673818837bf2ba0a03bb9931dadfbc820e764462 (diff) | |
Enhance feed ID parsing and agency filtering in TransitController; update routes page with additional agency entries
Diffstat (limited to 'src/frontend')
| -rw-r--r-- | src/frontend/app/routes/routes.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frontend/app/routes/routes.tsx b/src/frontend/app/routes/routes.tsx index 9ec941b..52b67c9 100644 --- a/src/frontend/app/routes/routes.tsx +++ b/src/frontend/app/routes/routes.tsx @@ -26,6 +26,9 @@ export default function RoutesPage() { setExpandedAgencies((prev) => ({ ...prev, [agency]: !prev[agency] })); }; + // Each entry is either a plain feed ID ("tussa") — which includes all agencies + // in that feed — or a "feedId:agencyId" pair ("renfe:cercanias") to restrict + // results to a single agency within a feed. const orderedAgencies = [ "vitrasa", "tranvias", @@ -33,6 +36,8 @@ export default function RoutesPage() { "ourense", "lugo", "shuttle", + "renfe:1071VC", + "xunta:XG621", ]; const { data: routes, isLoading } = useQuery({ |
