[PR #198] [MERGED] Add Multiple File Upload Support to Chat and Character Galleries #4501

Closed
opened 2026-10-22 04:08:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/198
Author: @SpicyMarinara
Created: 4/23/2026
Status: ✅ Merged
Merged: 4/23/2026
Merged by: @SpicyMarinara

Base: main ← Head: copilot/pr-195-batch-fix


📝 Commits (3)

📊 Changes

5 files changed (+74 additions, -21 deletions)

View changed files

📝 CHANGELOG.md (+6 -0)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+10 -8)
📝 packages/client/src/components/chat/ChatGallery.tsx (+10 -8)
📝 packages/client/src/hooks/use-characters.ts (+25 -3)
📝 packages/client/src/hooks/use-gallery.ts (+23 -2)

📄 Description

Supersedes #195 because its source branch has maintainer edits disabled.

This carries the same feature plus the required follow-up fixes before merge:

  • track multi-file gallery uploads as one mutation per user action so the disabled/loading state stays correct
  • invalidate gallery queries once per batch instead of once per uploaded file
  • add the changelog entry for the new multi-upload support

Validation:

  • pnpm check

Summary by CodeRabbit

  • New Features
    • Added multi-image upload capability for chat and character galleries—users can now select and upload multiple images simultaneously instead of one at a time.
    • Enhanced upload error handling to provide clear feedback during batch uploads.
    • Updated UI button labels to reflect multi-image uploading.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/198 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 4/23/2026 **Status:** ✅ Merged **Merged:** 4/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `copilot/pr-195-batch-fix` --- ### 📝 Commits (3) - [`2e9365b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2e9365ba408285e771dd5d2a2fc84c576fd8b871) Fix: Add multiple file upload support to chat and character galleries - [`1a16603`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1a166033039094c2c9b8ee1eb8655e724bd7bb38) Merge branch 'main' of https://github.com/0-trspace/Marinara-Engine - [`a5d0800`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a5d0800b9266eb233b237b2e96872f5b23ef236c) fix: batch gallery multi-uploads ### 📊 Changes **5 files changed** (+74 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+6 -0) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+10 -8) 📝 `packages/client/src/components/chat/ChatGallery.tsx` (+10 -8) 📝 `packages/client/src/hooks/use-characters.ts` (+25 -3) 📝 `packages/client/src/hooks/use-gallery.ts` (+23 -2) </details> ### 📄 Description Supersedes #195 because its source branch has maintainer edits disabled. This carries the same feature plus the required follow-up fixes before merge: - track multi-file gallery uploads as one mutation per user action so the disabled/loading state stays correct - invalidate gallery queries once per batch instead of once per uploaded file - add the changelog entry for the new multi-upload support Validation: - pnpm check <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added multi-image upload capability for chat and character galleries—users can now select and upload multiple images simultaneously instead of one at a time. * Enhanced upload error handling to provide clear feedback during batch uploads. * Updated UI button labels to reflect multi-image uploading. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:08:12 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4501
No description provided.