Commit Graph

1757 Commits

Author SHA1 Message Date
Sean Morley
234a86a379 feat: add PDF export functionality for collection overview and itinerary 2026-01-07 17:28:05 -05:00
Sean Morley
f315f85c58 feat: enhance internationalization support in CollectionMap and CollectionStats components
- Added translation support for various labels and messages in CollectionMap.svelte and CollectionStats.svelte using svelte-i18n.
- Updated English and Chinese locale files to include new translation keys for improved user experience.
- Simplified the rendering of recommendation views in the collections page.
2026-01-07 15:24:06 -05:00
Nick Petrushin
c53eb6b2fe Add Dev Container + WSL install docs and link in install guide (#944) (#951) 2026-01-07 13:15:38 -05:00
Sean Morley
0c6a99744c feat: enhance CollectionItineraryPlanner and CollectionStats with dynamic links and transport type normalization 2026-01-07 13:14:20 -05:00
Sean Morley
c2229e9672 fix: update appVersion to v0.12.0-pre-dev-010726 2026-01-07 11:45:55 -05:00
Sean Morley
074729e14c fix: specify full path for python3 in cron job and add shell and path variables 2026-01-06 19:02:31 -05:00
Sean Morley
2f9a3f20ca feat: add functionality to change day and move items to trip-wide itinerary
- Implemented changeDay function in ChecklistCard, LocationCard, LodgingCard, NoteCard, and TransportationCard components to allow users to change the scheduled day of items.
- Added a button to move items to the global (trip-wide) itinerary in the aforementioned components, with appropriate dispatch events.
- Enhanced CollectionItineraryPlanner to handle moving items to the global itinerary and added UI elements for unscheduled items.
- Updated ItineraryDayPickModal to support the deletion of source visits when moving locations.
- Added new translations for "Change Day" and "Move Trip Wide" in the English locale.
2026-01-06 16:24:56 -05:00
Sean Morley
a46e42c545 feat: enhance itinerary management by removing old items on date change for notes and checklists; normalize date handling in CollectionMap 2026-01-06 12:55:15 -05:00
Sean Morley
e602639877 feat: add CollectionStats component for detailed trip statistics
- Implemented CollectionStats.svelte to display various statistics related to the collection, including distances, activities, and locations visited.
- Enhanced CollectionMap.svelte to filter activities based on date range using new getActivityDate function.
- Updated LocationSearchMap.svelte to handle airport mode for start and end locations.
- Modified types.ts to include is_global property in CollectionItineraryItem for trip-wide items.
- Updated +page.svelte to integrate the new stats view and manage view state accordingly.
2026-01-06 12:06:50 -05:00
Sean Morley
75b32d7c1d feat: add dynamic lodging icons based on type in CollectionMap component 2026-01-05 16:58:05 -05:00
Sean Morley
5d59eec261 feat: add collaborator serialization and display in collections
- Implemented `_build_profile_pic_url` and `_serialize_collaborator` functions for user profile picture URLs and serialization.
- Updated `CollectionSerializer` and `UltraSlimCollectionSerializer` to include collaborators in the serialized output.
- Enhanced `CollectionViewSet` to prefetch shared_with users for optimized queries.
- Modified frontend components to display collaborators in collection details, including profile pictures and initials.
- Added new localization strings for collaborators.
- Refactored map and location components to improve usability and functionality.
- Updated app version to reflect new changes.
2026-01-05 16:39:18 -05:00
Sean Morley
24e27ae3b1 Refactor collection page for improved localization and code clarity
- Removed unused imports and consolidated cost category labels to be reactive.
- Updated cost summary function to accept localized labels.
- Enhanced localization for various UI elements, including buttons, headings, and statistics.
- Improved user feedback messages for better clarity and consistency.
- Ensured all relevant text is translatable using the i18n library.
2026-01-05 14:34:00 -05:00
Sean Morley
a72d300209 feat: implement cleanup of out-of-range itinerary items and notify users of potential impacts on itinerary when dates change 2026-01-05 13:05:08 -05:00
Sean Morley
c47ffdfc38 feat: add CollectionItineraryDay model and related functionality for itinerary day metadata management 2026-01-05 12:36:54 -05:00
Sean Morley
398dc06571 feat: add cron job for syncing visited regions and cities, enhance Docker and supervisord configurations 2026-01-05 11:46:19 -05:00
Sean Morley
1651e7dfa7 feat: enhance extractIsoCode function to handle cases without city information and update CollectionMap to bind user data 2026-01-04 16:21:59 -05:00
Sean Morley
db89c4e2b7 feat: update extractIsoCode function to include additional ISO3166 levels for improved region matching 2026-01-04 15:32:29 -05:00
Sean Morley
8cff832621 feat: enhance extractIsoCode function with normalization for locality matching 2026-01-04 13:29:38 -05:00
Sean Morley
d30eb55ea4 feat: enhance ISO code extraction and region matching logic in extractIsoCode function 2026-01-04 13:12:55 -05:00
Sean Morley
4de2b7ba2d feat: enhance map functionality with search and zoom features
- Updated availableViews in collection page to include map view based on lodging and transportation locations.
- Added search functionality to the map page, allowing users to filter pins by name and category.
- Implemented auto-zoom feature to adjust the map view based on filtered search results.
- Introduced a search bar with a clear button for better user experience.
2026-01-03 23:20:33 -05:00
Sean Morley
0bf29b72b5 feat: add Development Timeline link to overview and create timeline documentation 2026-01-03 22:22:09 -05:00
Sean Morley
2a9a205c97 feat: add price and currency fields to locations, lodging, and transportation components
- Introduced price and price_currency fields in LocationModal, LodgingDetails, LodgingModal, TransportationDetails, and TransportationModal components.
- Implemented MoneyInput and CurrencyDropdown components for handling monetary values and currency selection.
- Updated data structures and types to accommodate new price and currency fields across various models.
- Enhanced cost summary calculations in collections and routes to display total costs by currency.
- Added user preference for default currency in settings, affecting new item forms.
- Updated UI to display price information in relevant components, ensuring consistent formatting and user experience.
2026-01-03 16:22:48 -05:00
Sean Morley
84d176c028 feat: enhance LodgingCard and TransportationCard components with expandable details and improved layout 2026-01-03 14:48:53 -05:00
Sean Morley
6a4b965391 chore: update .env.example to include account email verification configuration 2026-01-02 17:44:29 -05:00
Sean Morley
210973245f feat: enhance hero image handling in collection view by prioritizing primary image 2026-01-02 17:18:12 -05:00
Sean Morley
fe1ed1d9a6 Refactor calendar components and enhance event detail handling
- Replaced direct calendar implementation with a reusable CalendarComponent in the calendar route.
- Introduced EventDetailsModal for displaying event details, improving modularity and readability.
- Added functionality to fetch event details asynchronously when an event is clicked.
- Implemented ICS calendar download functionality with loading state management.
- Enhanced collections page to support calendar view, integrating event handling and timezone management.
- Improved lodging and transportation pages to display local time for stays and trips, including timezone badges.
- Cleaned up unused code and comments for better maintainability.
2026-01-02 16:39:53 -05:00
Sean Morley
1b64f8db57 feat: add primary image support to Collection model, serializers, and UI components 2026-01-02 13:21:46 -05:00
Sean Morley
00914f5296 feat: add travel duration and GPX distance calculation to Transportation model and UI 2026-01-02 12:55:20 -05:00
Sean Morley
0e65929599 feat: add details view for checklist and note cards with edit functionality 2026-01-02 12:00:46 -05:00
Sean Morley
8cc8c66770 feat: add initial visit date support in ChecklistModal and NoteModal, with UI suggestions for prefilled dates 2026-01-02 11:49:20 -05:00
Sean Morley
d456a48f29 fix: remove unnecessary cache decorator from globespin function 2026-01-02 11:32:42 -05:00
Sean Morley
9bef2a074e fix: improve dropdown close behavior by handling multiple event types 2026-01-02 11:30:46 -05:00
Sean Morley
736f95213e feat: enhance backup export functionality with itinerary items and export IDs 2026-01-02 11:05:28 -05:00
Sean Morley
121d55c3d7 chore: update copyright year to 2026 in various files 2025-12-31 10:22:06 -05:00
Sean Morley
1b917db997 feat: integrate CollectionMap component in collections page and update map titles in lodging and transportation pages
- Replaced inline map implementation with CollectionMap component in collections/[id]/+page.svelte for better modularity.
- Updated the map title in lodging/[id]/+page.svelte to reflect lodging context.
- Updated the map title in transportations/[id]/+page.svelte to reflect transportation context.
- Added functionality to collect and render GeoJSON data from transportation attachments in transportations/[id]/+page.svelte.
2025-12-30 14:17:20 -05:00
Sean Morley
0e51b37a89 Enhance collection management with modal updates and item handling 2025-12-30 11:57:48 -05:00
Sean Morley
52712bfbbf Refactor code structure for improved readability and maintainability 2025-12-28 17:25:59 -05:00
Sean Morley
8a9d78715e Merge branch 'development' of github.com:seanmorley15/AdventureLog into development 2025-12-28 16:55:08 -05:00
Lars Lehmann
a92029f310 Make sure reverse geocoding uses correct key for cities (#938)
* Reorder town and county checks in geocoding.py

Fix detection if only town exists for a location but county is no city name

* Use address keys only if city is found
2025-12-28 16:54:54 -05:00
Lars Lehmann
59bec17483 Use address keys only if city is found 2025-12-28 20:29:08 +01:00
Lars Lehmann
f4faa4c336 Reorder town and county checks in geocoding.py
Fix detection if only town exists for a location but county is no city name
2025-12-28 18:57:15 +01:00
Sean Morley
6f923f0181 feat: implement date validation for itinerary items and add day picker modal for scheduling 2025-12-27 16:21:44 -05:00
Sean Morley
65fcd94898 feat: add start_code and end_code fields to Transportation model and update related components 2025-12-27 15:26:50 -05:00
Sean Morley
fd463b428b feat: add Transportation modal component and related routes
- Implemented TransportationModal component for creating and editing transportation entries.
- Added server-side loading for transportation details in the new route [id]/+page.server.ts.
- Created a new Svelte page for displaying transportation details with image and attachment handling.
- Integrated modal for editing transportation in the transportation details page.
- Updated lodging routes to include a modal for editing lodging entries.
- Removed unused delete action from lodging server-side logic.
2025-12-26 19:03:33 -05:00
Sean Morley
b660f4f042 feat: implement lodging detail page with server-side loading and image modal functionality
- Added a new server-side load function to fetch lodging details by ID.
- Created a new Svelte component for the lodging detail page, including image carousel and map integration.
- Implemented a modal for displaying images with navigation.
- Enhanced URL handling in the locations page to only read parameters.
2025-12-26 13:21:03 -05:00
Sean Morley
c8cedcd9db feat: enhance lodging management with date validation and update messages 2025-12-26 11:01:25 -05:00
Sean Morley
e3e05b5ba3 fix: update contentType in ImageManagement component to 'lodging' for correct media handling 2025-12-23 16:57:33 -05:00
Sean Morley
b521e54d9e feat: add LodgingMedia and LodgingModal components for managing lodging details and media attachments
feat: implement LocationSearchMap component for interactive location searching and mapping functionality
2025-12-23 16:54:22 -05:00
Sean Morley
9919f0c15f Component folder structure changes 2025-12-23 10:22:58 -05:00
Sean Morley
2db1f7de0e feat: add status and days until start fields to collections with filtering options 2025-12-22 21:40:23 -05:00