1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 19:55:18 +02:00
Commit graph

434 commits

Author SHA1 Message Date
Sean Morley
c3b84c912d Add error handeling handling to the signup form 2024-05-24 15:44:28 +00:00
Sean Morley
a7be733b37
Merge pull request #69 from seanmorley15/TripAdventure
Trip adventure
2024-05-16 08:30:26 -04:00
Sean Morley
5ee4d91473 Add more admin stats and fix icon set issues 2024-05-16 00:12:09 +00:00
Sean Morley
6737a568ef Allow for editing adventures in a trip 2024-05-15 23:51:27 +00:00
Sean Morley
90ea29f859
Merge pull request #68 from seanmorley15/TripAdventure
Trip adventure feature
2024-05-15 17:26:37 -04:00
Sean Morley
82f7101d90 chore: Add lazy loading for AdventureCard images 2024-05-15 21:23:40 +00:00
Sean Morley
f8f12e4ba3 chore: Refactor trip API endpoint to include adventures 2024-05-15 21:17:04 +00:00
Sean Morley
126a256253 chore: Add tripId field to Adventure interface and schema 2024-05-15 21:13:31 +00:00
Sean Morley
b94fdc7107 chore: Add tripId field to Adventure interface and schema 2024-05-15 21:06:01 +00:00
Sean Morley
a0400bca8e
Merge pull request #67 from seanmorley15/development
Development
2024-05-15 06:26:13 -04:00
Sean Morley
17bde86988
Merge pull request #66 from redtechtiger/patch-1
Fix spelling mistakes
2024-05-14 13:49:52 -04:00
RedTechTiger
77d8b87e1a
Fix spelling 2024-05-14 11:36:46 -04:00
Sean Morley
9d7670bcb1 Add trip launch button to TripCard component and create server routes for trip API 2024-05-13 23:21:54 +00:00
Sean Morley
3863d0b2ac Remove planned trip 2024-05-13 23:03:28 +00:00
Sean Morley
01cd12d0e3 Add users first name to home page when logged in. 2024-05-13 21:42:14 +00:00
Sean Morley
26d58d2850
Merge pull request #63 from seanmorley15/development
Development
2024-05-13 17:30:07 -04:00
Sean Morley
1ccf582b85 chore: Update login and signup pages with background images 2024-05-13 21:29:23 +00:00
Sean Morley
c9464a220c Move add button location for log page 2024-05-11 01:06:43 +00:00
Sean Morley
bdbb187561 Fixed loading for planner 2024-05-11 01:03:28 +00:00
Sean Morley
7565279e61 Added new trip plan creator and removed visit count stores 2024-05-06 23:13:38 +00:00
Sean Morley
01865951ac Added new trip plan creator and removed visit count stores 2024-05-06 23:13:32 +00:00
Sean Morley
bda795102d
Merge pull request #58 from seanmorley15/development
Development
2024-05-05 17:38:34 -04:00
Sean Morley
75da1f4cc6 Gradient text on hero page 2024-05-05 21:38:14 +00:00
Sean Morley
67eb3d293b Fixed issue with light mode on home page 2024-05-05 21:28:52 +00:00
Sean Morley
90f13118ac
Merge pull request #57 from seanmorley15/development
New favicon
2024-05-05 16:06:37 -04:00
Sean Morley
97af0cba34 New favicon 2024-05-05 20:05:57 +00:00
Sean Morley
7f6b5d9abd
Merge pull request #56 from seanmorley15/development
WEBP Image support
2024-05-05 16:01:49 -04:00
Sean Morley
c4d6113072 WEBP Image support 2024-05-05 20:00:04 +00:00
Sean Morley
25f773eaa9
Merge pull request #55 from seanmorley15/development
Development
2024-05-05 15:51:24 -04:00
Sean Morley
d4c24df0aa Fix log in and signup buttons in reactive navbar 2024-05-05 19:49:23 +00:00
Sean Morley
755dc68301 New navbar setup 2024-05-05 19:45:49 +00:00
Sean Morley
76c65014b7 New homepage 2024-05-05 19:31:22 +00:00
Sean Morley
ca7592989a feat: Add markVisited function to AdventureCard.svelte and +page.svelte
The code changes include adding a new function called markVisited to the AdventureCard.svelte and +page.svelte files. This function is responsible for marking an adventure as visited and dispatching an event to update the adventure's status. This enhancement allows users to mark adventures as visited in the planner page and triggers the corresponding API request to update the adventure's status in the database.
2024-05-05 19:06:23 +00:00
Sean Morley
4069bc5052 feat: Implement lazy loading for images and update dependencies 2024-05-05 14:00:40 +00:00
Sean Morley
0fc9cc9efe
Merge pull request #54 from seanmorley15/development
Development
2024-05-04 13:49:13 -04:00
Sean Morley
e949c06bd2 feat: Add lazy loading for images and update dependencies
The code changes include implementing lazy loading for images to improve page load performance. Additionally, the npm dependency has been updated to the latest stable version. These enhancements enhance the user experience by reducing the initial load time and ensuring compatibility with the latest dependencies.
2024-05-04 17:48:54 +00:00
Sean Morley
0c2ce8ce93 feat: Add ConfirmModal component for delete confirmation 2024-05-04 17:41:37 +00:00
Sean Morley
87cc6da518 feat: Add validation for adventure name in CreateNewAdventure component
The code changes include adding validation for the adventure name in the CreateNewAdventure component. If the name is empty, an alert is displayed and the adventure creation is prevented. This enhancement ensures that users provide a name for the adventure before creating it.
2024-05-04 17:27:51 +00:00
Sean Morley
66d2dc7b15 feat: Add addAdventure, removeAdventure, and saveAdventure functions
The code changes include adding the addAdventure, removeAdventure, and saveAdventure functions to the +page.svelte file and adventureService.js module. These functions handle the API requests for adding, removing, and saving adventures respectively. They update the local plans array based on the API response and display appropriate toast messages. These changes enhance the functionality of the planner page by allowing users to add, remove, and save adventures.
2024-05-04 17:18:53 +00:00
Sean Morley
609d3743ed feat: Add addAdventure function to adventureService
The code changes include adding a new function called addAdventure to the adventureService module. This function is responsible for sending a POST request to the corresponding API endpoint to add a new adventure. If the request is successful, the adventure is added to the local plans array and a success toast is displayed. If the request fails, an error toast is displayed. This functionality allows users to add adventures to the planner page.
2024-05-04 17:14:20 +00:00
Sean Morley
89e4899e43
Merge pull request #53 from seanmorley15/development
Development
2024-05-04 11:59:04 -04:00
Sean Morley
79cf19ccb2 ```text
feat: Add type prop to CreateNewAdventure component

The code changes include adding a new prop called "type" to the CreateNewAdventure component in order to specify the type of adventure being created. This prop is passed from the parent component and used to set the "type" property of the newAdventure object. This allows for more flexibility in creating adventures with different types.
2024-05-04 15:55:58 +00:00
Sean Morley
2b7c6b0f18 feat: Add removeAdventure function to +page.svelte and adventureService.ts
The code changes include adding a new function called removeAdventure to the +page.svelte file and adventureService.ts module. This function is responsible for sending a DELETE request to the corresponding API endpoint to remove an adventure. If the request is successful, the adventure is removed from the local plans array. If the request fails, an error toast is displayed. This functionality allows users to remove adventures from the planner page.
2024-05-04 15:38:55 +00:00
Sean Morley
798ce1e3e5 feat: Add saveAdventure function to adventureService
The code changes include adding a new function called saveAdventure to the adventureService module. This function is responsible for sending a PUT request to the corresponding API endpoint to save an adventure. If the request is successful, the local adventure array is updated with the new data. If the request fails, an empty array is returned to allow for handling errors.
2024-05-04 15:18:20 +00:00
Sean Morley
716323657b feat: Add "Planner" button to Navbar component
The code changes include adding a "Planner" button to the Navbar component. This button allows users to navigate to the Planner page. The changes involve modifying the Navbar component in the src/lib/components/Navbar.svelte file.
2024-05-04 15:00:02 +00:00
Sean Morley
3127784632 feat: Add activity types functionality to CreateNewAdventure and AdventureCard components 2024-05-04 00:43:18 +00:00
Sean Morley
eab7cb6087 feat: Add activity types to CreateNewAdventure and AdventureCard components
The code changes include adding activity types functionality to the CreateNewAdventure and AdventureCard components. This allows users to specify different types of activities for each adventure. The changes also include updates to the server files to handle the new activity types.

Recent user commits:
- Refactor adventure page layout to display activity types and update server files
- Add activity types to EditModal component and update server files
- Add activity types to AdventureCard component and update server files
- Refactor adventure page layout to display activity types in +page.svelte and update server files
- Refactor adventure page layout to display activity types in +page.svelte and update server files
- Refactor CreateNewAdventure component to add activity types and update server files
- Refactor adventure page layout to use a responsive image size in +page.svelte
- Merge pull request #52 from seanmorley15/development
- Refactor error handling and add validation for adventure name in server and page files
- Update config.ts
2024-05-03 21:39:31 +00:00
Sean Morley
25adf07874 Refactor adventure page layout to display activity types and update server files 2024-05-03 21:29:35 +00:00
Sean Morley
2da4baf8a1 Add activity types to EditModal component and update server files 2024-05-01 00:14:31 +00:00
Sean Morley
6a4771cece Add activity types to AdventureCard component and update server files 2024-04-30 23:10:59 +00:00