agenda/tests
Edward Betts 574b4feb1f trip: redesign itinerary display and add trip list macro
- Add render_trip_element macro to macros.html; use it in trip_item for
  the trip list page, giving a consistent one-line-per-element format
  with emoji, route, times, duration, operator, distance, and CO₂
- Redesign trip_page.html itinerary: day headers use date-only (no year),
  condense check-out to a single accent line, show time-only on transport
  cards, humanise duration (Xh Ym), km-only distance, add CO₂ for all
  transport modes, fix seat display for integer seat values
- Fix UndefinedError on /trip/past caused by absent 'arrive' key (Jinja2
  Undefined is truthy) and date-only depart/arrive fields (no .date())
- Improve mobile map layout: text column before map in HTML order, reduce
  mobile map heights, hide toggle button on mobile
- Add trips.css with design system (Playfair Display / Source Sans 3 /
  JetBrains Mono, navy/gold/amber palette, card variants by type)
- Add tests/test_trip_list_render.py covering the rendering edge cases

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 09:15:51 +00:00
..
test_accommodation.py Add comprehensive test coverage for 8 modules 2025-07-20 11:39:49 +02:00
test_agenda.py Add comprehensive tests and fix geomob URL bug 2025-07-20 01:31:19 +02:00
test_airbnb.py Refactor Airbnb parsing into reusable library 2025-07-18 10:35:26 +02:00
test_birthday.py Add comprehensive test coverage for 8 modules 2025-07-20 11:39:49 +02:00
test_bristol_waste.py Add comprehensive tests and fix geomob URL bug 2025-07-20 01:31:19 +02:00
test_busy.py Refactor get_location_for_date to use trip data directly 2025-07-16 12:08:19 +02:00
test_carnival.py Add comprehensive test coverage for 8 modules 2025-07-20 11:39:49 +02:00
test_conference.py Add comprehensive tests for conference module. 2025-07-20 01:14:24 +02:00
test_domains.py Add comprehensive test coverage for 8 modules 2025-07-20 11:39:49 +02:00
test_events_yaml.py Add comprehensive test coverage for 8 modules 2025-07-20 11:39:49 +02:00
test_fx.py Add comprehensive test coverage for 8 modules 2025-07-20 11:39:49 +02:00
test_geomob.py Add comprehensive tests and fix geomob URL bug 2025-07-20 01:31:19 +02:00
test_gwr.py Add tests for GWR. 2025-07-20 01:11:07 +02:00
test_schengen.py Add comprehensive tests for Schengen area functionality 2025-07-20 07:34:06 +02:00
test_school_holiday.py Track dates of English school holidays 2026-02-21 18:05:19 +00:00
test_sun.py Add comprehensive test coverage for 8 modules 2025-07-20 11:39:49 +02:00
test_thespacedevs.py Keep active crewed missions on launches page 2026-02-21 16:00:52 +00:00
test_trip_list_render.py trip: redesign itinerary display and add trip list macro 2026-03-03 09:15:51 +00:00
test_trip_stats.py Move trip new-country filtering into stats 2026-01-15 22:53:17 +00:00
test_utils.py Add tests for utility functions 2024-07-07 12:02:21 +01:00