mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6779] [MERGED] feat: compare duplicate characters and edit tags in bulk #7327
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#7327
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/6779
Author: @SirAdoni
Created: 9/27/2026
Status: ✅ Merged
Merged: 9/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:contrib/6698-character-tools📝 Commits (10+)
ec3f9edfeat: compare duplicate characters and edit tags in bulkb9c5a88Merge staging and preserve character comparison navigation2081576Merge staging inventory update into character toolsb2b539dMerge commit '3355c32277' into contrib/6698-character-tools6b6c4b9fix: preserve character selections during bulk tag editsdfcfc73Merge remote-tracking branch 'origin/staging' into codex/assigned-67796417afcfix: reuse scalar Windows readiness checks from PR 67785af688dfix: retain failed bulk tag selections for retry28c62dcfix: allow time for repeated server shutdown regression bootsac0aa15fix: bound terminal regression runner for sequential boots📊 Changes
17 files changed (+1744 additions, -20 deletions)
View changed files
📝
CHANGELOG.md(+15 -0)➕
e2e/character-library-tools.e2e.ts(+241 -0)➕
packages/client/src/components/characters/CharacterBulkTagsModal.tsx(+273 -0)➕
packages/client/src/components/characters/CharacterDuplicatesModal.tsx(+244 -0)📝
packages/client/src/components/layout/AppShell.tsx(+65 -0)📝
packages/client/src/components/panels/CharactersPanel.tsx(+46 -10)📝
packages/client/src/hooks/use-characters.ts(+62 -0)📝
packages/client/src/localization/locales/en.json(+62 -0)📝
packages/client/src/stores/ui.store.ts(+5 -0)📝
packages/server/src/routes/characters.routes.ts(+107 -0)📝
packages/shared/src/index.ts(+2 -0)➕
packages/shared/src/utils/character-duplicates.ts(+190 -0)➕
packages/shared/src/utils/character-tag-edits.ts(+115 -0)➕
scripts/regressions/character-bulk-tags.regression.ts(+186 -0)➕
scripts/regressions/character-duplicates.regression.ts(+78 -0)➕
scripts/regressions/regression-timeout-policy.regression.mjs(+34 -0)📝
scripts/run-regressions.mjs(+19 -10)📄 Description
Linked issue
Closes #6807. Partial implementation of #6698; the umbrella issue remains open.
Why this change
Character collections need duplicate comparison and bulk tags that include every selected card, even when filters hide it.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdpnpm check; focused duplicate/bulk-tag regressions; three desktop/mobile Chromium/WebKit browser cases; seven shell smoke cases and two desktop theme checks passed.
Independent review reproduced and fixed hidden-selection and partial-failure defects. See the current maintainer verification below for review and validation evidence.
Manual verification
Manually verify duplicate comparison and bulk tags across filters/pages, including one failed card and retry.
Automated browser evidence does not claim physical-device or manual container verification. Human checklist states are preserved.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedAdded an Unreleased changelog entry. No release metadata or user-facing docs changed.
UI evidence
Browser evidence (download the HTML to view the embedded screenshots). Captions distinguish before/after captures from current feature screenshots.
Summary by CodeRabbit
Maintainer verification
Published
66a815175preserves the author's justified 270-second aggregate signal-test limit and fixes two confirmed problems. Bulk-tag HTTP failures now retain earlier successes, continue later batches, and keep only rejected card IDs for retry using the existing result shape. The runner canonicalizes its entry path so absolute paths through symlink directories execute instead of silently returning success; importing it from stdin remains safe.A before-fix runner proof reproduced the silent skip. Retained subprocess coverage verifies nonempty canonical/symlink execution and safe import. Real browser coverage exercises successful 5000 cards, rejected 5000 cards, a successful final card, then a retry containing only the rejected IDs. Exact-head pnpm check, feature browsers 6/6, smoke 7/7, runner-entry and actual signal-shutdown regressions pass. Independent code review found no substantive issue.
The combined integration c5410d2c2 passes pnpm check, four focused regressions, and all nine affected browser cases across desktop Chromium, mobile Chromium and mobile WebKit. The final combined local CodeRabbit delta completed with zero findings across nine files.
Current-head hosted CodeRabbit and GitHub checks remain merge gates. Human validation checkboxes are unchanged.
Published
27c646d5amerges staging982cbb901. Only adjacent changelog additions required resolution; both were retained. All 14 feature-only files and 26 incoming staging-only files are unchanged from their respective parents, and shared AppShell, English catalog and exports match the automatic merge. Fresh pnpm check and the bulk-tag regression pass. Prior combined three-browser evidence covers the unchanged implementation.Local build and container verification
Tested commit:
9c1c4a3b43. Full local pnpm check passed. The full Docker image built successfully and ran with synthetic data; HTTP readiness and embedded build commit were verified. These results do not claim completion of the remaining manual and UI edge-case checklist.Interactive browser walkthroughs of the feature were completed against the running production container using synthetic fixtures, supported by focused automated browser checks. This was agent-operated browser interaction, not physical-device testing. The broader theme, empty-state and error-path checklist remains separate.
Completed UI verification
At
9c1c4a3b43, focused browser checks passed 6/6 across desktop Chromium, mobile Chromium and mobile WebKit, covering duplicate comparison, bulk tags and retrying only failed cards. Two supplemental empty-catalog checks passed and were visually inspected in light desktop and dark 390px-wide views: Search characters was visible, loading had completed and there was no horizontal document overflow. Production-container interaction verified comparison and persisted bulk-tag changes. These were agent-operated synthetic browser checks; no physical-device or real-provider testing is claimed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.