Commit Graph

27 Commits

Author SHA1 Message Date
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
Riccardo Giorato bbe8c8caf8 Refactor image model selection and dimensions 2025-12-23 21:41:38 +01:00
Riccardo Giorato ff25be7c85 This commit adds support for reusing existing character images from exis 2025-12-23 13:43:35 +01:00
Riccardo Giorato 9f18c083ab tailwind fixes 2025-12-23 12:41:11 +01:00
Riccardo Giorato 55144e38d3 Enhance glass panel blur effect and update component styling 2025-12-23 12:35:10 +01:00
Riccardo Giorato d2b94bde98 Refactor character image handling and API calls 2025-12-23 12:31:54 +01:00
Riccardo Giorato 3eea61625d feat: add S3 upload configuration and Together.ai API integration 2025-12-23 12:20:03 +01:00
Riccardo Giorato 3731e3f476 initial commit with Youssef work 2025-12-22 20:20:39 +01:00