[PR #5906] [MERGED] fix(ui): restore listed desktop editor topbar navigation #6987

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5906
Author: @SpicyMarinara
Created: 9/7/2026
Status: ✅ Merged
Merged: 9/7/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/restore-editor-topbar


📝 Commits (4)

  • 832d5fe docs: track editor topbar restoration for #5905
  • 8370935 fix(ui): restore single-row desktop editor topbar
  • 3568f88 fix(ui): make compact breakpoint an exact desktop complement
  • 2c405dd test(ui): wait for applied chroma before checking swipe colors

📊 Changes

5 files changed (+202 additions, -180 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 e2e/core-flows.e2e.ts (+165 -81)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+1 -3)
➖ packages/client/src/components/ui/EditorTabRail.tsx (+0 -54)
📝 packages/client/src/styles/globals.css (+34 -42)

📄 Description

Linked issue

Closes #5905

Why this change

The maintainer requested restoring the 21 August topbar layout from #5360. The Character Editor sidebar introduced in #5792 contradicts that layout, and the shared 1,536px menu breakpoint also hides section buttons on ordinary desktop screens.

What changed

  • Restore the existing shared Character Editor topbar and remove the unused rail.
  • Keep the name, avatar, section buttons, and actions in one desktop row. Adapt spacing, font size, and decorative icons to the available container width; retain the existing compact menu below the narrow-layout boundary.
  • Preserve unrelated editor behavior and theme tokens.
  • Replace rail expectations with single-row, non-overlapping, fully visible labels; cover density boundaries, section state through resize, and all four shared editor callers.
  • Stabilize the existing swipe-color assertion by waiting for the selected theme/chroma color to reach CSS before reading expected values. No swipe runtime changes or skipped assertions.

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

  • Manually verify all Character Editor sections remain directly accessible in the desktop topbar, including after resizing the app's side panels.
  • Manually verify the compact menu appears only on narrow layouts and remains keyboard/touch accessible.
  • The new desktop assertion first failed against the previous sidebar layout.
  • Twelve focused browser checks passed across desktop Chromium, mobile Chromium, and mobile WebKit: nine editor checks plus the existing swipe-color test in each browser. Coverage includes Character, Persona, Preset, and Lorebook editors, light/dark styling, tab/menu clicks, keyboard navigation, resizing, and unchanged avatar controls.
  • pnpm check passed, including localization, formatting, TypeScript, ESLint, and production build.
  • Built and ran production Linux/arm64 Docker image marinara-engine:pr-5906-final from final runtime commit 3568f8825. The nine focused editor checks passed against the bundled app with disposable synthetic data and no paid provider calls. The subsequent commit only synchronizes the existing swipe test with applied CSS state.
  • Physical devices and every community font/translation combination have not been manually tested.

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

Changelog only; no release-version or documentation behavior changes.

UI evidence (if applicable)

Before/after screenshots and production proof: download and open proof.html for embedded images. No maintainer screenshots or private data were published.

No overlapping open issue/PR was found. Project-board inspection was unavailable because the CLI token lacks read:project.


🔄 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/5906 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/7/2026 **Status:** ✅ Merged **Merged:** 9/7/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/restore-editor-topbar` --- ### 📝 Commits (4) - [`832d5fe`](https://github.com/Pasta-Devs/Marinara-Engine/commit/832d5fe771ed7ab3dad7da85195a070a23275182) docs: track editor topbar restoration for #5905 - [`8370935`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8370935cb42c5a47cd4e8826de7a66ab7449f355) fix(ui): restore single-row desktop editor topbar - [`3568f88`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3568f8825519de058e5fd7dc36d134df5fe78f61) fix(ui): make compact breakpoint an exact desktop complement - [`2c405dd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2c405dd09b71989a0c26764bbd4f96c4509dbf78) test(ui): wait for applied chroma before checking swipe colors ### 📊 Changes **5 files changed** (+202 additions, -180 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `e2e/core-flows.e2e.ts` (+165 -81) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+1 -3) ➖ `packages/client/src/components/ui/EditorTabRail.tsx` (+0 -54) 📝 `packages/client/src/styles/globals.css` (+34 -42) </details> ### 📄 Description ## Linked issue Closes #5905 ## Why this change The maintainer requested restoring the 21 August topbar layout from #5360. The Character Editor sidebar introduced in #5792 contradicts that layout, and the shared 1,536px menu breakpoint also hides section buttons on ordinary desktop screens. ## What changed - Restore the existing shared Character Editor topbar and remove the unused rail. - Keep the name, avatar, section buttons, and actions in one desktop row. Adapt spacing, font size, and decorative icons to the available container width; retain the existing compact menu below the narrow-layout boundary. - Preserve unrelated editor behavior and theme tokens. - Replace rail expectations with single-row, non-overlapping, fully visible labels; cover density boundaries, section state through resize, and all four shared editor callers. - Stabilize the existing swipe-color assertion by waiting for the selected theme/chroma color to reach CSS before reading expected values. No swipe runtime changes or skipped assertions. ## 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 - Manually verify all Character Editor sections remain directly accessible in the desktop topbar, including after resizing the app's side panels. - Manually verify the compact menu appears only on narrow layouts and remains keyboard/touch accessible. - The new desktop assertion first failed against the previous sidebar layout. - Twelve focused browser checks passed across desktop Chromium, mobile Chromium, and mobile WebKit: nine editor checks plus the existing swipe-color test in each browser. Coverage includes Character, Persona, Preset, and Lorebook editors, light/dark styling, tab/menu clicks, keyboard navigation, resizing, and unchanged avatar controls. - `pnpm check` passed, including localization, formatting, TypeScript, ESLint, and production build. - Built and ran production Linux/arm64 Docker image `marinara-engine:pr-5906-final` from final runtime commit `3568f8825`. The nine focused editor checks passed against the bundled app with disposable synthetic data and no paid provider calls. The subsequent commit only synchronizes the existing swipe test with applied CSS state. - Physical devices and every community font/translation combination have not been manually tested. ## 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 - [ ] Version/release files updated (only if this PR includes a version bump) Changelog only; no release-version or documentation behavior changes. ## UI evidence (if applicable) [Before/after screenshots and production proof](https://gist.github.com/SpicyMarinara/27805a3b9a39485dbfa2392a8be4df2d): download and open `proof.html` for embedded images. No maintainer screenshots or private data were published. No overlapping open issue/PR was found. Project-board inspection was unavailable because the CLI token lacks `read:project`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:15:30 +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#6987
No description provided.