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

596 commits

Author SHA1 Message Date
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
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
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
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
Lars Kiesow
3a8776c000
Show AdventureLog icon instead of text in mobile mode
This patch makes AdventureLog hide the text but show the app icon in
the navigation bar when in mobile mode.
2025-04-25 15:56:30 +02:00
Lars Kiesow
b8aa96b5b3
Improve overlapping on navbar on mobile devices
This patch makes it less likely for elements of the navigation bar to
overlap each other on mobile devices. It also makes spacing a bit more
homogeneous.

The patch basically just adjust some spacing as and hides the map icon
on mobile devices.
2025-04-25 15:56:20 +02:00
Lars Kiesow
be0e56728a
Upgrade Node.js to Version 22
This patch updates the Dockerfile to use Node.js 22 for running the
frontend. Given that the security support of Node.js 18 ends in 6 days
(30 Apr 2025), upgrading definitely makes sense.

Additionally, this also seems to fix the broken JSON generated by the
recently upgrraded version of @sveltejs/kit, thus fixing #584.
2025-04-25 14:19:07 +02:00
Sean Morley
85b4db87ec refactor: Simplify date handling by replacing updateLocalDates and updateUTCDates with updateLocalDate and updateUTCDate functions 2025-04-19 21:53:17 -04:00
Sean Morley
c12f94855d feat: Refactor date handling in TransportationModal and add utility functions for date conversion and validation 2025-04-19 21:44:40 -04:00
Sean Morley
6942f5e1bb feat: Add TimezoneSelector component and integrate Luxon for date handling 2025-04-18 23:06:36 -04: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
233d2be63f
Merge pull request #574 from lkiesow/transportation-card-badges
Prevent UI overlaps in transportation card
2025-04-18 11:49:52 -04:00
Sean Morley
64377c0300
Merge pull request #566 from lkiesow/dropdown-size
Fix rendering issue in adventure dropdown
2025-04-18 11:48:39 -04:00
Lars Kiesow
ea85c5fc5a Prevent UI overlaps in transportation card
Similar to #552 (658764f) the card title and badges of the
transportation card can overlap. This patch adjusts the transportation
card to list the badges below the title similar to the other cards.
2025-04-18 00:22:50 +02:00
Sean Morley
9043ee9565
Merge pull request #570 from seanmorley15/dependabot/npm_and_yarn/frontend/npm_and_yarn-d34ec6d50c
chore(deps-dev): bump @sveltejs/kit from 2.8.3 to 2.20.6 in /frontend in the npm_and_yarn group across 1 directory
2025-04-15 09:33:39 -04:00
dependabot[bot]
a11400fa98
chore(deps-dev): bump @sveltejs/kit
Bumps the npm_and_yarn group with 1 update in the /frontend directory: [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit).


Updates `@sveltejs/kit` from 2.8.3 to 2.20.6
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.20.6/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.20.6
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 23:21:27 +00:00
Lars Kiesow
49f7bf27e8 Fix rendering issue in adventure dropdown
This is a very simple patch fixing the rendering issue of the “Remove
from collection” option in the adventure dropdown.-

Together with #552, this should fix #539.
2025-04-14 18:44:15 +02:00
Andrea Titolo
6f489b2734
Consistency in translating collections 2025-04-08 20:49:49 +02:00
Andrea Titolo
a09b3f379f
Update italian translation and terms 2025-04-08 19:26:11 +02: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
15d34c88dc
Merge pull request #552 from lkiesow/lodging-card
Prevent UI overlaps in lodging card
2025-04-06 20:25:11 -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
658764fb58
Prevent UI overlaps in lodging card
This patch prevents overlapping UI eelements in the ledging card. It
adjusts the UI to be more like the adventure cards when it comes to font
size and element placing.

This partly fixes #539
2025-04-07 01:42:12 +02: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
Nikolai Eidsheim
cde293c4bd Merge remote-tracking branch 'origin/main' into nb-locale
Updating nb-locale branch
2025-04-01 21:03:47 +02:00
Sean Morley
04c3402e14 fix: Remove duplicate file extension validation for md and pdf formats 2025-03-23 16:40:55 -04:00
Sean Morley
b4c5e22662 fix: Correct file extension validation for gpx, md, and pdf formats 2025-03-23 16:40:08 -04: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
44ede92b92
Merge branch 'development' into main 2025-03-21 17:34:03 -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