[PR #5265] [MERGED] Fix Music DJ and mobile floating UI regressions #6695

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5262-5264-mobile-ui-regressions


📝 Commits (2)

  • cad5b7d Fix Music DJ and mobile floating UI regressions
  • 6d1dc0f Cover installed music and Professor Mari handoff

📊 Changes

10 files changed (+265 additions, -343 deletions)

View changed files

📝 CHANGELOG.md (+3 -0)
📝 e2e/core-flows.e2e.ts (+171 -38)
📝 packages/client/src/components/chat/HomeProfessorMariChat.tsx (+6 -0)
📝 packages/client/src/components/layout/AppShell.tsx (+8 -7)
📝 packages/client/src/components/layout/TopBar.tsx (+8 -12)
➖ packages/client/src/components/music/MusicDjUnavailablePlayer.tsx (+0 -284)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+9 -2)
📝 packages/client/src/components/spotify/SpotifyMiniPlayer.tsx (+2 -0)
📝 packages/client/src/localization/locales/en.json (+1 -0)
➕ scripts/regressions/music-dj-and-floating-ui.regression.ts (+57 -0)

📄 Description

Important

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

Linked issues

Closes #5262
Closes #5263
Closes #5264

Why this change

  • Users without Music DJ currently see a nonfunctional player shell and can toggle a setting for an unavailable feature.
  • The embedded Professor Mari tab bypasses the follow-up eligibility state used by her floating companion, while the shell only restores her on a narrow subset of navigation surfaces.
  • Mobile touch hover/active state can paint the Chats icon with the underline gradient instead of the configured accent color.

What changed

  • Removed the absent-package Music DJ placeholder and disabled the Music Player setting until the installed-package query reports Music DJ active.
  • Restored Professor Mari follow-up eligibility for the embedded tab and expanded her floating activation to chats, browser/editor surfaces, and full-screen mobile navigation.
  • Limited Chats icon gradient classes to desktop while retaining the gradient active underline everywhere.
  • Updated focused source and browser regressions plus the Unreleased changelog entries for all three fixes.

Validation

  • pnpm check

  • node ./scripts/run-regressions.mjs --filter scripts/regressions/music-dj-and-floating-ui.regression.ts

  • Isolated Playwright run: 5 passed, 1 expected desktop skip for the mobile-only case:

    • Music DJ absent → install → toggle on/off, desktop and mobile
    • Professor Mari follow-up, desktop and mobile
    • Mobile topbar navigation and repeated Chats taps
  • 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 desktop and mobile with Music DJ absent, newly installed, shown, and hidden.
  • Manually verify leaving an open Professor Mari chat for a normal chat, an editor, and each mobile full-screen navigation panel.
  • Manually verify repeated taps on the mobile Chats icon retain the accent-colored glyph and gradient underline.

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 (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Automated Chromium coverage exercises both desktop and Pixel 7 viewports; manual verification remains listed above for maintainers.

Summary by CodeRabbit

  • Bug Fixes
    • Music DJ now remains unavailable until installed and ready, with clearer settings guidance.
    • Professor Mari’s floating chat now follows users across chats, editors, detail views, and mobile navigation.
    • Mobile Chats navigation retains its accent color and gradient underline after navigation and interactions.
  • Tests
    • Expanded automated coverage for Music DJ availability, floating chat behavior, draggable mobile widgets, and mobile styling.

🔄 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/5265 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/19/2026 **Status:** ✅ Merged **Merged:** 8/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5262-5264-mobile-ui-regressions` --- ### 📝 Commits (2) - [`cad5b7d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cad5b7de04d496ff7c7500ed6b7a00b02eb1b88a) Fix Music DJ and mobile floating UI regressions - [`6d1dc0f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6d1dc0f7644b5e56dbda0126dc6bac04196e4483) Cover installed music and Professor Mari handoff ### 📊 Changes **10 files changed** (+265 additions, -343 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -0) 📝 `e2e/core-flows.e2e.ts` (+171 -38) 📝 `packages/client/src/components/chat/HomeProfessorMariChat.tsx` (+6 -0) 📝 `packages/client/src/components/layout/AppShell.tsx` (+8 -7) 📝 `packages/client/src/components/layout/TopBar.tsx` (+8 -12) ➖ `packages/client/src/components/music/MusicDjUnavailablePlayer.tsx` (+0 -284) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+9 -2) 📝 `packages/client/src/components/spotify/SpotifyMiniPlayer.tsx` (+2 -0) 📝 `packages/client/src/localization/locales/en.json` (+1 -0) ➕ `scripts/regressions/music-dj-and-floating-ui.regression.ts` (+57 -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 issues Closes #5262 Closes #5263 Closes #5264 ## Why this change - Users without Music DJ currently see a nonfunctional player shell and can toggle a setting for an unavailable feature. - The embedded Professor Mari tab bypasses the follow-up eligibility state used by her floating companion, while the shell only restores her on a narrow subset of navigation surfaces. - Mobile touch hover/active state can paint the Chats icon with the underline gradient instead of the configured accent color. ## What changed - Removed the absent-package Music DJ placeholder and disabled the Music Player setting until the installed-package query reports Music DJ active. - Restored Professor Mari follow-up eligibility for the embedded tab and expanded her floating activation to chats, browser/editor surfaces, and full-screen mobile navigation. - Limited Chats icon gradient classes to desktop while retaining the gradient active underline everywhere. - Updated focused source and browser regressions plus the Unreleased changelog entries for all three fixes. ## Validation - `pnpm check` - `node ./scripts/run-regressions.mjs --filter scripts/regressions/music-dj-and-floating-ui.regression.ts` - Isolated Playwright run: 5 passed, 1 expected desktop skip for the mobile-only case: - Music DJ absent → install → toggle on/off, desktop and mobile - Professor Mari follow-up, desktop and mobile - Mobile topbar navigation and repeated Chats taps - [ ] `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 desktop and mobile with Music DJ absent, newly installed, shown, and hidden. - Manually verify leaving an open Professor Mari chat for a normal chat, an editor, and each mobile full-screen navigation panel. - Manually verify repeated taps on the mobile Chats icon retain the accent-colored glyph and gradient underline. ## 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 (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Automated Chromium coverage exercises both desktop and Pixel 7 viewports; manual verification remains listed above for maintainers. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Music DJ now remains unavailable until installed and ready, with clearer settings guidance. * Professor Mari’s floating chat now follows users across chats, editors, detail views, and mobile navigation. * Mobile Chats navigation retains its accent color and gradient underline after navigation and interactions. * **Tests** * Expanded automated coverage for Music DJ availability, floating chat behavior, draggable mobile widgets, and mobile styling. <!-- 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:12:48 +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#6695
No description provided.