Commit Graph

791 Commits

Author SHA1 Message Date
Sean Morley
5dfe22609e Localization: update localization files with new keys and values 2026-01-09 16:50:39 -05:00
Sean Morley
1718bea316 feat: enhance localization for itinerary linking and transportation components 2026-01-09 16:30:51 -05:00
Sean Morley
4b0001d249 feat: enhance unscheduled items display with improved card interactions and accessibility 2026-01-09 15:48:23 -05:00
Sean Morley
49cf7f8f60 feat: enhance periodic sync logging and improve airport mode handling in LocationSearchMap 2026-01-09 14:32:14 -05:00
Sean Morley
f37d546525 feat: add airport and location search mode labels to localization file 2026-01-09 13:15:30 -05:00
Sean Morley
f4bf0a38bd feat: enhance LocationSearchMap and TransportationDetails components with initialization handling and airport mode logic 2026-01-09 13:10:27 -05:00
Sean Morley
50b5a95c49 feat: implement action menus and close event handling in card components 2026-01-09 10:31:50 -05:00
Sean Morley
1b1d801151 Refactor itinerary management and UI components
- Updated ItineraryViewSet to handle visit updates and creations more efficiently, preserving visit IDs when moving between days.
- Enhanced ChecklistCard, LodgingCard, TransportationCard, and NoteCard to include a new "Change Day" option in the actions menu.
- Improved user experience in CollectionItineraryPlanner by tracking specific itinerary items being moved and ensuring only the relevant entries are deleted.
- Added new location sharing options in LodgingCard and TransportationCard for Apple Maps, Google Maps, and OpenStreetMap.
- Updated translations in en.json for consistency and clarity.
- Minor UI adjustments for better accessibility and usability across various components.
2026-01-08 20:00:43 -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
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
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
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
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
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
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
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
Sean Morley
d5ca8f9c8e feat: add map center and zoom state management with URL synchronization 2025-12-22 21:12:03 -05:00
Sean Morley
4198b9e39f feat: add progress tracker for folder views to display visited and planned locations 2025-12-22 21:03:49 -05:00
Sean Morley
c970615294 feat: enhance map interaction for touch devices with custom popup handling 2025-12-22 18:22:18 -05:00
Sean Morley
e95f738638 feat: add FullMap component for enhanced map functionality with clustering support
- Introduced FullMap.svelte to handle map rendering, clustering, and marker management.
- Updated map page to utilize FullMap component, replacing direct MapLibre usage.
- Implemented clustering options and marker properties handling in FullMap.
- Added utility functions for resolving theme colors and managing marker states.
- Enhanced user experience with hover popups and improved loading states for location details.
- Updated app version to v0.12.0-pre-dev-122225.
2025-12-22 15:17:20 -05:00