[PR #8760] [MERGED] fix(mari): one composer button while she works #8786

Closed
opened 2026-11-07 17:39:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8760
Author: @Gunterlie
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/mari-composer-one-button


📝 Commits (3)

  • 22f0bcf fix(mari): one composer button while she works
  • bbd5d1a test(mari): pin that Send after her answer queues
  • 2b664aa docs(mari): fix stale composer row comment

📊 Changes

5 files changed (+41 additions, -63 deletions)

View changed files

📝 docs/home/professor-mari.md (+2 -2)
📝 packages/client/src/components/chat/mari/MariComposer.tsx (+20 -18)
📝 packages/client/src/localization/locales/en.json (+1 -1)
📝 packages/client/src/styles/mari.css (+7 -38)
📝 scripts/regressions/issue-sweep-5371-5375.regression.ts (+11 -4)

📄 Description

Why

Since #8557 and #8567, Professor Mari's composer shows Stop, a small send chevron and Send all at once while she works. That is three controls for one decision, and it broke the agreed rule that a run shows one small Stop control. The chevron was also easy to miss: it only repeated what Enter and Ctrl+Enter already do.

What changed

  • While she works and the field is empty, the composer shows only the labelled Stop pill.
  • When you type, Stop gives way to Send.
  • Clicking Send while she works opens a full-width choice above the composer: Send now (goes in at her next step) or Send after her answer (waits until she finishes).
  • The send chevron and its styles are removed.
  • Enter and Ctrl+Enter keep their meaning (send now / after her answer).
  • "Queue for later" is now "Send after her answer" in English; the user guide matches.
  • Clearing the field or the run ending closes the choice, so it does not reopen by itself on the next message.

Mockup: https://claude.ai/artifact/B9mZy91FyKFgQF73pUngy4

No linked issue: this is a direct maintainer request.

Validation

  • tsc --noEmit for packages/client: pass
  • eslint on MariComposer.tsx: pass
  • prettier --check on changed TS/TSX: pass
  • pnpm localization:check: pass
  • scripts/regressions/issue-sweep-5371-5375.regression.ts (updated to pin the new one-button rule): pass

Manual verification

  • While Prof. Mari works with an empty field, only Stop shows; Stop cancels the run
  • Typing while she works hides Stop and shows Send
  • Clicking Send opens the two full-width rows above the composer at 1440 px and 390 px
  • "Send now" and "Send after her answer" both deliver the message as described
  • Clearing the field closes the rows; typing again does not reopen them
  • With no run, Send submits directly as before

Docs

docs/home/professor-mari.md changed; docs-i18n follow-up: #8761.


🔄 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/8760 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 11/3/2026 **Status:** ✅ Merged **Merged:** 11/3/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/mari-composer-one-button` --- ### 📝 Commits (3) - [`22f0bcf`](https://github.com/Pasta-Devs/Marinara-Engine/commit/22f0bcf2b87de5b27b083383f6648c43682370ae) fix(mari): one composer button while she works - [`bbd5d1a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/bbd5d1ac41261b52e855aa598d3f15a379672443) test(mari): pin that Send after her answer queues - [`2b664aa`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2b664aa34e1699463734c60ef2b8a644dfd91e10) docs(mari): fix stale composer row comment ### 📊 Changes **5 files changed** (+41 additions, -63 deletions) <details> <summary>View changed files</summary> 📝 `docs/home/professor-mari.md` (+2 -2) 📝 `packages/client/src/components/chat/mari/MariComposer.tsx` (+20 -18) 📝 `packages/client/src/localization/locales/en.json` (+1 -1) 📝 `packages/client/src/styles/mari.css` (+7 -38) 📝 `scripts/regressions/issue-sweep-5371-5375.regression.ts` (+11 -4) </details> ### 📄 Description ## Why Since #8557 and #8567, Professor Mari's composer shows Stop, a small send chevron and Send all at once while she works. That is three controls for one decision, and it broke the agreed rule that a run shows one small Stop control. The chevron was also easy to miss: it only repeated what Enter and Ctrl+Enter already do. ## What changed - While she works and the field is empty, the composer shows only the labelled **Stop** pill. - When you type, Stop gives way to **Send**. - Clicking Send while she works opens a full-width choice above the composer: **Send now** (goes in at her next step) or **Send after her answer** (waits until she finishes). - The send chevron and its styles are removed. - Enter and Ctrl+Enter keep their meaning (send now / after her answer). - "Queue for later" is now "Send after her answer" in English; the user guide matches. - Clearing the field or the run ending closes the choice, so it does not reopen by itself on the next message. Mockup: https://claude.ai/artifact/B9mZy91FyKFgQF73pUngy4 No linked issue: this is a direct maintainer request. ## Validation - `tsc --noEmit` for `packages/client`: pass - `eslint` on `MariComposer.tsx`: pass - `prettier --check` on changed TS/TSX: pass - `pnpm localization:check`: pass - `scripts/regressions/issue-sweep-5371-5375.regression.ts` (updated to pin the new one-button rule): pass ## Manual verification - [ ] While Prof. Mari works with an empty field, only Stop shows; Stop cancels the run - [ ] Typing while she works hides Stop and shows Send - [ ] Clicking Send opens the two full-width rows above the composer at 1440 px and 390 px - [ ] "Send now" and "Send after her answer" both deliver the message as described - [ ] Clearing the field closes the rows; typing again does not reopen them - [ ] With no run, Send submits directly as before ## Docs `docs/home/professor-mari.md` changed; docs-i18n follow-up: #8761. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:39:42 +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#8786
No description provided.