[PR #5376] [MERGED] fix(ui): complete small chat issue sweep #6744

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5371-5375-small-issue-sweep


📝 Commits (3)

  • a2b8d8b test: cover small chat issue sweep
  • f529f6c fix(ui): complete small chat issue sweep
  • c39b962 fix(ui): gate Professor Mari hint on loaded chat

📊 Changes

7 files changed (+121 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+3 -0)
📝 packages/client/src/components/chat/ChatSetupWizard.tsx (+1 -1)
📝 packages/client/src/components/chat/HomeProfessorMariChat.tsx (+16 -0)
📝 packages/client/src/components/chat/local-sprite-visual-settings.ts (+6 -0)
📝 packages/client/src/hooks/use-chats.ts (+2 -0)
📝 packages/client/src/localization/locales/en.json (+1 -0)
➕ scripts/regressions/issue-sweep-5371-5375.regression.ts (+92 -0)

📄 Description

Linked issues

Closes #5371
Closes #5374
Closes #5375

Why this change

  • Agent category labels can become unreadable when scrolled content shows through their translucent sticky background.
  • Branching a chat currently leaves its chat-scoped local sprite layout behind, making the new branch look reset.
  • A fresh Professor Mari Home chat does not tell the user that a connection must be selected before the first message.

What changed

  • Make the agent category header opaque while it is sticky.
  • Copy local sprite visual settings when a chat branch is created.
  • Show localized connection guidance in fresh Professor Mari chats until the first user message.
  • Add a focused regression for all three behaviors and update the changelog.

Validation

  • pnpm check passes locally
  • Focused regression passes locally
  • pnpm localization:check passes locally
  • pnpm smoke:ui 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

Automated evidence

  • pnpm check — passed.
  • pnpm build:shared && node ./scripts/run-regressions.mjs --filter scripts/regressions/issue-sweep-5371-5375.regression.ts — passed.
  • pnpm localization:check — passed.
  • pnpm smoke:ui — 254 passed and 107 skipped; one unrelated Secret Plot interval case failed once, then passed immediately when rerun alone.
  • pnpm exec playwright test -c playwright.config.ts e2e/core-flows.e2e.ts --project=desktop-chromium --grep "Secret Plot run interval stays editable across repeated commits" — passed.

Manual verification notes

  • Manually verify the Enable Agents list at a narrow viewport while scrolling across category boundaries.
  • Manually branch a sprite-configured Roleplay chat and confirm its local placement/display preferences carry over.
  • Manually verify the Professor Mari guidance appears in both docked and floating layouts, then disappears after the first sent message.

Docs and release impact

  • No docs changes needed
  • Updated CHANGELOG.md
  • 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)

UI evidence (if applicable)

  • The focused regression covers the opaque sticky header, both Professor Mari transcript layouts, immediate first-send dismissal, and branch-time sprite-setting inheritance.

Summary by CodeRabbit

  • New Features

    • Added guidance in Professor Mari chats to select a connection before sending the first message.
    • Preserved local sprite display preferences when creating chat branches.
  • Bug Fixes

    • Improved agent-category header visibility in the setup wizard.
    • Ensured connection guidance appears consistently in floating and embedded chats, including after restarting a chat.
  • Documentation

    • Added changelog information covering these updates.

🔄 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/5376 **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/5371-5375-small-issue-sweep` --- ### 📝 Commits (3) - [`a2b8d8b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a2b8d8ba2c9d2d8e8629c0607618b524ea08a0b6) test: cover small chat issue sweep - [`f529f6c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f529f6c0fe4b072e2a87866f6dcd7963d191f669) fix(ui): complete small chat issue sweep - [`c39b962`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c39b962f8ec77952e91ebb7d86b7f09b0c3fb618) fix(ui): gate Professor Mari hint on loaded chat ### 📊 Changes **7 files changed** (+121 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -0) 📝 `packages/client/src/components/chat/ChatSetupWizard.tsx` (+1 -1) 📝 `packages/client/src/components/chat/HomeProfessorMariChat.tsx` (+16 -0) 📝 `packages/client/src/components/chat/local-sprite-visual-settings.ts` (+6 -0) 📝 `packages/client/src/hooks/use-chats.ts` (+2 -0) 📝 `packages/client/src/localization/locales/en.json` (+1 -0) ➕ `scripts/regressions/issue-sweep-5371-5375.regression.ts` (+92 -0) </details> ### 📄 Description ## Linked issues Closes #5371 Closes #5374 Closes #5375 ## Why this change - Agent category labels can become unreadable when scrolled content shows through their translucent sticky background. - Branching a chat currently leaves its chat-scoped local sprite layout behind, making the new branch look reset. - A fresh Professor Mari Home chat does not tell the user that a connection must be selected before the first message. ## What changed - Make the agent category header opaque while it is sticky. - Copy local sprite visual settings when a chat branch is created. - Show localized connection guidance in fresh Professor Mari chats until the first user message. - Add a focused regression for all three behaviors and update the changelog. ## Validation - [ ] `pnpm check` passes locally - [ ] Focused regression passes locally - [ ] `pnpm localization:check` passes locally - [ ] `pnpm smoke:ui` 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` ### Automated evidence - `pnpm check` — passed. - `pnpm build:shared && node ./scripts/run-regressions.mjs --filter scripts/regressions/issue-sweep-5371-5375.regression.ts` — passed. - `pnpm localization:check` — passed. - `pnpm smoke:ui` — 254 passed and 107 skipped; one unrelated Secret Plot interval case failed once, then passed immediately when rerun alone. - `pnpm exec playwright test -c playwright.config.ts e2e/core-flows.e2e.ts --project=desktop-chromium --grep "Secret Plot run interval stays editable across repeated commits"` — passed. ### Manual verification notes - Manually verify the Enable Agents list at a narrow viewport while scrolling across category boundaries. - Manually branch a sprite-configured Roleplay chat and confirm its local placement/display preferences carry over. - Manually verify the Professor Mari guidance appears in both docked and floating layouts, then disappears after the first sent message. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `CHANGELOG.md` - [ ] 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) ## UI evidence (if applicable) - The focused regression covers the opaque sticky header, both Professor Mari transcript layouts, immediate first-send dismissal, and branch-time sprite-setting inheritance. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added guidance in Professor Mari chats to select a connection before sending the first message. * Preserved local sprite display preferences when creating chat branches. * **Bug Fixes** * Improved agent-category header visibility in the setup wizard. * Ensured connection guidance appears consistently in floating and embedded chats, including after restarting a chat. * **Documentation** * Added changelog information covering these updates. <!-- 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: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#6744
No description provided.