[PR #8501] [MERGED] Shrink the agent editor banner on scroll, fill the Get button, drop the store page menu #8637

Closed
opened 2026-11-07 16:46:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8501
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/agent-editor-compact-header


📝 Commits (3)

  • 3c90c23 Shrink the agent editor banner on scroll, fill the Get button, drop the store page menu
  • 6c5e1ae Format the store page header
  • 220fed1 Collapse the banner header only when the body still overflows after it shrinks

📊 Changes

3 files changed (+34 additions, -19 deletions)

View changed files

📝 packages/client/src/components/agents/AgentEditor.tsx (+26 -8)
📝 packages/client/src/components/agents/organizer/AgentPage.tsx (+1 -10)
📝 packages/client/src/components/agents/organizer/OrganizerParts.tsx (+7 -1)

📄 Description

Why

On a phone, the banner header in agent settings fills about a third of the screen and stays that size while you scroll the form. On the store page, the 3-dot menu only offers Details, which opens the page you are already on, so it looks broken. The Get button is only outlined, so the main action does not stand out.

No linked issue: reported directly by the maintainer.

What changed

  • Agent editor: when the body scrolls past 48 px, the banner header shrinks to one 72 px row (Back, small icon, name, actions). It expands again at the top. Two thresholds prevent flicker. Reduced motion turns off the transition. Headers without a banner are unchanged.
  • Store page (AgentPage): removed the 3-dot menu. Store list rows keep theirs.
  • Get / Update button: filled with --primary. The white button on banner artwork is unchanged.

Validation

  • tsc --noEmit for the client: passes.
  • ESLint on the three changed files: passes.
  • No visual check on a running instance yet.

Manual verification

  • On a phone, open agent settings for a downloaded agent with a banner and scroll: the header shrinks to one row and comes back at the top without flicker.
  • Check the same on desktop width.
  • Open a store agent page: no 3-dot menu; Get is filled and readable in light and dark themes.

🔄 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/8501 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/agent-editor-compact-header` --- ### 📝 Commits (3) - [`3c90c23`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3c90c230d030b04b25db54b24dcb1a9644e96b9b) Shrink the agent editor banner on scroll, fill the Get button, drop the store page menu - [`6c5e1ae`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6c5e1ae8a19807d1fe2b7d4860ceaa334b2addff) Format the store page header - [`220fed1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/220fed1ad2ba5d3dced191f6e29604225e611023) Collapse the banner header only when the body still overflows after it shrinks ### 📊 Changes **3 files changed** (+34 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+26 -8) 📝 `packages/client/src/components/agents/organizer/AgentPage.tsx` (+1 -10) 📝 `packages/client/src/components/agents/organizer/OrganizerParts.tsx` (+7 -1) </details> ### 📄 Description ## Why On a phone, the banner header in agent settings fills about a third of the screen and stays that size while you scroll the form. On the store page, the 3-dot menu only offers Details, which opens the page you are already on, so it looks broken. The Get button is only outlined, so the main action does not stand out. No linked issue: reported directly by the maintainer. ## What changed - **Agent editor:** when the body scrolls past 48 px, the banner header shrinks to one 72 px row (Back, small icon, name, actions). It expands again at the top. Two thresholds prevent flicker. Reduced motion turns off the transition. Headers without a banner are unchanged. - **Store page (`AgentPage`):** removed the 3-dot menu. Store list rows keep theirs. - **Get / Update button:** filled with `--primary`. The white button on banner artwork is unchanged. ## Validation - `tsc --noEmit` for the client: passes. - ESLint on the three changed files: passes. - No visual check on a running instance yet. ## Manual verification - [ ] On a phone, open agent settings for a downloaded agent with a banner and scroll: the header shrinks to one row and comes back at the top without flicker. - [ ] Check the same on desktop width. - [ ] Open a store agent page: no 3-dot menu; Get is filled and readable in light and dark themes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:46:09 +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#8637
No description provided.