mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1166] [MERGED] Fix character import drag-and-drop handling #4952
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#4952
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/1166
Author: @ghost
Created: 5/24/2026
Status: ✅ Merged
Merged: 5/24/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-pr-51-character-import-dnd📝 Commits (2)
183dc9dMigrate Refactor PR #51: Fix character import drag-and-dropf7680e0Address review feedback for character import drops📊 Changes
1 file changed (+88 additions, -7 deletions)
View changed files
📝
src/features/catalog/characters/components/ImportCharacterModal.tsx(+88 -7)📄 Description
Migrated from Pasta-Devs/Marinara-Engine-Refactor PR 51: https://github.com/Pasta-Devs/Marinara-Engine-Refactor/pull/51
Original author: @Promansis
Target base: Pasta-Devs/Marinara-Engine
refactorSource issue: Pasta-Devs/Marinara-Engine-Refactor issue 38
Note: this intentionally references the refactor-repo issue. It does not close Pasta-Devs/Marinara-Engine issue 38, which is an unrelated Windows
cpinstaller issue.Why this change
What changed
src/features/catalog/characters/components/ImportCharacterModal.tsx.DataTransferItems so unsupported or folder-like drops show a clear error instead of silently doing nothing.Validation
Codex local verification:
pnpm checkpassed fromD:\dev\Marinara-Engine-pr-1166-refactorwithTEMP/TMPpointed atscratch\codex-tempbecauseC:had no free temp space.node scratch\pr1166-dnd-smoke.mjspassed against local Vite athttp://127.0.0.1:5178:.jsondrop enters the import pathGitHub verification:
Manual verification notes
Docs impact
UI evidence
scratch\pr1166-dnd-smoke.mjsfor the modal, folder rejection, and supported-drop state. They are not embedded here because they are local proof artifacts, not GitHub-hosted attachments.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.