[PR #5508] [MERGED] fix: make agent catalog organization visible on mobile #6790

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5507-agent-catalog-mobile


📝 Commits (3)

  • 5b5bf0e chore: start issue 5507 fix
  • aabf86d fix: expose agent modes in mobile catalog
  • b15e671 fix: localize catalog mode badges

📊 Changes

5 files changed (+54 additions, -12 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 e2e/core-flows.e2e.ts (+6 -2)
📝 packages/client/src/components/agents/AgentCatalogView.tsx (+26 -7)
📝 packages/client/src/components/layout/AppShell.tsx (+7 -3)
📝 scripts/regressions/agent-catalog-kind-badges.regression.ts (+14 -0)

📄 Description

Important

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

Linked issue

Closes #5507

Why this change

  • Chat-mode organization existed as filters and detail badges, but mobile users could not see a package's supported modes in the catalog list. Firefox Android could also report an excessive bottom safe-area inset, leaving unusable space below the list.

What changed

  • Show the existing Conversation, Roleplay, and Game badges on each catalog row.
  • Complete the host's current package-mode map for Beholder, Gacha Forge, and Slurp.
  • Reuse one capped bottom-safe-area class for mobile shell panels so malformed browser values cannot consume the panel.
  • Extend the existing catalog regression and desktop/mobile browser scenario.

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

Validation notes

  • pnpm check: formatting, localization, lint, shared/server builds passed; the client build was then run successfully with the matching ARM esbuild binary after the local dependency cache supplied an x64 binary.
  • pnpm localization:check: passed.
  • agent-catalog-kind-badges.regression.ts: passed.
  • Targeted Playwright catalog scenario: passed on desktop Chromium and mobile Chromium (2 tests).
  • The broader UI smoke run was stopped after unrelated pre-existing scenarios failed; this PR's targeted scenario passes independently.
  • Manual Android Firefox verification remains for the reporter/maintainer.

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] <paths> follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

The Unreleased changelog includes the user-facing fix. No user documentation or release metadata changed.

UI evidence (if applicable)

  • Automated desktop/mobile catalog coverage is included. Manual Android Firefox confirmation is still requested for the device-specific inset report.

Summary by CodeRabbit

  • New Features

    • Added localized chat-mode badges to catalog entries, including Beholder, Gacha Forge, and Slurp.
    • Added clearer mode labels and colored badge rows to catalog listings and detail views.
  • Bug Fixes

    • Improved mobile spacing around detail sheets, trackers, and navigation panels on devices with screen cutouts.
    • Capped Android Firefox safe-area spacing to prevent excessive padding.
    • Improved the mobile UNO catalog flow for reliably opening the Conversation entry.

🔄 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/5508 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5507-agent-catalog-mobile` --- ### 📝 Commits (3) - [`5b5bf0e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5b5bf0edb63580e97d804a1881a342b8a7fb7558) chore: start issue 5507 fix - [`aabf86d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/aabf86ddd9e742494e7418b3219cc32805a3e200) fix: expose agent modes in mobile catalog - [`b15e671`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b15e67133b0f87ef7d4f47405b80955433217a89) fix: localize catalog mode badges ### 📊 Changes **5 files changed** (+54 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `e2e/core-flows.e2e.ts` (+6 -2) 📝 `packages/client/src/components/agents/AgentCatalogView.tsx` (+26 -7) 📝 `packages/client/src/components/layout/AppShell.tsx` (+7 -3) 📝 `scripts/regressions/agent-catalog-kind-badges.regression.ts` (+14 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. ## Linked issue Closes #5507 ## Why this change - Chat-mode organization existed as filters and detail badges, but mobile users could not see a package's supported modes in the catalog list. Firefox Android could also report an excessive bottom safe-area inset, leaving unusable space below the list. ## What changed - Show the existing Conversation, Roleplay, and Game badges on each catalog row. - Complete the host's current package-mode map for Beholder, Gacha Forge, and Slurp. - Reuse one capped bottom-safe-area class for mobile shell panels so malformed browser values cannot consume the panel. - Extend the existing catalog regression and desktop/mobile browser scenario. ## 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` ### Validation notes - `pnpm check`: formatting, localization, lint, shared/server builds passed; the client build was then run successfully with the matching ARM `esbuild` binary after the local dependency cache supplied an x64 binary. - `pnpm localization:check`: passed. - `agent-catalog-kind-badges.regression.ts`: passed. - Targeted Playwright catalog scenario: passed on desktop Chromium and mobile Chromium (2 tests). - The broader UI smoke run was stopped after unrelated pre-existing scenarios failed; this PR's targeted scenario passes independently. - Manual Android Firefox verification remains for the reporter/maintainer. ## 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] <paths>` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) The Unreleased changelog includes the user-facing fix. No user documentation or release metadata changed. ## UI evidence (if applicable) - Automated desktop/mobile catalog coverage is included. Manual Android Firefox confirmation is still requested for the device-specific inset report. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added localized chat-mode badges to catalog entries, including Beholder, Gacha Forge, and Slurp. - Added clearer mode labels and colored badge rows to catalog listings and detail views. - **Bug Fixes** - Improved mobile spacing around detail sheets, trackers, and navigation panels on devices with screen cutouts. - Capped Android Firefox safe-area spacing to prevent excessive padding. - Improved the mobile UNO catalog flow for reliably opening the Conversation entry. <!-- 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:43 +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#6790
No description provided.