Commit Graph

83 Commits

Author SHA1 Message Date
Alexander cb39365e77 Implement progressive enhancement for universal search with context-aware filtering
Add comprehensive search solution that works across all recipe pages with proper fallbacks. Features include universal API endpoint, context-aware filtering (category/tag/icon/season/favorites), and progressive enhancement with form submission fallback for no-JS users.
2025-09-04 14:53:59 +02:00
Alexander fffd271c06 Implement user favorites feature for recipes
- Add UserFavorites MongoDB model with ObjectId references
- Create authenticated API endpoints for favorites management
- Add Heart icon and FavoriteButton components with toggle functionality
- Display favorite button below recipe tags for logged-in users
- Add Favoriten navigation link (visible only when authenticated)
- Create favorites page with grid layout and search functionality
- Store favorites by MongoDB ObjectId for data integrity
2025-09-01 20:18:57 +02:00
Alexander b4b8f65207 Upgrade SvelteKit 4 to SvelteKit 5 with latest dependencies
Major changes:
- Upgraded Svelte from v4 to v5.38.6 (latest stable)
- Upgraded SvelteKit from v2.0.0 to v2.37.0 (latest)
- Upgraded Vite from v5 to v7.1.3 for better performance
- Updated all related packages to latest compatible versions
- Added pnpm as package manager with packageManager field
- Fixed Card.svelte nested anchor tags issue by converting inner links to buttons
- Updated component styling to maintain visual consistency
- Removed incompatible svelte-preprocess-import-assets package

Dependencies updated:
- @sveltejs/kit: ^2.0.0 → ^2.37.0
- @sveltejs/vite-plugin-svelte: ^3.0.0 → ^6.1.3
- svelte: ^4.0.0 → ^5.38.6
- vite: ^5.0.0 → ^7.1.3
- @sveltejs/adapter-auto: ^3.0.0 → ^6.1.0
- @sveltejs/adapter-node: ^2.0.0 → ^5.0.0
- svelte-check: ^3.4.6 → ^4.0.0
- mongoose: ^7.4.0 → ^8.0.0
- sharp: ^0.32.3 → ^0.33.0
2025-08-31 21:01:19 +02:00
Alexander e30ccc1dfe remove user admin routes 2024-02-19 23:24:28 +01:00
Alexander e8b9cea219 add forgotten updated api routes 2024-02-18 14:45:01 +01:00
Alexander e7ed39dc51 initial OIDC setup 2024-02-14 16:07:55 +01:00
Alexander 74e30d2114 also search through season, exclude "🍽️"recipes from being in season 2024-01-19 20:12:09 +01:00
Alexander bc1eb756da fix path depth for payments/[item] api 2023-07-24 23:05:50 +02:00
Alexander 6d029e6eb7 added missing payments api routes 2023-07-24 22:59:09 +02:00
Alexander ffea1c5637 add payment route + additional starting blocks 2023-07-24 22:57:12 +02:00
Alexander 1254a75dbf add externalized hashPassword.js 2023-07-23 12:22:58 +02:00
Alexander 304474a8fb change password possible 2023-07-23 12:21:12 +02:00
Alexander 4a91b30ec1 remove old api routes; 2023-07-22 13:09:28 +02:00
Alexander 5353c189ff move API routes as cleanup 2023-07-22 13:09:06 +02:00
Alexander 20e3c3ea33 section scales, not anchor 2023-07-22 12:58:29 +02:00
Alexander e21f621a49 allow for build because of jsonwebtoken quirk 2023-07-18 14:28:39 +02:00
Alexander a6b8685f91 First fully working user management, move to layout groups 2023-07-18 14:18:52 +02:00
Alexander c14b174a42 cleaner login and registration 2023-07-18 12:05:30 +02:00
Alexander 7bf9ce9831 add initial user Management API 2023-07-18 09:14:33 +02:00
Alexander 84d214bb9e bodge img upload on edit if no img available 2023-07-13 18:18:01 +02:00
Alexander cf0cb60161 fix img APIs to working standard 2023-07-12 12:23:35 +02:00
Alexander 4a9e904fcf add initial img API endpoints 2023-07-12 11:35:43 +02:00
Alexander 50c17b2a2f randomize moved to API 2023-07-11 22:54:13 +02:00
Alexander 11e3b61b28 fix to working state 2023-07-11 18:51:34 +02:00
Alexander 3aa3f7949a initial implementation of placeholder images, thumbnails and blurring between using sharp 2023-07-11 18:47:29 +02:00
Alexander 73c1d13c37 Icon route added 2023-07-03 12:39:34 +02:00
Alexander f589d6946f API routes now return proper Responses and basic errors are handled
slight improvements in layouting
2023-07-02 23:39:31 +02:00
Alexander 3e9526f8e6 add forgotten img api 2023-06-27 19:27:00 +02:00
Alexander f1dc876590 Does not work: uploading images
Adding/Editing/Deleting works
SeasonsSelect works
Nice recipe layout
2023-06-24 15:35:38 +02:00
Alexander 651a48f6e2 First almost fully functioning MVP.
Lacking:
- Seasons cannot be added/edited
- image upload
- layout recipe/adding
2023-06-24 15:35:38 +02:00
Alexander 9feb0c273e Lots of changes, started on working /add 2023-06-24 15:35:37 +02:00
Alexander 21411fa73a first working prototype 2023-06-24 15:35:37 +02:00
Alexander cbe36be64b Initial commit 2023-06-24 15:35:36 +02:00