[PR #4898] [MERGED] Resolve assigned editor, summary, support, and performance issues #6531

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4898
Author: @SpicyMarinara
Created: 8/11/2026
Status: ✅ Merged
Merged: 8/11/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/assigned-issues-aug11


📝 Commits (6)

  • a5cdef2 chore: begin assigned issue sweep
  • a69021a fix: resolve assigned editor and performance issues
  • 7582bd4 fix: apply review feedback to issue sweep
  • ec9c6af fix: validate imported character gallery references
  • 6a5a414 Merge remote-tracking branch 'origin/staging' into agent/assigned-issues-aug11
  • 4843a9e test: exercise character gallery reference validation

📊 Changes

18 files changed (+863 additions, -104 deletions)

View changed files

📝 CHANGELOG.md (+5 -0)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+27 -1)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+281 -23)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+69 -1)
📝 packages/client/src/hooks/use-characters.ts (+3 -1)
📝 packages/client/src/hooks/use-chats.ts (+12 -1)
📝 packages/client/src/lib/character-import.ts (+81 -0)
➕ packages/client/src/lib/support-diagnostics.ts (+60 -0)
📝 packages/client/src/lib/touch-reorder.ts (+6 -4)
📝 packages/client/src/localization/locales/en.json (+9 -0)
📝 packages/client/src/styles/globals.css (+5 -7)
📝 packages/server/src/db/seed-mari.ts (+3 -0)
📝 packages/server/src/routes/characters.routes.ts (+38 -19)
📝 packages/server/src/routes/chats.routes.ts (+35 -4)
📝 packages/server/src/routes/generate.routes.ts (+12 -3)
📝 packages/server/src/services/professor-mari/workspace-agent.service.ts (+8 -2)
📝 packages/shared/src/utils/chat-summary-entries.ts (+15 -38)
📝 scripts/regressions/open-issues.regression.ts (+194 -0)

📄 Description

Linked issues

Closes #4896
Closes #4891
Closes #4878
Closes #4874
Closes #4897

Why this change

This sweep resolves the remaining assigned issues without duplicating #4894, which is already owned by #4895. It restores embedded card data during avatar replacement, makes summary ordering user-controlled and reliable, simplifies support diagnostics, gives Professor Mari strict field-editing guidance, and makes the existing reduced-effects control useful for costly desktop Conversation overlays.

What changed

  • Merge fields explicitly embedded in replacement character-card PNGs while preserving local fields that are absent from the card, and save the card data with the avatar in one versioned update.
  • Preserve summary array order as user intent, append new automatic summaries, refresh hiding preferences before applying them, and support mouse and touch drag-and-drop reordering with accessible move controls.
  • Add a localized Support Diagnostics action that copies version, build, commit, OS, browser/app shell, GPU, and active connection/provider/model without credentials.
  • Teach Professor Mari to inspect first, patch only requested character/persona fields, keep description/personality/backstory/appearance distinct, and verify edits before reporting success.
  • Apply Reduce Ambient Animations & Effects backdrop-blur flattening on desktop as well as mobile, including shared Conversation overlays.
  • Add focused regression coverage and user-facing changelog entries.

Validation

Automated validation performed:

  • pnpm check
  • pnpm localization:check
  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts
  • pnpm regression:prompt

Known staging baseline: pnpm regression:roleplay currently asserts UI store schema version 90 while both origin/staging and this branch use version 93.

  • 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

  • Manually verify replacing an existing avatar with a V2/V3 character-card PNG updates only embedded fields and creates a restorable version.
  • Manually reorder summaries by mouse and touch, reload the chat, and confirm automatic summaries append without resetting the chosen order.
  • Manually copy diagnostics with and without an active chat connection and verify no secrets are included.
  • Manually enable Reduce Ambient Animations & Effects in a desktop Conversation chat with an animated card and blurred overlay, then compare paint/GPU activity.
  • Manually verify Professor Mari places requested backstory and appearance in their dedicated editor fields without altering unrelated content.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a docs-i18n follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

User-facing changes are recorded in CHANGELOG.md. No documentation pages or release metadata changed.

UI evidence

The supported in-app browser could not initialize in this environment. The repository UI smoke suite reached 55 passing cases before unrelated existing timeouts in What is New and Character action scenarios; the relevant manual checks remain explicitly unchecked above.

Summary by CodeRabbit

  • New Features

    • Added Support Diagnostics in Advanced Settings to copy system, build, browser, graphics, provider, and model details for troubleshooting.
    • PNG character-card metadata is now imported when uploading character avatars.
    • Summary entries can be reordered using drag-and-drop, touch gestures, or move controls.
  • Bug Fixes

    • Improved summary ordering, visibility, and concurrent-update handling.
    • Fixed reduced-motion backdrop blur behavior across devices.
    • Improved character-card field updates and Professor Mari’s editing guidance.

🔄 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/4898 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/11/2026 **Status:** ✅ Merged **Merged:** 8/11/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/assigned-issues-aug11` --- ### 📝 Commits (6) - [`a5cdef2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a5cdef2c162611c3559a10da99e6af42d57cf28d) chore: begin assigned issue sweep - [`a69021a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a69021af1956a783ad3d8d5dab630298502627de) fix: resolve assigned editor and performance issues - [`7582bd4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7582bd4b23665eb4bcc00d102fc171224da3b1a4) fix: apply review feedback to issue sweep - [`ec9c6af`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ec9c6af456b774c4f0d8726d624554d2a00fbc89) fix: validate imported character gallery references - [`6a5a414`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6a5a414a7e64090f370777450852e66ea35e77e0) Merge remote-tracking branch 'origin/staging' into agent/assigned-issues-aug11 - [`4843a9e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4843a9e94cf9a1b6115ab4eb86cee2fb24a81560) test: exercise character gallery reference validation ### 📊 Changes **18 files changed** (+863 additions, -104 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -0) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+27 -1) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+281 -23) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+69 -1) 📝 `packages/client/src/hooks/use-characters.ts` (+3 -1) 📝 `packages/client/src/hooks/use-chats.ts` (+12 -1) 📝 `packages/client/src/lib/character-import.ts` (+81 -0) ➕ `packages/client/src/lib/support-diagnostics.ts` (+60 -0) 📝 `packages/client/src/lib/touch-reorder.ts` (+6 -4) 📝 `packages/client/src/localization/locales/en.json` (+9 -0) 📝 `packages/client/src/styles/globals.css` (+5 -7) 📝 `packages/server/src/db/seed-mari.ts` (+3 -0) 📝 `packages/server/src/routes/characters.routes.ts` (+38 -19) 📝 `packages/server/src/routes/chats.routes.ts` (+35 -4) 📝 `packages/server/src/routes/generate.routes.ts` (+12 -3) 📝 `packages/server/src/services/professor-mari/workspace-agent.service.ts` (+8 -2) 📝 `packages/shared/src/utils/chat-summary-entries.ts` (+15 -38) 📝 `scripts/regressions/open-issues.regression.ts` (+194 -0) </details> ### 📄 Description ## Linked issues Closes #4896 Closes #4891 Closes #4878 Closes #4874 Closes #4897 ## Why this change This sweep resolves the remaining assigned issues without duplicating #4894, which is already owned by #4895. It restores embedded card data during avatar replacement, makes summary ordering user-controlled and reliable, simplifies support diagnostics, gives Professor Mari strict field-editing guidance, and makes the existing reduced-effects control useful for costly desktop Conversation overlays. ## What changed - Merge fields explicitly embedded in replacement character-card PNGs while preserving local fields that are absent from the card, and save the card data with the avatar in one versioned update. - Preserve summary array order as user intent, append new automatic summaries, refresh hiding preferences before applying them, and support mouse and touch drag-and-drop reordering with accessible move controls. - Add a localized Support Diagnostics action that copies version, build, commit, OS, browser/app shell, GPU, and active connection/provider/model without credentials. - Teach Professor Mari to inspect first, patch only requested character/persona fields, keep description/personality/backstory/appearance distinct, and verify edits before reporting success. - Apply Reduce Ambient Animations & Effects backdrop-blur flattening on desktop as well as mobile, including shared Conversation overlays. - Add focused regression coverage and user-facing changelog entries. ## Validation Automated validation performed: - `pnpm check` - `pnpm localization:check` - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts` - `pnpm regression:prompt` Known staging baseline: `pnpm regression:roleplay` currently asserts UI store schema version 90 while both `origin/staging` and this branch use version 93. - [ ] 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 - Manually verify replacing an existing avatar with a V2/V3 character-card PNG updates only embedded fields and creates a restorable version. - Manually reorder summaries by mouse and touch, reload the chat, and confirm automatic summaries append without resetting the chosen order. - Manually copy diagnostics with and without an active chat connection and verify no secrets are included. - Manually enable Reduce Ambient Animations & Effects in a desktop Conversation chat with an animated card and blurred overlay, then compare paint/GPU activity. - Manually verify Professor Mari places requested backstory and appearance in their dedicated editor fields without altering unrelated content. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the docs-i18n branch updated to match, or a docs-i18n follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) User-facing changes are recorded in `CHANGELOG.md`. No documentation pages or release metadata changed. ## UI evidence The supported in-app browser could not initialize in this environment. The repository UI smoke suite reached 55 passing cases before unrelated existing timeouts in What is New and Character action scenarios; the relevant manual checks remain explicitly unchecked above. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added Support Diagnostics in Advanced Settings to copy system, build, browser, graphics, provider, and model details for troubleshooting. - PNG character-card metadata is now imported when uploading character avatars. - Summary entries can be reordered using drag-and-drop, touch gestures, or move controls. - **Bug Fixes** - Improved summary ordering, visibility, and concurrent-update handling. - Fixed reduced-motion backdrop blur behavior across devices. - Improved character-card field updates and Professor Mari’s editing guidance. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:11:19 +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#6531
No description provided.