Commit Graph

432 Commits

Author SHA1 Message Date
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
Sean Morley
cd833884e8 Merge pull request #546 from eidsheim98/nb-locale
Norwegian translations
2025-04-01 16:41:26 -04:00
Nikolai Eidsheim
47c219affd Added Norwegian translation 2025-04-01 22:35:03 +02:00
Sean Morley
16a7772003 feat: Add additional adventure type and endpoint for sunrise/sunset information 2025-03-22 12:25:53 -04:00
Sean Morley
a3cd940065 feat: Pass collection data to adventure, transportation, lodging, and checklist components 2025-03-21 17:35:58 -04:00
Sean Morley
fe25f8e2c8 feat: Add start_date to collection ordering and enhance localization for itinerary features 2025-03-21 17:31:33 -04:00
Sean Morley
794df82ec6 feat: Enhance AdventureModal date handling for all-day events and improve localization in collections page 2025-03-21 16:30:03 -04:00
Sean Morley
f79b06f6b3 feat: Add troubleshooting guide for unresponsive login and registration, enhance collection modal alerts, and improve localization for itinerary features 2025-03-20 22:28:23 -04:00
Sean Morley
1042a3edcc refactor: Remove debug print statement from NoPasswordAuthBackend authentication method 2025-03-20 22:08:22 -04:00
Sean Morley
771579ef3d feat: Improve adventure date grouping to handle all-day events and enhance date formatting 2025-03-20 10:26:41 -04:00
Sean Morley
6e1fbbfc3a feat: Pass collection prop to various card components in the collections page 2025-03-19 13:49:46 -04:00
Sean Morley
f554bb8777 feat: Enhance date handling in AdventureModal and related components for improved localization and all-day event support 2025-03-18 21:07:34 -04:00
Sean Morley
876c5e83b4 feat: Implement chronological itinerary path visualization with GeoJSON for adventures, transportation, and lodging 2025-03-18 18:16:25 -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
9fd2a142cb feat: Update Visit model to use DateTimeField for start and end dates, and enhance AdventureModal with datetime-local inputs 2025-03-18 14:04:31 -04:00
Sean Morley
3b6d437f29 feat: Add search functionality for regions and cities in World Travel pages 2025-03-17 14:31:22 -04:00
Sean Morley
4e543fad55 feat: Enhance City and Lodging components with region and country names, and improve password disable functionality 2025-03-17 10:38:41 -04:00
Sean Morley
a38828eb45 feat: Implement disable password authentication for users with social accounts 2025-03-16 21:49:00 -04:00
Sean Morley
189cd0ee69 feat: Add origin and destination markers with connecting line for transportation routes 2025-03-16 12:35:42 -04:00
Sean Morley
c2fc249c92 feat: Add lodging types icons and update related components 2025-03-15 23:55:53 -04:00
Sean Morley
a640934370 [REQUEST] Add Lodgings to Map #509 2025-03-15 23:44:22 -04:00