mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4209] [MERGED] Add bulk move-to-folder action to character selection bar #6281
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#6281
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/4209
Author: @Gunterlie
Created: 7/28/2026
Status: ✅ Merged
Merged: 7/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:character-folder-move📝 Commits (4)
8208c38Add bulk move-to-folder action to character selection barbff4df5Shorten move action label and scroll long choice dialogsa9d02b9Shorten move action label and drop the highlighted folder default2d36654Prevent duplicate bulk moves, add error handling, and fix dialog layout📊 Changes
4 files changed (+77 additions, -21 deletions)
View changed files
📝
packages/client/src/components/panels/CharactersPanel.tsx(+51 -5)📝
packages/client/src/components/ui/AppDialogRenderer.tsx(+18 -16)📝
packages/client/src/components/ui/SelectionActionBar.tsx(+5 -0)📝
packages/client/src/localization/locales/en.json(+3 -0)📄 Description
Linked issue
No issue exists for this yet — one should be opened before this PR is merged.
Closes #
Why this change
What changed
SelectionActionBargained an optionalextraActionslot rendered before Export, so panels can add a third bulk action.CharactersPanel: selection mode now shows a Move button next to Export and Delete. It opens the existing choice dialog listing every folder plus a "No folder" option, and routes through the samemoveCharactersToFolderhelper drag-and-drop uses, so multi-select moves and folder-to-folder moves work identically.AppDialogRenderer: choice dialogs scroll (max-h-[50vh]) so a long folder list stays inside the modal.en.jsonkeys and reused the existinglorebook.editor.batch.movelabel. Other locales fall back to English.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Driven in headless Chromium (desktop 1440x900 and Pixel 7 viewports) via a throwaway Playwright spec that was not kept: search for a character, select it, press Move, choose a folder, then assert via
/api/characters/groups/listthat the character ends up in exactly the target folder — including the case where it already belonged to another folder, and with 12 folders in the dialog. Both viewports passed.pnpm checkpasses.Still worth checking by hand in a real browser:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.