Commit Graph

17 Commits

Author SHA1 Message Date
Riccardo Giorato 9cf3e31af2 Enforce MAX_USER_PROMPT limit in generate-page-modal and comic-creation-form 2026-02-11 11:37:28 +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 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 efa167a96e Simplify character selection UI and update selection message 2025-12-26 22:00:51 +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 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 ab3885eaa1 Add keyboard shortcut for form submission and remove unused useEffect 2025-12-26 19:29:49 +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 9895200db6 wip 2025-12-26 17:30:08 +01:00
Riccardo Giorato 4e4ce9ed35 wip 2025-12-26 14:32:49 +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 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 3731e3f476 initial commit with Youssef work 2025-12-22 20:20:39 +01:00