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

34 commits

Author SHA1 Message Date
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
cf108ecd3a fix: update CollectionCard to use adventures from collection instead of a separate prop 2025-06-03 19:03:36 -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
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
b0e8c025fc Adjust CollectionCard styles: remove overflow-hidden and increase dropdown width 2025-05-11 12:43:31 -04: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
8e5a20ec62 Refactor adventure category handling: update type definitions, enhance category management in UI components, and implement user-specific category deletion logic in the backend 2024-11-23 13:42:41 -05:00
Sean Morley
fcd2d27221 more localization 2024-10-28 19:59:44 -04:00
Sean Morley
8068fe93f7 more localization 2024-10-28 15:10:14 -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
fe8a41f51b Shared with tab 2024-09-09 13:44:42 -04:00
Sean Morley
4ea7ef69a6 Share via modal 2024-09-08 14:29:27 -04:00
Sean Morley
a70b1f2818 Fix contrast issues 2024-09-07 17:39:47 -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
cfe14b3708
Merge pull request #239 from seanmorley15/new_images
New images
2024-08-17 22:43:40 -04:00
Sean Morley
c35795144e chore: Refactor CollectionCard component and improve dropdown menu styling 2024-08-17 17:34:52 -04:00
Sean Morley
2b16712496 chore: Update time zone handling in code 2024-08-17 08:30:24 -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
58d53f784f Add links to cards 2024-08-08 22:12:06 -04:00
Sean Morley
879b182e56 chore: Update CollectionCard component to display correct toast message when archiving/unarchiving a collection 2024-08-07 17:36:25 -04:00
Sean Morley
4f3edec9f1 Fixes 2024-08-07 16:34:03 -04:00
Sean Morley
a87797f6af Warning modal 2024-08-07 13:09:20 -04:00
Sean Morley
1858790308 Archive Collections 2024-08-07 13:01:12 -04:00
Sean Morley
10466f5913 feat: Add public/private badge to CollectionCard and fix delete button in NoteCard 2024-08-04 21:30:11 -04:00
Sean Morley
0ea9f1d73e refactor: Update date formatting in CollectionCard and CollectionPage components 2024-07-27 14:44:15 -04:00
Sean Morley
59a3a2d72a chore: Update date formatting in AdventureCard and CollectionCard components 2024-07-27 14:38:43 -04:00
Sean Morley
c94a4379c7 collection days 2024-07-27 14:26:15 -04:00
Sean Morley
9e78a1bc4f collection update 2024-07-16 09:26:45 -04:00
Sean Morley
e679eada06 collection management and type change 2024-07-16 09:12:53 -04:00
Sean Morley
7e5e4edd4d collections v3 2024-07-15 18:01:49 -04:00
Sean Morley
e533dda328 collections v2 2024-07-15 12:09:20 -04:00
Sean Morley
533453b764 collections v1 2024-07-15 09:36:07 -04:00
Renamed from frontend/src/lib/components/TripCard.svelte (Browse further)