From 5d9d8c21197c20ef1fffee6c4582176692b56184 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 5 Nov 2025 16:30:43 +0000 Subject: [PATCH] Improve demo page with date-based filtering and trip grouping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Major improvements to the interactive demo: Location and operator: - Fix location from Martinique to La Réunion - Add operator information: Transdev Outre-Mer and GIE Activ' Date-based filtering: - Replace calendar list with date picker (defaults to today) - Show active calendars for selected date - Filter trips by selected date using new flexible API Trip organization: - Group trips by headsign and direction - Order groups by direction_id, then by headsign - Show trip count for each group - Improved visual hierarchy with grouped layout UI improvements: - Modern date input with focus styles - Better trip grouping with headers - Cleaner information display - Active calendar info instead of full calendar grid All 77 tests pass. --- website/demo.html | 12 ++- website/demo.ts | 191 ++++++++++++++++++++++++++-------------------- website/style.css | 83 ++++++++++++++++++-- 3 files changed, 191 insertions(+), 95 deletions(-) diff --git a/website/demo.html b/website/demo.html index c913540..754798a 100644 --- a/website/demo.html +++ b/website/demo.html @@ -21,7 +21,8 @@

gtfs-sqljs

Interactive Demo

-

Exploring Car Jaune GTFS data (Martinique, France)

+

Exploring Car Jaune GTFS data (La Réunion, France)

+

Operated by Transdev Outre-Mer and GIE Activ'

@@ -35,15 +36,18 @@

Interactive Demo