1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 07:19:36 +02:00
Commit graph

628 commits

Author SHA1 Message Date
Sean Morley
c828f86570
Change note preview to render markdown content 2025-05-22 21:17:21 -04:00
Sean Morley
a1062e72cf Enhance Adventure model and serializers with visited status logic and toast notifications for marking visits 2025-05-22 21:13:31 -04:00
Florian Meinicke
274dafc47d Change note preview to render markdown content
in the Collection/Itinerary view

Closes #627
2025-05-21 07:33:20 +00:00
Sean Morley
d87d0e807f Fixes [BUG] Cannot change a adventure from Private to Public #617 2025-05-19 11:21:40 -04:00
Sean Morley
9435ccfa5a Add arrival and departure date labels to localization files 2025-05-13 12:54:06 -04:00
Sean Morley
890332f4b6 Update date validation to use UTC comparison and enhance documentation 2025-05-13 12:50:43 -04:00
Sean Morley
b0e8c025fc Adjust CollectionCard styles: remove overflow-hidden and increase dropdown width 2025-05-11 12:43:31 -04:00
Sean Morley
6de737bbf8 Replace crypto.randomUUID with a unique ID generation method for visit objects and timezone selector instance 2025-05-11 11:50:29 -04:00
Sean Morley
4af80eb584 Add arrival and departure timezone translations in multiple languages 2025-05-10 22:10:55 -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
330fabb3e0 Fix validation in Lodging model to check check-in and check-out dates; update LodgingCard to conditionally display timezone 2025-05-10 13:17:01 -04:00
Sean Morley
8538aa0b7c Validate ISO date in toLocalDatetime function and return empty string for invalid dates 2025-05-10 13:02:44 -04:00
Sean Morley
c9fa1d55f7 Refactor toLocalDatetime function to improve ISO date handling and return format 2025-05-10 13:02:06 -04:00
Sean Morley
ab189c8aff Improve UTC date formatting by adding validation for ISO date strings in formatUTCDate function 2025-05-10 12:49:43 -04:00
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
b30d6df964 Enhance timezone handling in AdventureModal and DateRangeCollapse components; add support for departure and arrival timezones in the TimezoneSelector and update localization for new timezone labels. 2025-05-10 10:47:00 -04:00
Sean Morley
89c4f1058a Fix date formatting for constraint dates in DateRangeCollapse component 2025-05-09 23:33:58 -04:00
Sean Morley
13bc748d0d Merge branch 'development' of github.com:seanmorley15/AdventureLog into development 2025-05-09 23:27:54 -04:00
Sean Morley
c6177c5a05 Refactor DateRangeCollapse component layout and improve styling 2025-05-09 23:27:53 -04:00
Sean Morley
e9c333642f
Merge pull request #589 from lkiesow/sm-hide-al
Move hiding AdventureLog to first Tailwind breakpoint
2025-05-09 23:13:08 -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
a91018d792
Merge pull request #572 from lkiesow/theme-picker
Harmonize language and theme picker interface
2025-05-09 21:32:47 -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
73c664e549
Merge pull request #569 from lkiesow/note-preview
Show Note Preview on Card
2025-05-09 21:29:51 -04:00
Sean Morley
5e1f17fe2e
Merge pull request #591 from lkiesow/menu-text-size
Adjust main menu font size
2025-05-09 21:27:44 -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
ab12a2e7d8
Merge pull request #588 from lkiesow/collection-card-width
Unify collection card width
2025-05-09 21:19:20 -04:00
Sean Morley
0af0218a34
Merge branch 'development' into patch-1 2025-05-09 21:18:13 -04:00
Sean Morley
04f9227ae6 Add default category icon and improve visit display:
- Set default icon for empty category in AdventureModal
- Enhance layout for visit buttons and validation messages in DateRangeCollapse
- Update localization files to include "no visits" strings in multiple languages
2025-05-09 21:17:11 -04:00
Sean Morley
3caebd37dd Add additional localization strings for itinerary features in Polish, Swedish, and Chinese
- Added "additional_info", "invalid_date_range", "sunrise_sunset", and "timezone" keys to pl.json, sv.json, and zh.json.
- Updated existing strings for consistency across languages.
2025-05-09 15:59:48 -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
827b150965 Merge branch 'development' of github.com:seanmorley15/AdventureLog into development 2025-05-06 14:38:33 -04: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
Shaun Walker
645cc9728b
Update en.json - Correct spelling of Search 2025-05-03 20:50:06 +10:00
Sean Morley
d99ca18e1c
Merge pull request #590 from lkiesow/remove-invisible-mapmarker
Remove Invisible MapMarker
2025-04-30 22:29:27 -04:00
lesensei
f1f1cda799
Update fr.json 2025-04-27 18:05:27 +02: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
5f7bf52758
Adjust main menu font size
This patch slightly adjusts the font size of list items in the main
menu. I probably wouldn't mind making it even a bit bigger, but that's
probably worth a separate discussion.

Reasons for this adjustment:

1. Don't use different font sizes in the same lement.
   While the buttons rendered at 14px, the search text rendered at 16px.
   They should have the same font-size.

2. The buttons were below the base text size controlled by Tailwind CSS.
   This means, it also puts the font size below the recommended
   font-size for mobile devices (Google/Apple guidelines). This patch
   puts them at the base level.
2025-04-27 16:08:03 +02:00
Lars Kiesow
911ce67d9f
Remove Invisible MapMarker
This patch removes the map marker from the adventures list item of the
main menu dropdown. It is not being rendered and given that all other
elements do not have an icon, it is probably a remnant of old code and
left by accident.
2025-04-27 16:03:16 +02:00
Lars Kiesow
932036bc8b
Move hiding AdventureLog to first Tailwind breakpoint
This is a slight improvement to pull request #576. I noticed that on a
tablet, the AdventureLog in the navigation bar would not render, even
though there would be enpugh free space. This patch moves the breakpoint
for hiding the text one step further towards smaller devices.
2025-04-27 15:41:43 +02:00
Lars Kiesow
cd494fefee Unify collection card width
The width of collection cards can vary quite a bit. Additionally, the
cards look different than the cards within a collection. It would be
nice if the design would be more or leyy the same for all of them.

This patch adjusts the collection card design by adapting the classes
from the cards within the collection (I literally just copied the
classes from ChecklistCard). This is another step in making the user
interface more homogeneous.
2025-04-27 15:30:12 +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
56bbbb0ffb Implement code changes to enhance functionality and improve performance 2025-04-26 11:22:17 -04:00
Sean Morley
228f79dbc3
Merge pull request #585 from lkiesow/node22
Upgrade Node.js to Version 22
2025-04-25 10:02:52 -04:00