Commit Graph

65 Commits

Author SHA1 Message Date
Riccardo Giorato eb692bcca3 Update API key usage and credit checking logic for comic generation 2026-01-13 13:17:16 +01:00
Riccardo Giorato 0a536dc5af Display dynamic GitHub stars in navbar
Added a useEffect hook to fetch and display the current star count for the Nutlope/make-comics GitHub repository in the navbar, replacing the hardcoded value. This provides users with up-to-date information about the project's popularity.
2026-01-12 15:25:26 +01:00
Riccardo Giorato 73cb6770e6 Update american.jpg 2026-01-06 13:51:29 +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 6adde0ed17 Update comic preview image to use manga.png 2026-01-06 13:03:20 +01:00
Riccardo Giorato 24c1f733b3 Add content policy checks and rate limiting 2026-01-05 23:06:30 +01:00
Riccardo Giorato 745b9d0ab5 Update README.md 2026-01-05 22:47:26 +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 dd1bddaaa4 Show skeleton navbar while loading 2025-12-28 13:18:10 +01:00
Riccardo Giorato 16011f38a4 Add native share support with clipboard fallback 2025-12-28 13:16:05 +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 9613ce8755 Show comic preview on all devices and fix quote syntax 2025-12-27 23:44:35 +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 cb00498df1 Add page navigation buttons and update info button text for mobile and d 2025-12-27 12:12:51 +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 a719bd69ad Merge pull request #1 from riccardogiorato/refactoring
Add add-page/delete-page APIs and enhance comic generation with prompt refactoring
2025-12-26 22:05:50 +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 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 8d19367b34 cleanup 2025-12-26 21:18:35 +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 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