Commit Graph

93 Commits

Author SHA1 Message Date
Sean Morley
4069bc5052 feat: Implement lazy loading for images and update dependencies 2024-05-05 14:00:40 +00: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
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
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
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
Sean Morley
296659ea27 Refactor CreateNewAdventure component to add activity types and update server files 2024-04-30 22:39:09 +00:00
Sean Morley
9d7a7ce35b Merge pull request #52 from seanmorley15/development
Development
2024-04-30 09:59:42 -04:00
Sean Morley
1437a938bf Update config.ts 2024-04-28 12:22:17 -04: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
8ae3236acb Refactor AdventureCard component buttons to use iconify-icons 2024-04-27 20:45:01 +00:00
Sean Morley
62109a41a6 Refactor AdventureCard component and add new adventure page 2024-04-27 20:24:25 +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
b057ee01b3 Refactor Docker Compose files, Tailwind config, UserCard component, and page server files 2024-04-27 16:35:04 +00:00
Sean Morley
9837cc4e64 Refactor database schema, remove unused SQL files, and update components 2024-04-26 23:09:39 +00:00
Sean Morley
08579289a6 Remove userVisitedAdventuresTable 2024-04-26 23:04:41 +00:00
Sean Morley
319a99fed2 Refactor data insertion via Drizzle 2024-04-26 22:43:13 +00:00
Sean Morley
37f050d254 Started Migration 2024-04-26 01:14:13 +00:00
Sean Morley
e197de9d39 Add WorldTravelCard component 2024-04-26 00:23:30 +00:00
Sean Morley
921d36aa70 Add new migrations and update Adventure interface 2024-04-22 00:56:43 +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
3072fedccf Refactor admin settings page, add ConfirmModal component, and update user management functionality 2024-04-21 17:02:38 -04:00
Sean Morley
b3bd8780e7 Refactor admin settings page, add UserCard component, and update user management functionality 2024-04-21 20:26:22 +00:00
Sean Morley
348c545419 Update dependencies and add new features 2024-04-20 00:53:01 +00:00
Sean Morley
e372ebbacc Update user avatar component and settings page 2024-04-18 23:11:19 +00:00
Sean Morley
2249052ab7 Update database schema and add signup_date, last_login, and role columns to user table 2024-04-18 01:15:52 +00:00
Sean Morley
f0eb5441f0 Add Nord theme option to theme selection dropdown in Navbar.svelte 2024-04-17 00:20:56 +00:00
Sean Morley
5efb2912c0 Update theme handling and add theme selection dropdown in Navbar.svelte 2024-04-17 00:15:27 +00:00
Sean Morley
b76e655e38 Update theme handling and add theme selection dropdown in Navbar.svelte 2024-04-17 00:01:19 +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
a550fd58f7 Update AdventureCard component to include regionId and visited properties, and add country flag support 2024-04-14 20:33:58 +00:00
Sean Morley
715a4ffd87 Add US map component to world travel page 2024-04-14 17:58:18 +00:00
Sean Morley
8133e8e99e Update AdventureCard component to include viewType property and add radio buttons for card and map views 2024-04-14 17:44:52 +00:00
Sean Morley
9c46c16bbe Update AdventureCard component to include regionId and visited properties, and add country flag support 2024-04-14 14:03:06 +00:00
Sean Morley
c5ce984cac Add country_code field to userVisitedWorldTravel table 2024-04-14 13:39:32 +00:00
Sean Morley
5e1d7ef160 Update appVersion to "Web 0.1.5-alpha" in config.ts 2024-04-13 23:11:09 +00:00
Sean Morley
00d9270546 Update AdventureCard component to include regionId and visited properties 2024-04-13 23:09:52 +00:00
Sean Morley
b2210dc7c9 Update login and signup pages, and add countries.json 2024-04-13 21:03:59 +00:00
Sean Morley
8a169da9e2 Update getFlag function to accept size parameter 2024-04-13 20:39:06 +00:00
Sean Morley
02455d290b Update AdventureCard component and add country flag support 2024-04-13 20:09:00 +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
11ace187a7 Add migration to drop unique constraint on worldTravelCountryRegions_id 2024-04-12 14:28:45 +00:00
Sean Morley
61458b3cc2 Add country regions for Germany, South Africa, Australia, New Zealand, Egypt, Brazil, China 2024-04-12 14:04:23 +00:00
Sean Morley
3887ac845e Add country regions for GB, FR, AR, CA, MX, and DE 2024-04-12 13:39:08 +00:00