Commit Graph

13 Commits

Author SHA1 Message Date
Alex Polo
d9eb9cb314 Add advanced calendar features and toast notifications
Features:
- Toast notifications system (replaces alerts/confirms)
- Shift+click range selection for blocking dates
- Ctrl/Cmd+click for non-contiguous multi-date selection
- Progress indicators for all async operations
- Improved blocked dates list with formatted dates
- Red styling for blocked dates in calendar
- Blue styling for pending dates (Ctrl+click)
- Weekly schedule awareness (confirm before blocking work days)
- Non-working day styling (gray, dashed border)

Other improvements:
- Featured flag for menus (DB migration script included)
- Image handling fixes (renamed PNG files, updated references)
- Optimistic UI updates for better UX
- Multi-select bulk delete for blocked dates
- Show-only-blocked filter mode

Components:
- src/components/ui/toast.tsx (new)
- scripts/add-featured-column.mjs (new DB migration)
- scripts/README.md (migration documentation)
2025-10-31 20:06:41 +01:00
Alex Polo
b006314526 Fix image formats: rename public images to .png and update sample-data refs; make ImagePlaceholder sizing defer to parent 2025-10-30 19:40:24 +01:00
Alex Polo
2bb9237eef feat(booking): disable blocked and unavailable dates using weekly availability and blocked dates API 2025-10-29 11:17:55 +01:00
Alex Polo
8afd6a36f3 feat(admin): availability management - weekly schedule & blocked dates (DB + API + admin UI) 2025-10-29 10:52:31 +01:00
Alex Polo
5b9bbace8b fix(contact): send from authenticated mailbox and set Reply-To for Office365 SMTP; update env example and README with app-password notes 2025-10-29 10:40:50 +01:00
Alex Polo
19ea933927 feat(contact): add contact form and server-side email via SMTP (Office365); .env.example updated 2025-10-29 10:34:14 +01:00
Alex Polo
dda9b515e1 docs: add deployment, migration and image generation instructions to README; ignore dist/generated images 2025-10-29 10:31:25 +01:00
Alex Polo
b7d6729234 chore: stop tracking generated images + ignore dist and image-cache 2025-10-29 10:28:49 +01:00
Alex Polo
c982bafee4 feat: add MariaDB support, admin API + admin UI persistence, image generation caching and missing menu images; move credentials to .env and add .env.example 2025-10-29 10:26:00 +01:00
Alex Polo
cc2fb207eb Merge branch 'main' of https://github.com/alexpolo1/kokken 2025-10-28 23:27:56 +01:00
Alex
b4efc417b4 Initial commit 2025-10-28 23:23:02 +01:00
Alex Polo
4acfa6a213 Initial commit - Warme catering website 2025-10-28 23:22:33 +01:00
Alex Polo
a8b85b58be Initial commit from Create Next App 2025-10-28 21:59:06 +01:00