1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 23:09:37 +02:00
Commit graph

14 commits

Author SHA1 Message Date
Sean Morley
1323d91e32 Add timezone support for visits, transportation, and lodging
- Introduced TIMEZONES constant in models.py to store valid timezone options.
- Updated Visit, Transportation, and Lodging models to include timezone fields.
- Modified serializers to include timezone fields in VisitSerializer, TransportationSerializer, and LodgingSerializer.
- Enhanced DateRangeCollapse component to handle timezone selection and formatting.
- Implemented timezone formatting functions in LodgingCard and TransportationCard components.
- Updated LodgingModal and TransportationModal to bind timezone data.
- Added VALID_TIMEZONES to dateUtils for consistent timezone management across the application.
2025-05-10 11:59:56 -04:00
Sean Morley
2c50ca0b1a Refactor date handling components: Replace DateRangeDropdown with DateRangeCollapse
- Introduced DateRangeCollapse.svelte to manage date range selection with timezone support.
- Removed DateRangeDropdown.svelte as it was redundant.
- Updated LodgingModal and TransportationModal to utilize DateRangeCollapse for date selection.
- Enhanced date conversion utilities to handle all-day events correctly.
- Adjusted TimezoneSelector for improved accessibility and focus management.
- Updated date handling logic in dateUtils.ts to support all-day events.
- Modified test page to reflect changes in date range component usage.
2025-05-09 10:24:29 -04:00
Sean Morley
85b4db87ec refactor: Simplify date handling by replacing updateLocalDates and updateUTCDates with updateLocalDate and updateUTCDate functions 2025-04-19 21:53:17 -04:00
Sean Morley
c12f94855d feat: Refactor date handling in TransportationModal and add utility functions for date conversion and validation 2025-04-19 21:44:40 -04:00
Sean Morley
6942f5e1bb feat: Add TimezoneSelector component and integrate Luxon for date handling 2025-04-18 23:06:36 -04:00
Sean Morley
1dc8e10758 feat: Add "all day" localization strings for multiple languages and enhance transportation date handling 2025-03-18 17:40:32 -04:00
Sean Morley
ea36b104b6 feat: Add Transportation and Lodging models to AdventureViewSet; update Avatar and TransportationModal components for improved user experience 2025-02-22 10:37:22 -05:00
Sean Morley
b5d6788c11 feat: Add location_name to ReverseGeocode type and implement location fetching in stats view 2025-02-15 19:44:11 -05:00
Sean Morley
697c40fca0 Enhance TransportationCard unlinked state logic and improve date handling; update TransportationModal for conditional rendering and add new background image in JSON. 2024-12-28 10:56:25 -05:00
Sean Morley
8f7551f4be Enhance unlinked state logic for checklists and notes; update button layout in modals 2024-12-26 22:09:17 -05:00
Sean Morley
c9dd5fe33d Add region map to worldtravel region page 2024-12-20 15:55:30 -05:00
Sean Morley
d6eb4edddd Refactor map component styles and update transportation location formatting 2024-12-19 21:44:31 -05:00
Sean Morley
c3fddb1889 Add delete confirmation modals for notes, checklists, and transportation 2024-12-19 19:07:23 -05:00
Sean Morley
7c68dc839a Add geographic coordinates to Transportation model and update related components 2024-12-19 18:46:52 -05:00