Commit Graph

57 Commits

Author SHA1 Message Date
Riccardo Giorato 624a729b24 feat: update deps, add pnpm-workspace, modify components 2026-06-17 09:43:26 +02:00
Riccardo Giorato 62f8a0ca35 feat: add feedback system with modal, api endpoints, and stats tracking 2026-04-16 22:02:03 +02:00
Riccardo Giorato 200a4e2a29 new together branding 2026-03-03 16:25:49 +01:00
Riccardo Giorato 9b44381deb logs 2026-01-29 22:14:56 +01:00
Riccardo Giorato 88cf7f38e2 Update route.ts 2026-01-29 22:04:04 +01:00
Riccardo Giorato 7ad2e1b9b7 3 comics per week 2026-01-29 16:55:54 +01:00
Riccardo Giorato 6ed91fffec usesOwnApiKey 2026-01-29 16:47:51 +01:00
Hassan El Mghari 6b6f316f21 added plausible 2026-01-29 10:35:50 -05:00
Riccardo Giorato 95545ef676 https://www.makecomics.io/ domain! 2026-01-28 23:30:59 +01:00
Riccardo Giorato 295ea5647f Update route.ts 2026-01-27 18:44:43 +01:00
Riccardo Giorato 2201bd2e3f console log image generation time 2026-01-27 17:09:18 +01:00
Riccardo Giorato eb692bcca3 Update API key usage and credit checking logic for comic generation 2026-01-13 13:17:16 +01:00
Riccardo Giorato b9cae19916 Removed debug logging from StoryEditorClient and added autoFocus to prom 2026-01-06 13:48:37 +01:00
Riccardo Giorato f4bb681e05 Update StoryEditorClient with new API key dependency 2026-01-06 13:45:42 +01:00
Riccardo Giorato 120d011f06 Update story-editor-client.tsx 2026-01-06 13:37:30 +01:00
Riccardo Giorato dfcfe4d394 Add authentication checks to StoryEditorClient and ComicCreationForm 2026-01-06 13:25:09 +01:00
Riccardo Giorato 24c1f733b3 Add content policy checks and rate limiting 2026-01-05 23:06:30 +01:00
Riccardo Giorato 5f69dc702d Update background images 2026-01-05 22:42:31 +01:00
Riccardo Giorato 057cd6a67e Update layout with openGraph metadata 2026-01-05 22:20:04 +01:00
Riccardo Giorato 6b19743950 Switch display font from Atma to Bangers and update related imports and 2025-12-28 13:13:52 +01:00
Riccardo Giorato 0b65e78ea3 Adjust main height to account for 6rem navbar 2025-12-27 23:48:02 +01:00
Riccardo Giorato 774101cc40 Add fourth comic page and extract preview component 2025-12-27 23:33:04 +01:00
Riccardo Giorato 849aec93dd Add PUT endpoint and in-place title editing for stories 2025-12-27 20:10:26 +01:00
Riccardo Giorato 708205f3f0 Refactor add-page API to use consistent previous page image logic and im 2025-12-27 20:06:02 +01:00
Riccardo Giorato c95f8afc49 Update story-editor-client.tsx 2025-12-27 19:55:12 +01:00
Riccardo Giorato 95a14c59fc Add clickable link to PDF footer and remove owner check for download but 2025-12-27 12:16:10 +01:00
Riccardo Giorato 8730b1053b Add PDF download functionality for stories with images 2025-12-27 12:08:52 +01:00
Riccardo Giorato ad4ee5c737 Add arrow key navigation and 'C' shortcut to add page, update UI hints 2025-12-27 11:54:28 +01:00
Riccardo Giorato d17d360d0e Remove hover scale effects and optimize mobile UI transitions 2025-12-27 11:42:54 +01:00
Riccardo Giorato 5a1d0e3849 Update story route from /editor to /story and add redirect 2025-12-26 22:13:45 +01:00
Riccardo Giorato b64efc71f6 Update page.tsx 2025-12-26 22:09:34 +01:00
Riccardo Giorato a618754337 Use frontend-selected characters instead of fetching recent ones 2025-12-26 21:57:25 +01:00
Riccardo Giorato ddf05e6259 Add page deletion functionality with confirmation dialog and API endpoin 2025-12-26 21:42:56 +01:00
Riccardo Giorato d8f0046c14 Add keyboard shortcut for info sheet and fix input field shortcut blocki 2025-12-26 21:36:55 +01:00
Riccardo Giorato 0710982f9d Add AI-generated title and description for new comic stories 2025-12-26 21:31:30 +01:00
Riccardo Giorato b4503b7e3e Replace localStorage API key with reactive hook across app 2025-12-26 21:16:23 +01:00
Riccardo Giorato 0ff8a4e685 Add ownership checks and share functionality to story editor 2025-12-26 21:02:36 +01:00
Riccardo Giorato 5917508175 Sort stories by most recently updated page 2025-12-26 20:02:57 +01:00
Riccardo Giorato f3c1398bd2 Add loading state and disable interactions during page generation 2025-12-26 19:50:30 +01:00
Riccardo Giorato 89048bae15 Add redraw page functionality with pageId support and UI updates 2025-12-26 19:43:28 +01:00
Riccardo Giorato 85f18f0ed1 Add reference images from previous page and story characters for consist 2025-12-26 18:08:21 +01:00
Riccardo Giorato 7fd5367577 Refactor comic page generation and add add-page API
Introduces a new /api/add-page endpoint for adding pages to existing comics, refactors prompt construction into a shared utility (lib/prompt.ts), and updates the editor and modal components to use the new API and prompt builder. Removes manual style and character selection in the modal, streamlining the page generation workflow and ensuring previous story context is referenced automatically.
2025-12-26 17:51:08 +01:00
Riccardo Giorato 47263231af Move info and redraw actions to ComicCanvas, update sidebar UI
Shifted the info and redraw buttons from the editor toolbar to the ComicCanvas component, allowing for contextual actions per page. Enhanced ComicCanvas to support page navigation via image clicks and added optional callbacks for info and navigation. Updated the page sidebar to display page thumbnails instead of numbers, improved the add page button, and adjusted button sizes for better usability.
2025-12-26 17:40:41 +01:00
Riccardo Giorato 9895200db6 wip 2025-12-26 17:30:08 +01:00
Riccardo Giorato 4e4ce9ed35 wip 2025-12-26 14:32:49 +01:00
Riccardo Giorato a2dd20ccdb Upload comic images to S3 and update database with S3 URLs 2025-12-26 13:33:38 +01:00
Riccardo Giorato 66b252fb2e Add loading state and style constants, enhance API key modal with delete 2025-12-26 12:15:01 +01:00
Riccardo Giorato 14b247ffaa Add stories dashboard with API endpoint and navigation updates 2025-12-26 11:36:45 +01:00
Riccardo Giorato 79bd750630 Add free tier rate limiting with Upstash Redis and API key handling 2025-12-25 16:04:00 +01:00
Riccardo Giorato 8bc68eb102 Add Clerk authentication and update auth flow for stories and API routes 2025-12-25 14:17:32 +01:00