[PR #7058] [MERGED] fix(characters): restore New Folder and remove duplicate finder (#7056) #7448

Closed
opened 2026-10-23 04:19:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix/characters-new-folder


📝 Commits (2)

  • 3818053 Restore New Folder and remove duplicate-finder UI (#7056)
  • 9ab9748 Align Characters release note with the final review split

📊 Changes

8 files changed (+25 additions, -419 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 e2e/character-library-tools.e2e.ts (+20 -38)
➖ packages/client/src/components/characters/CharacterDuplicatesModal.tsx (+0 -244)
📝 packages/client/src/components/layout/AppShell.tsx (+0 -64)
📝 packages/client/src/components/panels/CharactersPanel.tsx (+0 -10)
📝 packages/client/src/hooks/use-characters.ts (+1 -30)
📝 packages/client/src/localization/locales/en.json (+0 -28)
📝 packages/client/src/stores/ui.store.ts (+0 -5)

📄 Description

Why this change

The Characters sidebar should keep New Folder easy to reach. This removes the unwanted Possible duplicates control and restores New Folder to its previous full width.

Closes #7056. Companion to #7049; targets staging.

What changed

  • Restore the original New Folder control and remove the unused duplicate-review dialog, hook and runtime state.
  • Keep bulk tag editing and the server duplicate-detection API unchanged.
  • Update the existing browser regression to create a folder and check the restored width while retaining bulk-tag failure, retry and persistence coverage.

This is an independent eight-file change extracted from #7049 so it can receive a complete focused review before the larger redesign. Both PRs still require their normal checks and CodeRabbit review; no files are excluded from review.

Validation

Production-code revision: 3818053d6cdc90ad99e06f614a46004de530de2d. Head 9ab97485cc8d4a552bb21dff8956655aa5c4b151 only aligns the changelog wording; production code and tests are identical.

  • pnpm check passed, including localization, formatting, lint, TypeScript and production builds.

  • pnpm regression:ui e2e/character-library-tools.e2e.ts --workers=1: 6 passed, covering desktop Chromium, mobile Chromium and mobile WebKit. This checks the missing duplicate button, full-width New Folder, actual folder creation, and bulk-tag success, partial failure, retry and persistence.

  • pnpm smoke:ui: 7 passed. pnpm smoke:production: 3 passed, including both mobile browsers.

  • Native ARM64 container marinara-characters-new-folder:3818053d6 built and ran successfully. Health, root HTML and multiplayer guest JavaScript/CSS returned successfully; baked full SHA and branch matched. Image ID: sha256:502a07fea5e333ee081484a75ff74bf3bf6eaff1e7756548c928ef24da98ddd4. The isolated temporary container was removed.

  • Local CodeRabbit completed across all eight changed files with zero findings. Hosted CodeRabbit completed its ASSERTIVE review of 8c96996d7…9ab97485c with no actionable comments and no review threads. Its docstring-coverage warning is informational: this patch adds no production functions, and the bulk-tag implementation below the removed hook is unchanged. No extra docstrings were added. The final changelog wording follows the maintainer's exact copy.

  • pnpm check passes locally

  • Container (Docker / Podman) built and ran without issue

  • Ran the app, clicked through the changes manually

  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)

  • Above manual verification completed (describe below)

  • Read and followed CONTRIBUTING.md

Manual verification notes

Recorded browser verification used synthetic characters. Desktop and phone screenshots were visually inspected; the control is visible and fills its row. These are browser emulations, not physical-phone checks. The before image was captured from a fresh archive of staging 8c96996d73a8edd96db0e30168e1fa64eeb99c28; its original duplicate-review test passed.

  • Open Characters on desktop and a phone; verify Possible duplicates is absent and New Folder fills its row.
  • Create a folder, move a character into it, and confirm bulk tag editing still works.

Docs and release impact

A concise Unreleased changelog entry covers the restored control. No guide, storage format or version changes are needed.

UI evidence

Inspected before/after gallery. All three uploaded PNGs were downloaded again and matched their local SHA-256 hashes.

Before: Possible duplicates shares the New Folder row

Before: Possible duplicates shares the New Folder row

After: full-width New Folder on desktop

After: full-width New Folder on desktop

After: full-width New Folder on a phone

After: full-width New Folder on a phone

🔄 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/7058 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/4/2026 **Status:** ✅ Merged **Merged:** 10/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/characters-new-folder` --- ### 📝 Commits (2) - [`3818053`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3818053d6cdc90ad99e06f614a46004de530de2d) Restore New Folder and remove duplicate-finder UI (#7056) - [`9ab9748`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9ab97485cc8d4a552bb21dff8956655aa5c4b151) Align Characters release note with the final review split ### 📊 Changes **8 files changed** (+25 additions, -419 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `e2e/character-library-tools.e2e.ts` (+20 -38) ➖ `packages/client/src/components/characters/CharacterDuplicatesModal.tsx` (+0 -244) 📝 `packages/client/src/components/layout/AppShell.tsx` (+0 -64) 📝 `packages/client/src/components/panels/CharactersPanel.tsx` (+0 -10) 📝 `packages/client/src/hooks/use-characters.ts` (+1 -30) 📝 `packages/client/src/localization/locales/en.json` (+0 -28) 📝 `packages/client/src/stores/ui.store.ts` (+0 -5) </details> ### 📄 Description ## Why this change The Characters sidebar should keep **New Folder** easy to reach. This removes the unwanted **Possible duplicates** control and restores New Folder to its previous full width. Closes #7056. Companion to #7049; targets `staging`. ## What changed - Restore the original New Folder control and remove the unused duplicate-review dialog, hook and runtime state. - Keep bulk tag editing and the server duplicate-detection API unchanged. - Update the existing browser regression to create a folder and check the restored width while retaining bulk-tag failure, retry and persistence coverage. This is an independent eight-file change extracted from #7049 so it can receive a complete focused review before the larger redesign. Both PRs still require their normal checks and CodeRabbit review; no files are excluded from review. ## Validation Production-code revision: `3818053d6cdc90ad99e06f614a46004de530de2d`. Head `9ab97485cc8d4a552bb21dff8956655aa5c4b151` only aligns the changelog wording; production code and tests are identical. - `pnpm check` passed, including localization, formatting, lint, TypeScript and production builds. - `pnpm regression:ui e2e/character-library-tools.e2e.ts --workers=1`: **6 passed**, covering desktop Chromium, mobile Chromium and mobile WebKit. This checks the missing duplicate button, full-width New Folder, actual folder creation, and bulk-tag success, partial failure, retry and persistence. - `pnpm smoke:ui`: **7 passed**. `pnpm smoke:production`: **3 passed**, including both mobile browsers. - Native ARM64 container `marinara-characters-new-folder:3818053d6` built and ran successfully. Health, root HTML and multiplayer guest JavaScript/CSS returned successfully; baked full SHA and branch matched. Image ID: `sha256:502a07fea5e333ee081484a75ff74bf3bf6eaff1e7756548c928ef24da98ddd4`. The isolated temporary container was removed. - Local CodeRabbit completed across all eight changed files with **zero findings**. Hosted CodeRabbit completed its ASSERTIVE review of `8c96996d7…9ab97485c` with **no actionable comments** and no review threads. Its docstring-coverage warning is informational: this patch adds no production functions, and the bulk-tag implementation below the removed hook is unchanged. No extra docstrings were added. The final changelog wording follows the maintainer's exact copy. - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Recorded browser verification used synthetic characters. Desktop and phone screenshots were visually inspected; the control is visible and fills its row. These are browser emulations, not physical-phone checks. The before image was captured from a fresh archive of staging `8c96996d73a8edd96db0e30168e1fa64eeb99c28`; its original duplicate-review test passed. - [ ] Open Characters on desktop and a phone; verify Possible duplicates is absent and New Folder fills its row. - [ ] Create a folder, move a character into it, and confirm bulk tag editing still works. ## Docs and release impact A concise Unreleased changelog entry covers the restored control. No guide, storage format or version changes are needed. ## UI evidence [Inspected before/after gallery](https://gist.github.com/SpicyMarinara/aa3ea2f86d0b2ffc03e0abdd06ab78dd). All three uploaded PNGs were downloaded again and matched their local SHA-256 hashes. **Before: Possible duplicates shares the New Folder row** <img src="https://gist.githubusercontent.com/SpicyMarinara/aa3ea2f86d0b2ffc03e0abdd06ab78dd/raw/cc76cfff57704c6cd27e893335e5cb9257b365db/before-desktop-characters.png" width="900" alt="Before: Possible duplicates shares the New Folder row" /> **After: full-width New Folder on desktop** <img src="https://gist.githubusercontent.com/SpicyMarinara/aa3ea2f86d0b2ffc03e0abdd06ab78dd/raw/cc76cfff57704c6cd27e893335e5cb9257b365db/after-desktop-characters.png" width="900" alt="After: full-width New Folder on desktop" /> **After: full-width New Folder on a phone** <img src="https://gist.githubusercontent.com/SpicyMarinara/aa3ea2f86d0b2ffc03e0abdd06ab78dd/raw/cc76cfff57704c6cd27e893335e5cb9257b365db/after-mobile-characters.png" width="390" alt="After: full-width New Folder on a phone" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:19:54 +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#7448
No description provided.