Commit Graph

47 Commits

Author SHA1 Message Date
Sean Morley
8ca74ab963 Changes? 2024-06-08 15:33:03 +00:00
Sean Morley
fb749d0cb2 Added new regions 2024-05-25 14:23:59 +00:00
Sean Morley
c9464a220c Move add button location for log page 2024-05-11 01:06:43 +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
0c2ce8ce93 feat: Add ConfirmModal component for delete confirmation 2024-05-04 17:41:37 +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
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
25adf07874 Refactor adventure page layout to display activity types and update server files 2024-05-03 21:29:35 +00:00
Sean Morley
296659ea27 Refactor CreateNewAdventure component to add activity types and update server files 2024-04-30 22:39:09 +00:00
Sean Morley
88a2ac07e6 Refactor error handling and add validation for adventure name in server and page files 2024-04-28 21:54:43 +00:00
Sean Morley
d84c9f4d24 Refactor component names and update button labels 2024-04-28 16:12:15 +00:00
Sean Morley
d4f94b436d Refactor adventure page layout and add dynamic content 2024-04-28 16:03:38 +00:00
Sean Morley
ba84fbdcf3 Add GET request handler for retrieving an adventure by ID 2024-04-27 17:28:31 +00:00
Sean Morley
7327fefe15 Refactor EditModal component to use adventureToEdit prop instead of individual props 2024-04-27 16:54:20 +00:00
Sean Morley
37f050d254 Started Migration 2024-04-26 01:14:13 +00:00
Sean Morley
a3d4d757a9 Add new columns to userPlannedAdventures table and update Adventure interface 2024-04-21 22:56:27 +00:00
Sean Morley
b2184bdee3 Refactor database schema and add planner functionality 2024-04-21 22:42:49 +00:00
Sean Morley
7086877ba3 SEO Optimization 2024-04-20 01:17:34 +00:00
Sean Morley
3892a3ea39 Update download filename in log page and handle form submission errors in login page 2024-04-15 00:13:02 +00:00
Sean Morley
1710c5b54d Update AdventureCard component to remove commented out code and add exportData function to log page 2024-04-14 23:47:05 +00:00
Sean Morley
fd1b85609e Remove unnecessary database migration scripts and update info modal text 2024-04-13 19:48:53 +00:00
Sean Morley
af07ea29ef Refactor success toast and show appropriate messages 2024-04-11 18:18:35 +00:00
Sean Morley
ea0477d450 Add loading spinner to log page 2024-04-11 13:59:36 +00:00
Sean Morley
3dcad53004 Add clearvisits API endpoint and implement DELETE method***
***Handle error when no id is found in DELETE method***
***Update deleteData function in log page to use clearvisits API endpoint
2024-04-10 17:54:19 +00:00
Sean Morley
bc0e1b4db2 Add visit count functionality to Navbar and Log page 2024-04-10 17:47:20 +00:00
Sean Morley
45545fd8ce Add PUT route to update existing adventure and refactor adventureService 2024-04-10 14:58:42 +00:00
Sean Morley
ed9a579fc2 Add POST endpoint to create new adventure and update adventureService 2024-04-10 14:51:51 +00:00
Sean Morley
7ba879f7d9 Add DELETE endpoint to visits API and update log page 2024-04-10 14:33:41 +00:00
Sean Morley
fe042f3a5b Refactor getAdventures and removeAdventure in log page 2024-04-06 12:54:27 +00:00
Sean Morley
ea79fd2d76 Add log page, update database schema, and API endpoint for user visits 2024-04-06 12:54:17 +00:00
Sean Morley
83cca15a8f Consistent code formatting 2024-04-02 22:02:20 +00:00
Sean Morley
302a59c86d Refactor modal layout and add visit count to home page and log page 2024-04-02 21:46:37 +00:00
Sean Morley
f0894a964f Refactor AdventureCard component and remove FeaturedAdventureCard 2024-04-02 21:33:41 +00:00
Sean Morley
d86eaeb0be Add clipboard functionality and display adventure result 2024-04-02 19:21:10 +00:00
Sean Morley
56a8a45efb Add migrations and code for sharedAdventures table 2024-04-02 18:54:09 +00:00
Sean Morley
9baab4c675 Add featured adventure locations and fix conditional rendering in log page 2024-04-02 18:31:44 +00:00
Sean Morley
4b2306f812 Update startup.sh, +page.server.ts, FeaturedAdventureCard.svelte, and Navbar.svelte 2024-04-02 18:04:27 +00:00
Sean Morley
c23ea0ce5e Add footer scroll functionality and update layout styles 2024-04-01 23:30:59 +00:00
Sean Morley
a0f07a9980 Update AdventureCard and Navbar components 2024-04-01 21:35:21 +00:00
Sean Morley
716276c375 Refactor adventure creation form 2024-03-31 17:01:58 +00:00
Sean Morley
2e26e3712d Add delete functionality and clear adventures 2024-03-31 16:58:02 +00:00
Sean Morley
bf640bc433 Add SuccessToast component and pinLogo asset***
***Update saveEdit function in adventureService.ts***
***Remove unnecessary buttons in Navbar.svelte***
***Add EditModal component***
***Update Footer.svelte with pinLogo and copyright information
2024-03-31 00:49:42 +00:00
Sean Morley
9d5fbf00ad Add Dockerfile and .dockerignore, update log page layout 2024-03-30 21:30:22 +00:00
Sean Morley
b1840006f0 Add new SVG assets and update AdventureCard component 2024-03-30 21:26:21 +00:00
Sean Morley
9ee5d67ab6 Add Tailwind CSS and update layout and page styles 2024-03-30 21:00:12 +00:00
Sean Morley
510d6b5238 Update button styles in AdventureCard, Navbar, and log pages 2024-03-29 23:09:03 +00:00
Sean Morley
90036c5c14 Add layout and footer components, update adventureService, and create log page 2024-03-29 22:44:32 +00:00