mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1245] [MERGED] Add image upload dropzones #5003
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5003
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1245
Author: @Xelvanis
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @Xelvanis
Base:
refactor← Head:feat/image-upload-dropzones📝 Commits (4)
c097dd1Add image upload dropzones4570ac4Merge remote-tracking branch 'origin/refactor' into codex/adapt-044891af35e57fAdd image upload dropzones3e721afAddress image upload review findings📊 Changes
10 files changed (+486 additions, -66 deletions)
View changed files
📝
src-tauri/src/commands/storage.rs(+1 -1)📝
src-tauri/src/commands/storage/backgrounds.rs(+4 -4)📝
src-tauri/src/commands/storage/shared.rs(+84 -5)📝
src-tauri/src/http_dispatch.rs(+136 -1)📝
src/features/catalog/characters/components/CharacterEditor.tsx(+13 -17)📝
src/features/catalog/gallery/hooks/use-gallery.ts(+17 -2)📝
src/features/modes/shared/chat-ui/components/ChatGallery.tsx(+22 -22)📝
src/features/shell/settings/components/SettingsPanel.tsx(+11 -14)📝
src/shared/api/remote-runtime.ts(+3 -0)➕
src/shared/components/ui/ImageUploadDropzone.tsx(+195 -0)📄 Description
Linked issue
No linked issue. This is a refactor-adaptation/parity branch from Xel's request.
Why this change
What changed
ImageUploadDropzonecomponent for image-only click/select and drag/drop uploads.background_upload,character_gallery_upload, andchat_gallery_upload.Refactor impact
Primary owner:
Impact areas reviewed:
/api/invokecommand routingBoundary notes:
src/shared/api/remote-runtime.tsand mirrored insrc-tauri/src/http_dispatch.rs.src-tauri; the background module was madepub(crate)only so HTTP dispatch can route the existing storage owner.Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Agent-run verification before PR:
pnpm typecheckpnpm lintpnpm check:architecturepnpm buildpassed with existing Vite chunk/dynamic-import warningscargo check --manifest-path src-tauri/Cargo.tomlcargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warningscargo test --manifest-path src-tauri/Cargo.tomlpnpm tauri build --debug --no-bundleRemaining manual gaps:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo changelog update: this branch currently has no
CHANGELOG*file.UI evidence
Native QA screenshots were generated locally under
scratch/tauri-qa-artifacts/qa-1779798954816-*.pngand were not committed.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.