From 4ed09e535b28ced439dc994a16e58dc9b56055ff Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sat, 4 Apr 2026 18:01:45 +0200 Subject: Enhance feed ID parsing and agency filtering in TransitController; update routes page with additional agency entries --- src/frontend/app/routes/routes.tsx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/frontend/app/routes') 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({ -- cgit v1.3