Commit graph

228 commits

Author SHA1 Message Date
Edward Betts af49dac232 Add new country count display to trip statistics
Show the number of new countries visited each year in parentheses next to the total country count.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 16:32:59 +02:00
Edward Betts d65981ef7e Reorganize navbar with Trip and Conference dropdowns
- Move trip-related pages (Future trips, Past trips, Trip statistics) to a "Trips" dropdown
- Move conference-related pages (Conferences, Past conferences) to a "Conferences" dropdown
- Position both dropdowns between Calendar and Travel in the navbar
- Maintain active state highlighting for dropdown items and parent dropdowns

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 16:18:41 +02:00
Edward Betts 06a7d03404 Update trip statistics CO2 display with transport breakdown
- Change label from "Flight CO₂" to "Total CO₂" for accuracy
- Add CO₂ breakdown by transport type (flight/train/ferry)
- Show values in kg for <1000kg, tonnes for ≥1000kg
- Track CO₂ emissions by transport type in stats calculation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 16:04:07 +02:00
Edward Betts 8363a581c7 Add trip linking and names to Schengen compliance report
- Add trip_date and trip_name fields to SchengenStay dataclass
- Implement extract_schengen_stays_with_trip_info() to associate stays with trips
- Update schengen_report.html to show trip names with clickable links
- Add Trip column to stays table and trip name column to compliance history
- Links navigate to individual trip pages using existing URL structure

Closes #197

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 15:06:09 +02:00
Edward Betts 1d37f92cfb Add margin to schengen report page 2025-07-15 13:54:20 +01:00
Edward Betts e95570a014 No need for title case in h1 2025-07-15 14:51:12 +02:00
Edward Betts fc31856f8c No need for title case 2025-07-15 14:48:18 +02:00
Edward Betts d2c4fa69ee Implement Schengen Area Compliance Report
How many close am I to 90 days in the last 180.

Fixes #193.
2025-07-15 14:43:37 +02:00
Edward Betts 084e5f44e3 Add conference count display to conference list sections
- Show count of conferences in each section (Current/Future/Past)
- Include proper pluralization (1 conference vs N conferences)
- Use Jinja2 template logic for count calculation and display

Fixes #195
2025-07-15 11:28:15 +02:00
Edward Betts 63c7c54bfc Show CO₂ for flights on trip list. 2025-05-26 10:07:37 -05:00
Edward Betts a66565a785 Show CO₂ for flights on travel page. 2025-05-26 04:48:13 -05:00
Edward Betts 9a5035d9fd Fix for flight number on trip page. 2025-05-12 13:45:26 +01:00
Edward Betts 503d39e6b8 Prefer ICAO flight number for some airlines 2025-04-28 12:13:23 +03:00
Edward Betts 8cd2335630 Add nowrap to conference list date fields 2025-04-18 14:48:22 +01:00
Edward Betts 24c3242189 Show CO₂ on stats page. 2025-01-30 13:34:36 +00:00
Edward Betts f5a8676336 Weekend page to show full year.
Highlight current week.
2025-01-24 20:49:16 +01:00
Edward Betts 2f574264e5 Show new badge next to new countries on travel stats page. 2025-01-24 20:19:25 +01:00
Edward Betts 340905ecff Less flags.
Only show flags for international trips to more than one country.
2025-01-24 20:01:41 +01:00
Edward Betts c3be926ff7 Current trip summary on index page
Closes: #169
2025-01-11 15:29:07 -06:00
Edward Betts 5ee0dc9c8d Move code from trip list to macros 2025-01-11 15:20:00 -06:00
Edward Betts 19ef9c24ba Show space launch images 2025-01-11 15:05:17 -06:00
Edward Betts 77f0b17b37 Bug fix trip stats page 2024-12-12 20:47:21 +00:00
Edward Betts 7a08c4b56d Adjust size of map on trip page to avoid scrollbar. 2024-11-13 14:32:00 +00:00
Edward Betts 1caf233075 Show airline counts on trip stats page 2024-11-10 21:02:37 +00:00
Edward Betts 9f1f64708f Remove old unused code. 2024-10-31 08:27:40 +00:00
Edward Betts 1ce82858ae Avoid empty 'Past' seciton on conference page 2024-10-31 08:26:10 +00:00
Edward Betts 6333587cc2 Add hover text for country flags on space launch page
Closes: #174
2024-10-23 07:10:31 +01:00
Edward Betts 34d1ee3b30 Add photo links to trip and day summaries
Enhance trip UI by adding photo links for authenticated
users. This provides quick access to relevant trip photos.
Closes: #184
2024-10-21 10:20:09 +01:00
Edward Betts 662808b545 Restore trip stats link in trip list 2024-10-21 09:52:21 +01:00
Edward Betts 3c0694de19 🇬🇧 Hide UK flags for all UK trips with show_flags logic 🏴
Implement show_flags property to conditionally display country flags for international trips. Remove unnecessary UK flags on purely UK-based trips. Closes: #183

🔧 Updated templates to use show_flags property.
📝 Adjusted map and trip details to reflect flag changes.
2024-10-19 19:43:48 +01:00
Edward Betts 81b0234794 Add map size toggle button to trip list page 2024-10-13 10:39:28 +01:00
Edward Betts 7587c3d3b7 Add map size toggle button to trip page
Closes: #178
2024-10-13 10:12:39 +01:00
Edward Betts 02fd6dbbe6 Bug fix train_row macro 2024-10-01 10:43:24 +01:00
Edward Betts 4b449d0d98 Show space launch weather concerns 2024-09-23 09:21:13 +01:00
Edward Betts 82b2f69005 Fix text wrapping on gaps page 2024-09-02 09:00:37 +01:00
Edward Betts 259642ff52 Show current trip on home page 2024-08-11 12:51:06 +02:00
Edward Betts 23aa70bb84 Add option to filter launches by orbit 2024-08-05 14:03:37 +02:00
Edward Betts 15c5053e44 Show page render time on events list 2024-08-04 12:01:54 +08:00
Edward Betts 11bc0419b3 Reorder accommodation list 2024-08-04 11:45:13 +08:00
Edward Betts 7169d1ba27 Improve support for adding a new currency 2024-08-04 11:44:44 +08:00
Edward Betts ef695af7af Show year on birthday page 2024-07-15 02:23:13 +08:00
Edward Betts 17eca6a95a Travel stats to show number of conference stats
Closes: #167
2024-07-10 19:28:56 +01:00
Edward Betts 4e328d401e No wrap for date in weekend list 2024-07-01 22:29:13 +03:00
Edward Betts b65d79cb63 Add filters for space launches 2024-07-01 22:29:13 +03:00
Edward Betts f4557d14e8 Show flight prices on individual trip pages
Closes: #153
2024-06-20 12:40:26 +01:00
Edward Betts b28d5241c6 Add missing calendar template 2024-06-19 22:16:22 +01:00
Edward Betts d91eab02ad Split recent events and calendar into separate pages.
Closes: #140
2024-06-19 22:15:32 +01:00
Edward Betts fcf935271c Market display filter
Closes: #158

Closes: #150
2024-06-18 06:51:45 +01:00
Edward Betts 0079f46a80 Improve display of countries on stats page 2024-06-17 16:28:45 +01:00
Edward Betts 40578196bc Show number of flights and trains on travel stats page
Closes: #161
2024-06-17 16:28:14 +01:00