Commit Graph

402 Commits

Author SHA1 Message Date
Sean Morley
93a489a778 feat: add CollectionAllView component for unified display of adventures, transportations, lodging, notes, and checklists with filtering and sorting capabilities
i18n: update translations for collection contents and sorting options in multiple languages

refactor: replace individual sections for adventures, transportations, lodging, notes, and checklists in the collection page with the new CollectionAllView component
2025-06-18 14:05:39 -04:00
Sean Morley
cee9345bf1 feat: Enhance CollectionLink component with search functionality and statistics display
- Implemented search functionality to filter collections based on user input.
- Added statistics display for linked collections and total collections.
- Updated modal layout for better user experience, including a search bar and clear filters option.
- Improved accessibility and visual design of the modal and its components.

refactor: Update localization files for multiple languages

- Removed outdated delete collection warning messages.
- Added new keys for adventures available, collections linked, and other relevant phrases in various languages.
- Ensured consistency across localization files for better user experience.

fix: Adjust styles in worldtravel and collections pages

- Updated styles for quick stats section in worldtravel page for improved visibility.
- Ensured proper handling of sorting parameters in collections page navigation.
2025-06-15 18:28:48 -04:00
Sean Morley
977843cbc6 fix(collections): remove debug log for API URL fetching 2025-06-14 22:01:56 -04:00
Sean Morley
b0e8000cf8 Refactor UI components for improved localization and styling
- Updated various headings and text elements to utilize localization functions for better internationalization support.
- Simplified gradient styles in headings to enhance readability.
- Adjusted adventure and travel statistics sections to reflect localized titles and descriptions.
- Enhanced filter options and buttons with localized text for clarity.
- Modified Tailwind CSS configuration to include a new color 'dim' for future styling needs.
2025-06-14 18:55:59 -04:00
Sean Morley
b5931c6c23 refactor(worldtravel): remove insert_id fields from city, country, and region models; update related migration
feat(search): enhance search results display with total results count and improved layout
fix(profile): update achievement levels based on adventure count; remove unused quick actions
refactor(shared): delete unused shared collections route and related components
feat(worldtravel): improve interactive map functionality and layout in world travel detail view
2025-06-14 14:05:30 -04:00
Sean Morley
151c76dbd1 Enhance user profile and world travel pages with improved UI and functionality
- Updated user profile page to include achievement calculations and enhanced styling for user information and statistics.
- Added icons for better visual representation of user stats and achievements.
- Improved layout for displaying adventures and collections with conditional rendering for empty states.
- Refactored world travel page to include search and filter functionality for cities, with a sidebar for progress and stats.
- Implemented completion percentage and progress bars for visited cities.
- Enhanced map integration with markers for visited and not visited cities, including toggle options for map labels.
2025-06-14 11:10:59 -04:00
Sean Morley
d4c76f8718 feat(map): implement dynamic basemap URL based on theme; update map styles across components 2025-06-13 23:49:14 -04:00
Sean Morley
badeac867d fix(worldtravel): remove unnecessary hover scale effect on country cards 2025-06-13 21:48:35 -04:00
Sean Morley
a99553ba0d refactor: remove archived collections page and related components; enhance world travel pages with improved UI and filtering options 2025-06-13 21:41:10 -04:00
Sean Morley
14eb4ca802 feat(collections): enhance collections page with sorting, filtering, and pagination features
- Updated the collections loading logic to include sorting and pagination parameters from the URL.
- Refactored the collections page to manage owned, shared, and archived collections with a tabbed interface.
- Added sorting functionality to allow users to sort collections by different attributes.
- Implemented a sidebar for filtering and sorting options.
- Improved the UI for better user experience, including a floating action button for creating new collections.
- Added a not found page for collections that do not exist, enhancing error handling.
2025-06-13 12:11:42 -04:00
Sean Morley
3f9a6767bd feat: Enhance Adventure and Collection Management
- Added support for multiple collections in AdventureSerializer, allowing adventures to be linked to multiple collections.
- Implemented validation to ensure collections belong to the current user during adventure creation and updates.
- Introduced a signal to update adventure publicity based on the public status of linked collections.
- Updated file permission checks to consider multiple collections when determining access rights.
- Modified AdventureImageViewSet and AttachmentViewSet to check access against collections instead of a single collection.
- Enhanced AdventureViewSet to support filtering and sorting adventures based on collections.
- Updated frontend components to manage collections more effectively, including linking and unlinking adventures from collections.
- Adjusted API endpoints and data structures to accommodate the new collections feature.
- Improved user experience with appropriate notifications for collection actions.
2025-06-12 15:54:01 -04:00
Александр
3f89fad67f Update +layout.svelte 2025-06-11 14:59:41 +07:00
Sean Morley
c0f2d060db fix: update marker colors based on visit status for countries, regions, and cities 2025-06-06 11:00:46 -04:00
Sean Morley
9d817a5ce9 feat: add Immich server connection validation and error handling in integration settings 2025-06-05 14:28:37 -04:00
Sean Morley
45e195a84e feat: update Immich integration to use dynamic image URLs and enhance image retrieval logic 2025-06-02 21:25:07 -04:00
Sean Morley
937db00226 feat: add Google Maps integration with description and display status in settings 2025-06-01 23:09:48 -04:00
Sean Morley
06787bccf6 feat: enhance Immich integration with local copy option and validation for image handling 2025-06-01 19:55:12 -04:00
Sean Morley
e89f2a947e feat: enhance image navigation in adventure view with improved controls and indicators 2025-05-31 16:20:24 -04:00
Sean Morley
d41d46f15d Remove commented-out logging statements in login handling for cleaner code 2025-05-28 11:52:53 -04:00
Sean Morley
0adfdfa62f Refactor login cookie handling to improve parsing and error handling; ensure multiple Set-Cookie headers are processed correctly. 2025-05-28 11:43:03 -04:00
Sean Morley
fa52af8ad1 Add detailed logging for login process and cookie handling 2025-05-28 11:31:38 -04:00
Sean Morley
9df0338c3d Add new translations for distance, itinerary, and linked items in multiple languages; update UI to reflect new localization keys. 2025-05-28 10:51:26 -04:00
Sean Morley
56b8b55b84 Refactor deleteCollection function to use DELETE method for API call; update endpoint to match new API structure. 2025-05-27 12:39:38 -04:00
Sean Morley
9e304f81fe Fix date display logic to handle undefined visit dates in DateRangeCollapse and adventure page 2025-05-24 18:56:59 -04:00
Sean Morley
c0b9013576 Remove OpenStreetMap button from recommendations in collections page 2025-05-24 18:06:25 -04:00
Sean Morley
ce9faa28f8 Refactor recommendations feature: add RecommendationsViewSet, update routing, and remove OverpassViewSet 2025-05-24 18:00:05 -04:00
Sean Morley
4404064263 Adjust heading margin for improved layout on adventures page 2025-05-23 23:15:39 -04:00
Sean Morley
d3d74f9f35 Add localization support for adventure and settings pages; enhance UI elements
- Updated Chinese translations in zh.json for various UI components including coordinates, sun times, and authentication settings.
- Refactored adventure page to utilize localization for visit counts, descriptions, and other text elements.
- Improved settings page by integrating localization for profile, security, email management, and integration sections.
- Enhanced visual consistency by updating card backgrounds and adding localized text for buttons and labels.
2025-05-23 17:22:28 -04:00
Sean Morley
e856a57498 Refactor code structure for improved readability and maintainability 2025-05-23 12:15:44 -04:00
Sean Morley
0d5792a99a Refactor adventure page layout and enhance UI components
- Updated the layout of the adventure page to improve visual hierarchy and user experience.
- Reorganized the structure of the hero section, including image navigation and quick info cards.
- Enhanced the display of adventure details, including user info, visit history, and sun times.
- Improved the handling of attachments and external links with better styling and accessibility.
- Added functionality for copying coordinates and links to the clipboard.
- Refined the map section to provide clearer location information and improved marker display.
- Cleaned up unused imports and optimized the code for better readability.
2025-05-23 11:23:24 -04:00
Sean Morley
2ccb8f5e0b Enhance geocoding functionality with host resolution and improved error handling; update AdventureModal for loading state management; refine LocationDropdown toast display logic; adjust world travel page for better documentation link visibility. 2025-05-23 10:46:37 -04:00
Sean Morley
d9d754a87c Fix date handling in DateRangeCollapse and TransportationModal; improve hash change handling in +page.svelte 2025-05-10 22:03:31 -04:00
Sean Morley
abc2d86dcf Enhance visit date display with timezone support and improved formatting 2025-05-10 21:40:18 -04:00
Sean Morley
a5e44d29e6 Merge pull request #594 from lkiesow/mobile-map-full-width
Full width map on mobile
2025-05-09 21:33:29 -04:00
Sean Morley
9f86688fe9 Merge branch 'development' of github.com:seanmorley15/AdventureLog into development 2025-05-09 21:31:39 -04:00
Sean Morley
4ce7ed7045 Improve layout by wrapping map link text in a paragraph element 2025-05-09 21:31:37 -04:00
Sean Morley
b74fe90512 Merge pull request #586 from lkiesow/collection-dropdown
Collection view selection on mobile devices
2025-05-09 21:30:54 -04:00
Sean Morley
f3f75368df Merge pull request #593 from lkiesow/google-maps
Open in Apple Maps or Google Maps
2025-05-09 21:19:58 -04:00
Sean Morley
311e2847cb Enhance visit display: Improve layout and formatting of visit dates and notes 2025-05-09 15:19:17 -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
Lars Kiesow
bbad7b890c Add support for OpenStreetMap
This patch adds an option to open an item in OpenStreetMap as well as in
Google Maps and Apple Maps.
2025-05-07 21:11:42 +02:00
Sean Morley
7442bd70cd Update version to 0.9.0, add DateRangeDropdown component, enhance LodgingModal with price step, and add invalid date range message 2025-05-06 14:38:31 -04:00
Lars Kiesow
f31db982ce Full width map on mobile
This patch lets the map in the adventure details use the full screen
width on mobile instead of having one sixth of the screen empty.
2025-04-27 17:49:31 +02:00
Lars Kiesow
f6097a2d60 Open in Apple Maps or Google Maps
This patch provides the additional option to open a location in Google
maps as an alternative to Apple Maps.
2025-04-27 17:42:51 +02:00
Lars Kiesow
e40ea028d0 Collection view selection on mobile devices
The tab-based selection of views in a collection doesn't really work on
mobile devices since it needs too much horizontal space. This leads to
text overflowing buttons as well as half of the tab bar disappearing
behind the right edge of the phone screen.

This patch modifies the navigation by keeping the current tabs in
desktop mode, but switching to a very compact dropdown on mobile
devices.

The functionality of both elements is identical.
2025-04-26 22:53:45 +02:00
Sean Morley
7499722867 feat: Add server error handling and SVG asset for 500 error page 2025-04-18 21:55:30 -04:00
Sean Morley
0ce101594f Merge pull request #550 from lkiesow/collection-browser-navigation
Enable Browser Navigation in Collections
2025-04-06 20:27:25 -04:00
Sean Morley
af2778ff61 Merge pull request #548 from lkiesow/users-reedirect
Prevent unnecessary redirect when requesting users
2025-04-06 20:23:53 -04:00
Lars Kiesow
8531855f46 Enable Browser Navigation in Collections
If you are in a collection – e.g on “All Linked Items” – and go into an
adventure, going back will cause you to end up on the itinerary. This is
quite annoying if you have a number of options for a trip linked already
but whenever you go back, you have to scroll up again, click on “All
Linked Items”, and scroll down again to get to the next adventure in
line.

This patch makes AdventureLog remember the tab you were in and going
back and forth in the browser history will actually work.
2025-04-06 21:09:27 +02:00
Lars Kiesow
af8a9acbae Prevent unnecessary redirect when requesting users
Opening the share dialog, the frontend is requesting `/auth/users/`
which is always redirected to `/auth/users`. That's an unnecessary extra
step.

This patch makes the front-end request `/auth/users` in the first place.
2025-04-06 14:37:37 +02:00