Files
kokken/logs/err-0.log
T
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

67 lines
6.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
at setupFsCheck (/home/alex/git/warme/node_modules/next/dist/server/lib/router-utils/filesystem.js:151:19)
at async initialize (/home/alex/git/warme/node_modules/next/dist/server/lib/router-server.js:64:23)
at async NextCustomServer.prepare (/home/alex/git/warme/node_modules/next/dist/server/next.js:242:28)
2025-10-29T09:09:56: ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
2025-10-29T09:19:59: ⨯ The requested resource isn't a valid image for /img/fusion.jpg received null
2025-10-29T09:20:01: ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
2025-10-29T09:20:01: ⨯ The requested resource isn't a valid image for /img/sushi.jpg received null
2025-10-29T09:20:04: ⨯ The requested resource isn't a valid image for /img/sushi.jpg received null
2025-10-29T09:20:04: ⨯ The requested resource isn't a valid image for /img/fusion.jpg received null
2025-10-29T09:25:22: ⨯ The requested resource isn't a valid image for /img/sushi.jpg received null
2025-10-29T09:25:22: ⨯ The requested resource isn't a valid image for /img/fusion.jpg received null
2025-10-29T09:25:35: ⨯ The requested resource isn't a valid image for /img/sushi.jpg received null
2025-10-29T09:25:35: ⨯ The requested resource isn't a valid image for /img/fusion.jpg received null
2025-10-29T09:26:06: ⨯ The requested resource isn't a valid image for /img/sushi.jpg received null
2025-10-29T09:26:09: ⨯ The requested resource isn't a valid image for /img/fusion.jpg received null
2025-10-29T10:07:03: ⨯ The requested resource isn't a valid image for /img/sushi.jpg received null
2025-10-29T10:07:03: ⨯ The requested resource isn't a valid image for /img/fusion.jpg received null
2025-10-29T10:07:11: ⨯ The requested resource isn't a valid image for /img/sushi.jpg received null
2025-10-29T10:07:11: ⨯ The requested resource isn't a valid image for /img/fusion.jpg received null
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
at setupFsCheck (/home/alex/git/warme/node_modules/next/dist/server/lib/router-utils/filesystem.js:151:19)
at async initialize (/home/alex/git/warme/node_modules/next/dist/server/lib/router-server.js:64:23)
at async NextCustomServer.prepare (/home/alex/git/warme/node_modules/next/dist/server/next.js:242:28)
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
at setupFsCheck (/home/alex/git/warme/node_modules/next/dist/server/lib/router-utils/filesystem.js:151:19)
at async initialize (/home/alex/git/warme/node_modules/next/dist/server/lib/router-server.js:64:23)
at async NextCustomServer.prepare (/home/alex/git/warme/node_modules/next/dist/server/next.js:242:28)
2025-10-30T19:41:07: ⨯ Error: Input Buffer is empty
at Sharp._createInputDescriptor (/home/alex/git/warme/node_modules/sharp/lib/input.js:68:13)
at new Sharp (/home/alex/git/warme/node_modules/sharp/lib/constructor.js:403:29)
at Sharp (/home/alex/git/warme/node_modules/sharp/lib/constructor.js:212:12)
at detectContentType (/home/alex/git/warme/node_modules/next/dist/server/image-optimizer.js:359:28)
at imageOptimizer (/home/alex/git/warme/node_modules/next/dist/server/image-optimizer.js:767:32)
at NextNodeServer.imageOptimizer (/home/alex/git/warme/node_modules/next/dist/server/next-server.js:655:20)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async cacheEntry.imageResponseCache.get.incrementalCache (/home/alex/git/warme/node_modules/next/dist/server/next-server.js:182:65)
at async /home/alex/git/warme/node_modules/next/dist/server/response-cache/index.js:90:36
at async /home/alex/git/warme/node_modules/next/dist/lib/batcher.js:45:32
2025-10-30T19:41:29: ⨯ Error: Input Buffer is empty
at Sharp._createInputDescriptor (/home/alex/git/warme/node_modules/sharp/lib/input.js:68:13)
at new Sharp (/home/alex/git/warme/node_modules/sharp/lib/constructor.js:403:29)
at Sharp (/home/alex/git/warme/node_modules/sharp/lib/constructor.js:212:12)
at detectContentType (/home/alex/git/warme/node_modules/next/dist/server/image-optimizer.js:359:28)
at imageOptimizer (/home/alex/git/warme/node_modules/next/dist/server/image-optimizer.js:767:32)
at NextNodeServer.imageOptimizer (/home/alex/git/warme/node_modules/next/dist/server/next-server.js:655:20)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async cacheEntry.imageResponseCache.get.incrementalCache (/home/alex/git/warme/node_modules/next/dist/server/next-server.js:182:65)
at async /home/alex/git/warme/node_modules/next/dist/server/response-cache/index.js:90:36
at async /home/alex/git/warme/node_modules/next/dist/lib/batcher.js:45:32
2025-10-30T19:42:20: ⨯ Error: Input Buffer is empty
at Sharp._createInputDescriptor (/home/alex/git/warme/node_modules/sharp/lib/input.js:68:13)
at new Sharp (/home/alex/git/warme/node_modules/sharp/lib/constructor.js:403:29)
at Sharp (/home/alex/git/warme/node_modules/sharp/lib/constructor.js:212:12)
at detectContentType (/home/alex/git/warme/node_modules/next/dist/server/image-optimizer.js:359:28)
at imageOptimizer (/home/alex/git/warme/node_modules/next/dist/server/image-optimizer.js:767:32)
at NextNodeServer.imageOptimizer (/home/alex/git/warme/node_modules/next/dist/server/next-server.js:655:20)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async cacheEntry.imageResponseCache.get.incrementalCache (/home/alex/git/warme/node_modules/next/dist/server/next-server.js:182:65)
at async /home/alex/git/warme/node_modules/next/dist/server/response-cache/index.js:90:36
at async /home/alex/git/warme/node_modules/next/dist/lib/batcher.js:45:32