[PR #5360] [MERGED] fix(ui): streamline editor and Conversation controls #6740

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5355-5357-conversation-editor-ui


📝 Commits (9)

  • e3a6a0f fix(ui): streamline editor and conversation controls
  • 9624850 test(ui): cover responsive editor navigation
  • f68de46 test(chat): prove conversation chroma metadata
  • 279c290 fix(ui): align editor and agent settings feedback
  • ab73ae5 test(ui): cover localized per-chat disclosures
  • 6c94b49 Merge remote-tracking branch 'origin/staging' into fix/5355-5357-conversation-editor-ui
  • 1359c35 test(ui): keep schedule fixture current
  • 550a82d fix(ui): harden editor menu interactions
  • 1628030 test(ui): avoid exiting bookmark actions

📊 Changes

16 files changed (+809 additions, -364 deletions)

View changed files

📝 CHANGELOG.md (+3 -0)
📝 e2e/core-flows.e2e.ts (+324 -119)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+27 -15)
📝 packages/client/src/components/chat/AgentSettingsControls.tsx (+4 -2)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+81 -82)
📝 packages/client/src/components/chat/ConversationMessageBubble.tsx (+2 -2)
📝 packages/client/src/components/chat/ConversationMessageGrouped.tsx (+3 -3)
📝 packages/client/src/components/chat/ConversationMessageLine.tsx (+2 -2)
📝 packages/client/src/components/chat/ConversationView.tsx (+1 -1)
📝 packages/client/src/components/lorebooks/LorebookEditor.tsx (+36 -23)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+17 -10)
📝 packages/client/src/components/presets/PresetEditor.tsx (+32 -26)
➕ packages/client/src/components/ui/EditorTabNavigation.tsx (+146 -0)
➖ packages/client/src/components/ui/EditorTabRail.tsx (+0 -57)
📝 packages/client/src/localization/locales/en.json (+4 -0)
📝 packages/client/src/styles/globals.css (+127 -22)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository staging branch or a same-repository hotfix/* branch to main.

Linked issue

Closes #5355
Closes #5356
Closes #5357

Package companion: Pasta-Devs/Marinara-Agents#481 (closes Pasta-Devs/Marinara-Agents#480)

Why this change

  • Editor section rails waste desktop width and become awkward horizontal scrollers on mobile.
  • Conversation command, Illustrator, and Calls controls need consistent collapsible organization inside Agents.
  • Conversation transcript metadata used a legacy fixed color instead of Chat Chrome Text Color.

What changed

  • Moved Character, Persona, Lorebook, and Preset section navigation into the existing editor topbar.
  • Kept desktop tabs tightly beside Character/Persona creator and version details, matched the 36px action-button height, and scales icons/padding at narrower desktop widths.
  • Replaced the unreliable native mobile selector with a compact downward-opening menu beside the icon-only Save/actions row.
  • Kept Conversation Commands inside Agents as a remembered collapsible subsection.
  • Made Illustrator Settings a matching remembered collapsible subsection and passed per-chat disclosure state to the package-owned Calls surface.
  • Applied Chat Chrome Text Color to Conversation dates, timestamps, and message numbers independently of the app accent.
  • Localized Character and Persona Save status text and updated Unreleased notes.

Validation

  • 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

  • Automated focused Playwright proof passes on desktop/mobile for editor placement, exact control height, wide creator/version fit, compact mobile menu placement and section changes, Commands/Illustrator/Calls collapse behavior and matching surfaces, independent per-chat Calls disclosure state, capability failure recovery, and Chat Chrome metadata colors.
  • pnpm check passes locally.
  • Manually verify light/dark custom themes and the package update/restart path in staging.

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 (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Responsive layout and interaction geometry are asserted in e2e/core-flows.e2e.ts; manual screenshots remain requested before release promotion.

Summary by CodeRabbit

  • New Features
    • Added responsive header navigation for character, lorebook, persona, and preset editors.
    • Added compact menus with badges, icons, keyboard support, and accessible save controls.
    • Commands, Illustrator, and Calls settings now use collapsible cards with remembered open states.
  • Bug Fixes
    • Improved transcript styling for dates, timestamps, and message numbers with themed accent colors.
    • Synchronized weekly character schedules.
  • Localization
    • Added localized save-state labels, including saving, embedding, and uploading statuses.

🔄 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/5360 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/21/2026 **Status:** ✅ Merged **Merged:** 8/21/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5355-5357-conversation-editor-ui` --- ### 📝 Commits (9) - [`e3a6a0f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e3a6a0f9ac277a3132c1d15aa260738498a00106) fix(ui): streamline editor and conversation controls - [`9624850`](https://github.com/Pasta-Devs/Marinara-Engine/commit/962485075c9291781e4a512faabd9bb17af64d1e) test(ui): cover responsive editor navigation - [`f68de46`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f68de467087156013c259ded211a9336e6973e61) test(chat): prove conversation chroma metadata - [`279c290`](https://github.com/Pasta-Devs/Marinara-Engine/commit/279c290ed070f9c36ae92b3b4ec8369903c32b19) fix(ui): align editor and agent settings feedback - [`ab73ae5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ab73ae5b52679f651344903b149d0cbb90cd27bc) test(ui): cover localized per-chat disclosures - [`6c94b49`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6c94b49ce53d612ac2ed65036b286ffca780ca5b) Merge remote-tracking branch 'origin/staging' into fix/5355-5357-conversation-editor-ui - [`1359c35`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1359c3593a5f481bb2b8d822d61b96f2d723cede) test(ui): keep schedule fixture current - [`550a82d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/550a82d0f71a7535572c4570caec8a7019db862a) fix(ui): harden editor menu interactions - [`1628030`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1628030fdf6ed9aa2d1a23d47da3377fc18afa54) test(ui): avoid exiting bookmark actions ### 📊 Changes **16 files changed** (+809 additions, -364 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -0) 📝 `e2e/core-flows.e2e.ts` (+324 -119) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+27 -15) 📝 `packages/client/src/components/chat/AgentSettingsControls.tsx` (+4 -2) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+81 -82) 📝 `packages/client/src/components/chat/ConversationMessageBubble.tsx` (+2 -2) 📝 `packages/client/src/components/chat/ConversationMessageGrouped.tsx` (+3 -3) 📝 `packages/client/src/components/chat/ConversationMessageLine.tsx` (+2 -2) 📝 `packages/client/src/components/chat/ConversationView.tsx` (+1 -1) 📝 `packages/client/src/components/lorebooks/LorebookEditor.tsx` (+36 -23) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+17 -10) 📝 `packages/client/src/components/presets/PresetEditor.tsx` (+32 -26) ➕ `packages/client/src/components/ui/EditorTabNavigation.tsx` (+146 -0) ➖ `packages/client/src/components/ui/EditorTabRail.tsx` (+0 -57) 📝 `packages/client/src/localization/locales/en.json` (+4 -0) 📝 `packages/client/src/styles/globals.css` (+127 -22) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository staging branch or a same-repository `hotfix/*` branch to `main`. ## Linked issue Closes #5355 Closes #5356 Closes #5357 Package companion: Pasta-Devs/Marinara-Agents#481 (closes Pasta-Devs/Marinara-Agents#480) ## Why this change - Editor section rails waste desktop width and become awkward horizontal scrollers on mobile. - Conversation command, Illustrator, and Calls controls need consistent collapsible organization inside Agents. - Conversation transcript metadata used a legacy fixed color instead of Chat Chrome Text Color. ## What changed - Moved Character, Persona, Lorebook, and Preset section navigation into the existing editor topbar. - Kept desktop tabs tightly beside Character/Persona creator and version details, matched the 36px action-button height, and scales icons/padding at narrower desktop widths. - Replaced the unreliable native mobile selector with a compact downward-opening menu beside the icon-only Save/actions row. - Kept Conversation Commands inside Agents as a remembered collapsible subsection. - Made Illustrator Settings a matching remembered collapsible subsection and passed per-chat disclosure state to the package-owned Calls surface. - Applied Chat Chrome Text Color to Conversation dates, timestamps, and message numbers independently of the app accent. - Localized Character and Persona Save status text and updated Unreleased notes. ## Validation - [ ] `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 - Automated focused Playwright proof passes on desktop/mobile for editor placement, exact control height, wide creator/version fit, compact mobile menu placement and section changes, Commands/Illustrator/Calls collapse behavior and matching surfaces, independent per-chat Calls disclosure state, capability failure recovery, and Chat Chrome metadata colors. - `pnpm check` passes locally. - Manually verify light/dark custom themes and the package update/restart path in staging. ## 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 (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Responsive layout and interaction geometry are asserted in `e2e/core-flows.e2e.ts`; manual screenshots remain requested before release promotion. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added responsive header navigation for character, lorebook, persona, and preset editors. * Added compact menus with badges, icons, keyboard support, and accessible save controls. * Commands, Illustrator, and Calls settings now use collapsible cards with remembered open states. * **Bug Fixes** * Improved transcript styling for dates, timestamps, and message numbers with themed accent colors. * Synchronized weekly character schedules. * **Localization** * Added localized save-state labels, including saving, embedding, and uploading statuses. <!-- 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:13:15 +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#6740
No description provided.