diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-12-01 22:25:56 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-12-01 22:25:56 +0100 |
| commit | 3227c7bc6bd233c92b1cf54bec689f0582dca547 (patch) | |
| tree | 66405a8f51a4abe826f268009f2ed461e434df83 /src/gtfs_vigo_stops/stop_report.py | |
| parent | 6d15a6113d1c467d1a6113eea052882f4037dcf2 (diff) | |
refactor: replace StopSheet with StopSummarySheet and update related components
- Deleted StopSheet and StopSheetSkeleton components.
- Introduced StopSummarySheet and StopSummarySheetSkeleton components.
- Updated ConsolidatedCirculationCard to support a reduced view.
- Modified ConsolidatedCirculationList to accept a reduced prop.
- Adjusted map route to use StopSummarySheet.
- Cleaned up CSS styles related to the stop sheet components.
- Enhanced error handling and loading states in the new summary sheet.
- Updated stop report logic to filter out empty next streets.
Diffstat (limited to 'src/gtfs_vigo_stops/stop_report.py')
| -rw-r--r-- | src/gtfs_vigo_stops/stop_report.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtfs_vigo_stops/stop_report.py b/src/gtfs_vigo_stops/stop_report.py index 082a2e9..76eb90d 100644 --- a/src/gtfs_vigo_stops/stop_report.py +++ b/src/gtfs_vigo_stops/stop_report.py @@ -482,7 +482,7 @@ def get_stop_arrivals(feed_dir: str, date: str) -> Dict[str, List[Dict[str, Any] "shape_dist_traveled": getattr( stop_time, "shape_dist_traveled", 0 ), - "next_streets": next_streets, + "next_streets": [s for s in next_streets if s != ""], "starting_code": starting_code, "starting_name": starting_name, "starting_time": final_starting_time, |
