Commit Graph

78 Commits

Author SHA1 Message Date
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 5d18fad18a add story loader 2025-12-26 19:39:22 +01:00
Riccardo Giorato ab3885eaa1 Add keyboard shortcut for form submission and remove unused useEffect 2025-12-26 19:29:49 +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 9f4dd15395 wip 2025-12-26 13:39:18 +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 50ae57ec9b Update story-input.tsx 2025-12-26 13:22:46 +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 d5b163e586 Add authentication check and require user ID for story creation 2025-12-25 14:21:41 +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 fbcac53de1 add drizzle 2025-12-23 12:54:15 +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 62645297c8 Update API key modal and footer links to use Together AI 2025-12-22 20:29:47 +01:00
Riccardo Giorato 3731e3f476 initial commit with Youssef work 2025-12-22 20:20:39 +01:00
Riccardo Giorato c0228d67d0 Initial commit 2025-12-22 16:53:27 +01:00