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

61 commits

Author SHA1 Message Date
Sean Morley
493a13995c
Rename Adventures to Locations (#696)
* Refactor user_id to user in adventures and related models, views, and components

- Updated all instances of user_id to user in the adventures app, including models, serializers, views, and frontend components.
- Adjusted queries and filters to reflect the new user field naming convention.
- Ensured consistency across the codebase for user identification in adventures, collections, notes, and transportation entities.
- Modified frontend components to align with the updated data structure, ensuring proper access control and rendering based on user ownership.

* Refactor adventure-related views and components to use "Location" terminology

- Updated GlobalSearchView to replace AdventureSerializer with LocationSerializer.
- Modified IcsCalendarGeneratorViewSet to use LocationSerializer instead of AdventureSerializer.
- Created new LocationImageViewSet for managing location images, including primary image toggling and image deletion.
- Introduced LocationViewSet for managing locations with enhanced filtering, sorting, and sharing capabilities.
- Updated ReverseGeocodeViewSet to utilize LocationSerializer.
- Added ActivityTypesView to retrieve distinct activity types from locations.
- Refactored user views to replace AdventureSerializer with LocationSerializer.
- Updated frontend components to reflect changes from "adventure" to "location", including AdventureCard, AdventureLink, AdventureModal, and others.
- Adjusted API endpoints in frontend routes to align with new location-based structure.
- Ensured all references to adventures are replaced with locations across the codebase.

* refactor: rename adventures to locations across the application

- Updated localization files to replace adventure-related terms with location-related terms.
- Refactored TypeScript types and variables from Adventure to Location in various routes and components.
- Adjusted UI elements and labels to reflect the change from adventures to locations.
- Ensured all references to adventures in the codebase are consistent with the new location terminology.

* Refactor code structure for improved readability and maintainability

* feat: Implement location details page with server-side loading and deletion functionality

- Added +page.server.ts to handle server-side loading of additional location info.
- Created +page.svelte for displaying location details, including images, visits, and maps.
- Integrated GPX file handling and rendering on the map.
- Updated map route to link to locations instead of adventures.
- Refactored profile and search routes to use LocationCard instead of AdventureCard.

* docs: Update terminology from "Adventure" to "Location" and enhance project overview

* docs: Clarify collection examples in usage documentation

* feat: Enable credentials for GPX file fetch and add CORS_ALLOW_CREDENTIALS setting

* Refactor adventure references to locations across the backend and frontend

- Updated CategoryViewSet to reflect location context instead of adventures.
- Modified ChecklistViewSet to include locations in retrieval logic.
- Changed GlobalSearchView to search for locations instead of adventures.
- Adjusted IcsCalendarGeneratorViewSet to handle locations instead of adventures.
- Refactored LocationImageViewSet to remove unused import.
- Updated LocationViewSet to clarify public access for locations.
- Changed LodgingViewSet to reference locations instead of adventures.
- Modified NoteViewSet to prevent listing all locations.
- Updated RecommendationsViewSet to handle locations in parsing and response.
- Adjusted ReverseGeocodeViewSet to search through user locations.
- Updated StatsViewSet to count locations instead of adventures.
- Changed TagsView to reflect activity types for locations.
- Updated TransportationViewSet to reference locations instead of adventures.
- Added new translations for search results related to locations in multiple languages.
- Updated dashboard and profile pages to reflect location counts instead of adventure counts.
- Adjusted search routes to handle locations instead of adventures.

* Update banner image

* style: Update stats component background and border for improved visibility

* refactor: Rename AdventureCard and AdventureModal to LocationCard and LocationModal for consistency
2025-06-25 11:49:34 -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
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
Sean Morley
81006af027 refactor: enhance UI components with improved styling and layout
- Updated CollectionCard, CountryCard, LodgingCard, NoteCard, RegionCard, TransportationCard, UserCard, and ShareModal components for better visual consistency and responsiveness.
- Introduced hover effects and transitions for a more interactive experience.
- Improved accessibility by ensuring proper alt text for images and using semantic HTML elements.
- Refactored date formatting logic into a utility function for reuse across components.
- Added new translations for profile viewing and joined date in the localization files.
2025-05-29 17:47:58 -04:00
Sean Morley
809cf98169 Enhance AdventureCard component with activity type display and rating system; update CardCarousel gradient fallback for no images 2025-05-23 23:00:15 -04: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
Sean Morley
0cee4c386d fix: update deleteAdventure function to use DELETE method for API call 2025-01-17 17:15:18 -05:00
Sean Morley
57e367d112 refactor: update AdventureSerializer to handle visits data more gracefully and remove visits from request body in AdventureCard 2025-01-03 09:53:23 -05:00
Sean Morley
6651557738 feat: include adventure visits in collection update requests 2025-01-03 09:47:05 -05:00
Sean Morley
cee9f16cf5 feat: implement Immich integration with CRUD API, add serializer, and enhance frontend components 2025-01-02 13:34:51 -05:00
Sean Morley
df2ce01910 Update note and checklist modals as well as add an unlinked state in the collection page for better organization 2024-12-26 21:56:14 -05:00
Sean Morley
d44cb06e31 Refactor AdventureCard usage and integrate event calendar components 2024-12-04 12:38:01 -05:00
Sean Morley
adf45ff557 Fix general category handling 2024-11-26 17:39:10 -05:00
Sean Morley
86d213bb8b Refactor user ID handling to use UUIDs; update related components and serializers for consistency 2024-11-17 16:34:46 -05:00
Sean Morley
42f07dc2fb Implement user-specific category filtering in AdventureViewSet and update AdventureCard to display category details 2024-11-16 22:31:39 -05:00
Sean Morley
727daf0cfd is visited 2024-10-31 09:51:04 -04:00
Sean Morley
fcd2d27221 more localization 2024-10-28 19:59:44 -04:00
Sean Morley
91c0ec8c07 localization v2 2024-10-28 13:56:57 -04:00
Sean Morley
ae70c96ddc Trigger workflows 2024-10-26 09:47:46 -04:00
Sean Morley
2601b07b5f Refactor AdventureCard and CardCarousel components 2024-10-14 08:58:23 -04:00
Sean Morley
3ee9625fe8 Refactor AdventureCard component and add CardCarousel
- Refactor AdventureCard component to remove unused variable and add meta tags for shared collections page
- Add CardCarousel component to display a carousel of adventure images in AdventureCard
2024-10-13 23:23:32 -04:00
Sean Morley
d0791faad5 Update map filtering 2024-10-04 09:49:35 -04:00
Sean Morley
6cb31aa125 New AdventureModal Accordian 2024-09-30 18:03:10 -04:00
Sean Morley
86cefc8b2f Category frontend fixes 2024-09-23 18:46:04 -04:00
Sean Morley
dd17e24f44 Fix is_public bugs 2024-09-09 14:29:50 -04:00
Sean Morley
ba89f90e53 Shared with collaborative editing 2024-09-09 13:31:00 -04:00
Sean Morley
bdb37c5ca1 Fix the 3 dot button 2024-09-06 23:47:40 -04:00
Sean Morley
6b778dea79 Fix card colors in light modes 2024-09-06 23:39:37 -04:00
Sean Morley
5ca5e1f69c Change card colors and add aestheticDark theme. 2024-09-06 23:35:48 -04:00
Sean Morley
b7c406ec0c Make image modal not reset scroll 2024-08-19 08:53:37 -04:00
Sean Morley
39fb4ad1ca Image display modal 2024-08-19 08:44:00 -04:00
Sean Morley
de759e1b58 Image display modal 2024-08-19 08:43:43 -04:00
Sean Morley
03e0530e90 Add support for end date to adventure 2024-08-18 12:30:12 -04:00
Sean Morley
cfe14b3708
Merge pull request #239 from seanmorley15/new_images
New images
2024-08-17 22:43:40 -04:00
Sean Morley
d552c50349 adventure view 2024-08-17 17:22:01 -04:00
Sean Morley
254a0d9498 image card 2024-08-17 14:34:14 -04:00
Sean Morley
2b16712496 chore: Update time zone handling in code 2024-08-17 08:30:24 -04:00
Sean Morley
6e39a9784d carousel 2024-08-15 21:16:02 -04:00
Sean Morley
a1094f805a chore: Update app version to v0.5.1 and fix toast component styling 2024-08-14 22:17:43 -04:00
Sean Morley
ffe9d6fe97 Fix adventure cards and serializers 2024-08-13 11:09:49 -04:00
Sean Morley
e51e072722 Add hover to adventure card 2024-08-08 13:52:55 -04:00
Sean Morley
c5cbea1c20 refactor: Improve adventure card UI and collection functionality 2024-08-01 11:01:27 -04:00
Sean Morley
42f6c84633 refactor: Add umami event tracking to adventure card buttons 2024-07-30 08:34:26 -04:00
Sean Morley
ae9a7f5479 transportation 2024-07-27 19:04:55 -04:00
Sean Morley
66a2e30711 lodging beta 2024-07-27 18:42:52 -04:00
Sean Morley
acb7470fbb feat: Add functionality to change a non-adventure to an adventure in AdventureCard component 2024-07-27 15:49:57 -04:00
Sean Morley
87a804dbc2 lodging beta 2024-07-27 15:41:26 -04:00
Sean Morley
59a3a2d72a chore: Update date formatting in AdventureCard and CollectionCard components 2024-07-27 14:38:43 -04:00
Sean Morley
fe05e5c6cf feat: Add type change functionality to AdventureCard component 2024-07-22 10:45:25 -04:00
Sean Morley
4abaaa5fb3 new sidebar 2024-07-18 22:12:47 -04:00