[PR #7001] [MERGED] UI/UX Improvements #7424

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7001
Author: @SpicyMarinara
Created: 10/3/2026
Status: ✅ Merged
Merged: 10/3/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/ui-ux-improvements


📝 Commits (7)

  • 793ef5c docs: track UI/UX improvement scope
  • fc96ae6 fix(ui): align mode colors, shared controls and sidebar surfaces
  • e5b09c1 Merge remote-tracking branch 'origin/staging' into fix/ui-ux-improvements
  • 21732e5 test(ui): verify Home mode colors with a blue accent
  • d537a32 fix(ui): simplify Tracker editing on mobile
  • a83a7d5 test(ui): expect the dedicated Game accent token
  • dc121e9 Merge branch 'staging' into fix/ui-ux-improvements

📊 Changes

15 files changed (+217 additions, -43 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 e2e/accent-pulse.e2e.ts (+81 -0)
📝 e2e/core-flows.e2e.ts (+23 -12)
📝 e2e/world-tracker-controls.e2e.ts (+53 -11)
📝 packages/client/src/components/layout/ChatSidebar.tsx (+5 -5)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+1 -1)
📝 packages/client/src/components/panels/settings/CustomGenerationParametersSettings.tsx (+1 -1)
📝 packages/client/src/features/multiplayer/MultiplayerFields.tsx (+1 -1)
📝 packages/client/src/features/tracker-panel/components/TrackerSidebarHeader.tsx (+14 -3)
📝 packages/client/src/features/tracker-panel/components/controls/InlineControls.tsx (+1 -1)
📝 packages/client/src/features/tracker-panel/components/sections/WorldEditableTile.tsx (+2 -2)
📝 packages/client/src/lib/home-chat-mode-style.ts (+1 -1)
📝 packages/client/src/localization/locales/en.json (+1 -0)
📝 packages/client/src/styles/globals.css (+31 -4)
📝 scripts/regressions/open-issues.regression.ts (+1 -1)

📄 Description

Linked issue

Closes #7000

Why this change

Shared accent styling leaked into Game mode while old Noodle/Slurp bundles reset their welcome frames to pink. Dark sidebars, Tracker edit controls and several settings actions also differed from their surrounding UI on desktop and mobile.

What changed

  • Keep Game launchers, chat icons and recent cards at Marinara pink (#ec4b97), including animated-accent mode. Keep mode action icons readable.
  • Forward the host accent through installed Noodle/Slurp/Slurp2 roots and dialog portals. This fixes existing packages without rebuilding or reinstalling them, while preserving their blue/pink branding and explicit inline themes.
  • Match the default dark Chats and seven resource sidebars to Home's menu surface. Retain light mode and existing custom-theme background behavior.
  • Center desktop Tracker edit/lock controls. On mobile, hide pencil hints and show a localized "Tap field to edit it" hint beside settings while retaining tap-to-edit.
  • Reuse shared button styles for Multiplayer, Add parameter and Export Profile.

Validation

Reviewed revision: dc121e950a1e3f5bbd5704909951719e87177ae9, after a remote merge of staging at 14c54a70fed17cda24682b0ccc65ae57e117c7f6. The UI/test patch is identical to a83a7d5 (stable patch ID checked), and the changelog preserves both our entry and all upstream entries. All required checks, the full platform artifact matrix and 495/495 Node regressions passed on this combined revision. Merged to staging as 9c124806894cf1aa338bd9eb6145f8f114b68304. Local results below cover the unchanged UI patch before this staging merge.

  • Full GitHub Node run on d537a32: 493/494 passed. The sole failure was an existing open-issues assertion expecting Game to use the app accent. Updated that expectation to the dedicated Game token; the focused regression, formatting and diff checks pass locally. The complete rerun on pre-merge revision a83a7d5 passed 494/494, with zero failures.

  • pnpm install, pnpm check, pnpm version:check, and git diff --check: passed. The baseline check includes localization, formatting, lint/types and production builds.

  • pnpm smoke:ui: 7/7 passed on fresh managed servers. An earlier run against a long-lived Vite session failed three injected-state assertions; timestamped/unversioned imports were confirmed to create different store instances. Restarting the test servers resolved all three without application changes.

  • World Tracker spec: 6/6 desktop/mobile dark/light cases passed; all four affected mobile cases passed again after hiding the hint in special editing modes. Tests cover both panel anchors, hidden pencils, tap/edit/save, lock persistence and desktop alignment.

  • Existing Home mode-color case with a blue accent: 3/3 browsers passed. Sidebar mode controls under RGB: 3/3 passed. Legacy package accent cases: 6/6 dark/light desktop/mobile cases passed.

  • Temporary UI walkthrough: 12 theme/accent combinations and six existing custom-background override cases passed across desktop Chromium, mobile Chromium and mobile WebKit. Firefox dark/light sidebar checks passed. Temporary test files were removed.

  • docker build -t marinara-ui-ux:7001 .: passed. Disposable container /api/health returned OK; production startup/reload tests against that container passed 3/3 browsers.

  • 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

Visually inspected before/after screenshots from synthetic browser fixtures: Home, GM Chats, Tracker controls, installed Noodle 1.2.24 and Slurp 1.51.0 welcome dialogs, and the three settings actions. Browser walkthroughs exercised Add/Cancel, Export Profile dialog opening, focus/hover/disabled states, all seven resource panels, custom backgrounds, dark/light mode and a blue accent/default gradient.

  • Manually verify the same surfaces on physical desktop and mobile devices with personal themes and saved data.

Review

Local CodeRabbit completed the full diff review with one minor finding. It suggested clearing Firefox's sidebar background image; this was rejected because the image intentionally matches Home's menu and sits over an opaque --background color. Firefox's blur fallback remains intact, and dedicated dark/light Firefox checks passed. Clearing the image would restore the reported color mismatch.

The mobile Tracker follow-up received a second, focused local CodeRabbit review after hiding its hint during special editing modes: completed with zero findings. Independent source and screenshot review found no remaining introduced defects.

GitHub CodeRabbit completed review of d537a32 with no actionable comments; all required checks and the full platform artifact matrix passed on that revision. All required build, validation and CodeQL checks plus the full platform artifact matrix also passed on pre-merge revision a83a7d5. The staging merge at dc121e9 subsequently passed all required checks, the full platform matrix and 495/495 Node regressions. After its temporary rate limit cleared, GitHub CodeRabbit completed actual review of that exact revision with no actionable comments. Generic title/docstring advisories are nonblocking: the title was explicitly requested, and the repository has no docstring-coverage gate.

Docs and release impact

Changelog included. No app version, storage format, API or dependency changes. The new mobile editing hint uses a semantic English localization key.

  • 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)

UI evidence

Before/after screenshot gallery. Screenshots use synthetic fixtures and are kept outside the repository.


🔄 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/7001 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/3/2026 **Status:** ✅ Merged **Merged:** 10/3/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/ui-ux-improvements` --- ### 📝 Commits (7) - [`793ef5c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/793ef5cbc89a9038656f3b534d6e80ac3c3e110d) docs: track UI/UX improvement scope - [`fc96ae6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fc96ae6cad33fce6ee37dbe1b0badeae6cf4e262) fix(ui): align mode colors, shared controls and sidebar surfaces - [`e5b09c1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e5b09c12172777fd03ca204b434aebdc3a30ea4e) Merge remote-tracking branch 'origin/staging' into fix/ui-ux-improvements - [`21732e5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/21732e51068c8acc43817f79198024215428d91d) test(ui): verify Home mode colors with a blue accent - [`d537a32`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d537a32d300744b0317d68fa419f1eb0c690584c) fix(ui): simplify Tracker editing on mobile - [`a83a7d5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a83a7d5aa6491adfda7a178646533d7c562df6e6) test(ui): expect the dedicated Game accent token - [`dc121e9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dc121e950a1e3f5bbd5704909951719e87177ae9) Merge branch 'staging' into fix/ui-ux-improvements ### 📊 Changes **15 files changed** (+217 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `e2e/accent-pulse.e2e.ts` (+81 -0) 📝 `e2e/core-flows.e2e.ts` (+23 -12) 📝 `e2e/world-tracker-controls.e2e.ts` (+53 -11) 📝 `packages/client/src/components/layout/ChatSidebar.tsx` (+5 -5) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+1 -1) 📝 `packages/client/src/components/panels/settings/CustomGenerationParametersSettings.tsx` (+1 -1) 📝 `packages/client/src/features/multiplayer/MultiplayerFields.tsx` (+1 -1) 📝 `packages/client/src/features/tracker-panel/components/TrackerSidebarHeader.tsx` (+14 -3) 📝 `packages/client/src/features/tracker-panel/components/controls/InlineControls.tsx` (+1 -1) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldEditableTile.tsx` (+2 -2) 📝 `packages/client/src/lib/home-chat-mode-style.ts` (+1 -1) 📝 `packages/client/src/localization/locales/en.json` (+1 -0) 📝 `packages/client/src/styles/globals.css` (+31 -4) 📝 `scripts/regressions/open-issues.regression.ts` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #7000 ## Why this change Shared accent styling leaked into Game mode while old Noodle/Slurp bundles reset their welcome frames to pink. Dark sidebars, Tracker edit controls and several settings actions also differed from their surrounding UI on desktop and mobile. ## What changed - Keep Game launchers, chat icons and recent cards at Marinara pink (`#ec4b97`), including animated-accent mode. Keep mode action icons readable. - Forward the host accent through installed Noodle/Slurp/Slurp2 roots and dialog portals. This fixes existing packages without rebuilding or reinstalling them, while preserving their blue/pink branding and explicit inline themes. - Match the default dark Chats and seven resource sidebars to Home's menu surface. Retain light mode and existing custom-theme background behavior. - Center desktop Tracker edit/lock controls. On mobile, hide pencil hints and show a localized "Tap field to edit it" hint beside settings while retaining tap-to-edit. - Reuse shared button styles for Multiplayer, Add parameter and Export Profile. ## Validation Reviewed revision: `dc121e950a1e3f5bbd5704909951719e87177ae9`, after a remote merge of staging at `14c54a70fed17cda24682b0ccc65ae57e117c7f6`. The UI/test patch is identical to `a83a7d5` (stable patch ID checked), and the changelog preserves both our entry and all upstream entries. All required checks, the full platform artifact matrix and **495/495 Node regressions** passed on this combined revision. Merged to staging as `9c124806894cf1aa338bd9eb6145f8f114b68304`. Local results below cover the unchanged UI patch before this staging merge. - Full GitHub Node run on `d537a32`: 493/494 passed. The sole failure was an existing `open-issues` assertion expecting Game to use the app accent. Updated that expectation to the dedicated Game token; the focused regression, formatting and diff checks pass locally. The complete rerun on pre-merge revision `a83a7d5` passed **494/494**, with zero failures. - `pnpm install`, `pnpm check`, `pnpm version:check`, and `git diff --check`: passed. The baseline check includes localization, formatting, lint/types and production builds. - `pnpm smoke:ui`: 7/7 passed on fresh managed servers. An earlier run against a long-lived Vite session failed three injected-state assertions; timestamped/unversioned imports were confirmed to create different store instances. Restarting the test servers resolved all three without application changes. - World Tracker spec: 6/6 desktop/mobile dark/light cases passed; all four affected mobile cases passed again after hiding the hint in special editing modes. Tests cover both panel anchors, hidden pencils, tap/edit/save, lock persistence and desktop alignment. - Existing Home mode-color case with a blue accent: 3/3 browsers passed. Sidebar mode controls under RGB: 3/3 passed. Legacy package accent cases: 6/6 dark/light desktop/mobile cases passed. - Temporary UI walkthrough: 12 theme/accent combinations and six existing custom-background override cases passed across desktop Chromium, mobile Chromium and mobile WebKit. Firefox dark/light sidebar checks passed. Temporary test files were removed. - `docker build -t marinara-ui-ux:7001 .`: passed. Disposable container `/api/health` returned OK; production startup/reload tests against that container passed 3/3 browsers. - [ ] `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 Visually inspected before/after screenshots from synthetic browser fixtures: Home, GM Chats, Tracker controls, installed Noodle 1.2.24 and Slurp 1.51.0 welcome dialogs, and the three settings actions. Browser walkthroughs exercised Add/Cancel, Export Profile dialog opening, focus/hover/disabled states, all seven resource panels, custom backgrounds, dark/light mode and a blue accent/default gradient. - Manually verify the same surfaces on physical desktop and mobile devices with personal themes and saved data. ### Review Local CodeRabbit completed the full diff review with one minor finding. It suggested clearing Firefox's sidebar background image; this was rejected because the image intentionally matches Home's menu and sits over an opaque `--background` color. Firefox's blur fallback remains intact, and dedicated dark/light Firefox checks passed. Clearing the image would restore the reported color mismatch. The mobile Tracker follow-up received a second, focused local CodeRabbit review after hiding its hint during special editing modes: completed with zero findings. Independent source and screenshot review found no remaining introduced defects. GitHub CodeRabbit completed review of `d537a32` with no actionable comments; all required checks and the full platform artifact matrix passed on that revision. All required build, validation and CodeQL checks plus the full platform artifact matrix also passed on pre-merge revision `a83a7d5`. The staging merge at `dc121e9` subsequently passed all required checks, the full platform matrix and **495/495 Node regressions**. After its temporary rate limit cleared, GitHub CodeRabbit completed actual review of that exact revision with no actionable comments. Generic title/docstring advisories are nonblocking: the title was explicitly requested, and the repository has no docstring-coverage gate. ## Docs and release impact Changelog included. No app version, storage format, API or dependency changes. The new mobile editing hint uses a semantic English localization key. - [ ] 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) ## UI evidence [Before/after screenshot gallery](https://gist.github.com/SpicyMarinara/c4f94904b2083ba0f5237592d04d7df2). Screenshots use synthetic fixtures and are kept outside the repository. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:19:38 +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#7424
No description provided.