69 Commits

Author SHA1 Message Date
Rasmus Q
37870c8403 fix: restore padding to wishlist item cards 2026-03-16 15:09:48 +00:00
Rasmus Q
07c098df77 refactor: create shared UI components and utilities
- Add Select UI component
- Create currency utilities (CURRENCIES, formatPrice)
- Create ThemedCard wrapper component
- Create FormField wrapper component
- Update ItemForm and WishlistItem to use new abstractions
- Standardize currency type with single source of truth
2026-03-16 14:51:33 +00:00
Rasmus Q
6d3a418525 refactor: convert wishlist creation from API to form action 2026-03-16 14:37:33 +00:00
Rasmus Q
563ee5699b refactor: simplify ItemForm API using events instead of callback props 2026-03-16 14:20:50 +00:00
Rasmus Q
d63535ad1b feat: auto-load images when ItemForm opens with existing URL 2026-03-16 13:47:10 +00:00
Rasmus Q
7084f703dc feat: auto-load images when user stops typing link (500ms debounce) 2026-03-16 13:40:48 +00:00
Rasmus Q
1808f6d0ac refactor: merge AddItemForm and EditItemForm into single ItemForm component 2026-03-16 13:09:56 +00:00
Rasmus Q
1089a6eb3a migrate: switch from bun to pnpm and add zod dependency 2026-03-16 12:18:04 +00:00
Rasmus Q
fad19a9aa0 add: Zod validation schemas for form data and refactor server actions to use them 2026-03-16 10:56:58 +00:00
Rasmus Q
bc680fb60b refactor: add proper types for all database insert operations
- Add missing Select and Insert types for Auth.js tables (Account, Session, VerificationToken)
- Update all insert operations to use typed New* variables:
  - NewUser for user signup
  - NewItem for adding wishlist items
  - NewSavedWishlist for saving wishlists
- Improves type safety and catches insert errors at compile time
2026-03-15 21:38:54 +00:00
Rasmus Q
6ae82d758e config: properly configure ESLint for .svelte.ts files
- Install svelte-eslint-parser package
- Add dedicated ESLint configuration for .svelte.ts files
- Configure Svelte parser with TypeScript support for runes
- Remove file ignores - all source files are now properly linted
2026-03-15 21:15:59 +00:00
Rasmus Q
35c1ab64e8 refactor: fix all lint errors and improve code quality
- Fix TypeScript 'any' types throughout codebase
- Add proper type definitions for wishlist items and components
- Fix missing keys in {#each} blocks
- Remove unused imports and variables
- Remove unused function parameters
- Update imports to use new schema location (/db/schema)
- Disable overly strict Svelte navigation lint rules
- Ignore .svelte.ts files from ESLint (handled by Svelte compiler)
2026-03-15 21:10:58 +00:00
Rasmus Q
6c73a7740c style: format entire codebase with prettier 2026-03-15 21:02:57 +00:00
Rasmus Q
06c96f4b35 update: improve project structure and add linting/formatting
- Remove duplicate lucide-svelte package, keep @lucide/svelte
- Move schema from src/lib/server/ to src/lib/db/ for better organization
- Add path aliases to svelte.config.js (, , , , )
- Add ESLint and Prettier configuration with 2-space indentation
- Update all imports to use new schema location and icon package
2026-03-15 20:58:55 +00:00
Rasmus Q
686b43bc18 update: refactor deployment docs to use Phase instead of Infisical 2026-03-15 20:43:01 +00:00
Rasmus Q
83d68b0c58 fix: strengthen password security - increase bcrypt rounds to 14, add notNull constraint to password field, add pull_policy to docker-compose 2026-03-15 20:33:12 +00:00
Rasmus Krogh Udengaard
988c7ef6b5 update: better image scraping 2026-03-05 15:19:19 +01:00
Rasmus Krogh Udengaard
9f8ae9a972 add: simple validation and sanitizing 2026-03-05 15:04:12 +01:00
d046c66bc7 update: hide empty claimed wishlists, move local wishlists, cleanup comments 2025-12-21 17:37:54 +01:00
0b1e2b8dd3 update: generalize docker deployment 2025-12-21 16:14:46 +01:00
Rasmus Q
7453c356bb update: wishlist docker compose file 2025-12-19 23:02:34 +00:00
rasmusq
a5e47cdc1f update: readme with images 2025-12-20 00:02:10 +01:00
rasmusq
b3f123388f update: more visual consistency 2025-12-19 23:48:23 +01:00
rasmusq
8f574380ce update: theme switcher button use new generalized button 2025-12-19 23:35:43 +01:00
rasmusq
cb4539a982 update: generalize button components 2025-12-19 23:23:46 +01:00
rasmusq
466704a23a fix: dropdown theme colors 2025-12-19 23:13:03 +01:00
rasmusq
b381a6d669 update: reduce theme pattern prescence 2025-12-19 22:53:41 +01:00
2b12896374 Merge pull request 'feature/database-timestamps' (#7) from feature/database-timestamps into master
Reviewed-on: #7
2025-12-19 21:34:52 +00:00
rasmusq
bdfcdcc15b add: snow theme 2025-12-19 22:34:23 +01:00
rasmusq
b848477729 update: consistent round button sizing 2025-12-19 21:01:17 +01:00
rasmusq
ed9da14fa5 add: create, update and login dates in database 2025-12-19 20:50:06 +01:00
23ff65f3e7 Merge pull request 'feature/userdefined-dashboard-color' (#6) from feature/userdefined-dashboard-color into master
Reviewed-on: #6
2025-12-19 19:22:35 +00:00
rasmusq
ac81b8175c fix: missing color on empty lists in edit and wishlist pages 2025-12-19 20:20:11 +01:00
rasmusq
19493b4cd3 remove: svg from dashboard lists 2025-12-19 20:09:49 +01:00
rasmusq
b80ef2cfea add: color selection on dashboard 2025-12-19 19:33:43 +01:00
22f9f8f0c9 Merge pull request 'update: better color support on wishlists' (#5) from update/wishlist-color-update-updates-background-and-svg-color into master
Reviewed-on: #5
2025-12-16 13:43:49 +00:00
3af098505b update: better color support on wishlists 2025-12-16 14:42:26 +01:00
a3c4067a4c Merge pull request 'feature/builtin-themes' (#4) from feature/builtin-themes into master
Reviewed-on: #4
2025-12-14 19:49:13 +00:00
8af491d823 fix: alignment on wish reservation cancellation dialog 2025-12-14 20:31:10 +01:00
2b74c11884 add: user lock on reservations 2025-12-14 20:29:02 +01:00
23e19932d2 add: dynamic themes and streamlined theme creation system 2025-12-14 20:06:36 +01:00
rasmusq
152bd7cdb1 wip: making themes more dynamic and easy to add 2025-11-30 01:30:43 +01:00
rasmusq
d165e5992a fix: missing theme on local wishlists in dashboard page 2025-11-28 13:03:13 +01:00
rasmusq
eb7ccdf7a2 add: themes for wishlists and dashboards 2025-11-28 12:45:20 +01:00
rasmusq
7c6ff9458f wip: not loading themes until reload, missing in dashboard, bad alignment and scaling 2025-11-28 00:26:43 +01:00
rasmusq
85f8671c72 add: local wishlists stored in local storage for anonymous users 2025-11-27 21:35:28 +01:00
rasmusq
8dcf26b1d3 update: use better effect pattern for sorted wishlist in edit page 2025-11-27 21:21:23 +01:00
rasmusq
93c5b839d3 refactor: abstract edit page components and functions 2025-11-27 21:17:30 +01:00
rasmusq
86c0665aed refactor: abstract dashboard lists into components 2025-11-27 21:12:16 +01:00
Rasmus Q
c5ece3d6bb fix: missing wrap on unsave button in wishlist reservation page 2025-11-26 07:47:22 +00:00