Repository navigation
Claude/create gtfs sqljs module 011 c up nn k ltuvz d dz xyz fy rm - #13
Merged
chtitux merged 2 commits intoNov 5, 2025
Merged
Conversation
- Add comprehensive GTFS-RT documentation to README with examples - Replace all 'any' types with proper TypeScript types throughout codebase - Add protobuf type interfaces for RT data structures - Fix ESLint errors (unused imports) - Update demo HTML: - Change default GTFS URL to Car Jaune feed - Add GTFS-RT URL input form - Add Fetch RT Data button and auto-refresh toggle button - Add sections for displaying active alerts and tracked vehicles - All tests passing (77/77) - All lint checks passing
Demo Features Added: - GTFS URL changed to Car Jaune feed as default - GTFS-RT URL input form with Car Jaune RT feed as default - Fetch RT Data button (manual fetch) - Auto-refresh toggle button (10s interval with active state styling) - Active alerts display with route badges (colored by route) - Tracked vehicles count display - Realtime indicators on trips (RT badge, delay indicators) - Realtime stop times with delays shown prominently - Scheduled times grayed out when RT data available - Using proxy for all GTFS and GTFS-RT requests Technical Implementation: - Fetch realtime data via proxy URL - Auto-refresh with clearInterval management - Parse TranslatedString for alert headers/descriptions - Route badge generation with correct colors - Time conversion helpers (timeToSeconds, secondsToTime) - Trip and StopTime queries with includeRealtime flag - Typed interfaces for TripWithRealtime and StopTimeWithRealtime - Proper SqlJsStatic typing CSS Additions: - button-active class with pulse animation - alert-card, route-badge, vehicle-count-display - rt-indicator, delay-indicator with color classes - has-realtime, rt-time, scheduled-time styling - URL input section styling Build successful with all TypeScript checks passing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.