[PR #2733] [MERGED] Refine accent RGB and pulse controls #5722

Closed
opened 2026-10-22 04:18:51 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2733
Author: @Gunterlie
Created: 6/21/2026
Status: ✅ Merged
Merged: 6/21/2026
Merged by: @SpicyMarinara

Base: staging ← Head: split-accent-controls


📝 Commits (4)

  • 629ff8e Add accent pulse mode for solid colors
  • 5dba3c2 Disable accent color picker when RGB Mode is active
  • 1f91b94 Merge branch 'staging' into split-accent-controls
  • b555cba Fix accent control review follow-ups

📊 Changes

6 files changed (+154 additions, -12 deletions)

View changed files

📝 packages/client/src/App.tsx (+5 -3)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+76 -6)
📝 packages/client/src/components/panels/settings/SettingControls.tsx (+8 -1)
📝 packages/client/src/components/ui/ColorPicker.tsx (+15 -1)
📝 packages/client/src/stores/ui.store.ts (+32 -1)
📝 packages/client/src/styles/globals.css (+18 -0)

📄 Description

Linked issue

No linked issue yet. One should be opened before this PR is submitted for review.

Why this change

  • Splits accent animation behavior more cleanly between solid accents and gradient accents, and prevents the accent picker from exposing edits that are lost while RGB Mode is active.

What changed

  • Adds Accent Pulse for solid accent colors while keeping animated gradient handling scoped to RGB Mode.
  • Preserves and restores the previous accent when toggling RGB Mode, including persisted store handling for older saved state.
  • Disables the shared Accent Color picker while RGB Mode owns the active accent and updates the settings help text accordingly.
  • Adds shared UI support for disabled ColorPicker controls and custom toggle track styling used by the RGB toggle.
  • Follows up on review feedback by version-gating the new persisted fields, clearing stale pulse state when a gradient accent is selected manually, and documenting switchClassName override behavior.

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

  • pnpm --filter @marinara-engine/client build
  • pnpm --filter @marinara-engine/client exec eslint src/components/ui/ColorPicker.tsx src/components/panels/SettingsPanel.tsx --max-warnings=0
  • pnpm --filter @marinara-engine/client exec eslint src/components/panels/SettingsPanel.tsx src/components/panels/settings/SettingControls.tsx src/stores/ui.store.ts --max-warnings=0
  • pnpm check was started earlier, but the repo-wide lint step hit the session timeout before it returned a final result.
  • No browser click-through, mobile verification, or human manual proof is claimed by this update.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Bildschirmfoto 2026-06-21 um 17 20 37 Bildschirmfoto 2026-06-21 um 17 20 29

🔄 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/2733 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 6/21/2026 **Status:** ✅ Merged **Merged:** 6/21/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `split-accent-controls` --- ### 📝 Commits (4) - [`629ff8e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/629ff8e454717a45ae11d839236c6a1e47fb0f7e) Add accent pulse mode for solid colors - [`5dba3c2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5dba3c26a5417f3cbf85a8b0419374ef74f1b92e) Disable accent color picker when RGB Mode is active - [`1f91b94`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1f91b945ec3fd84e633883099cc636c68acbc7c9) Merge branch 'staging' into split-accent-controls - [`b555cba`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b555cbadc14a323500ff00cce041af76487567b7) Fix accent control review follow-ups ### 📊 Changes **6 files changed** (+154 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/App.tsx` (+5 -3) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+76 -6) 📝 `packages/client/src/components/panels/settings/SettingControls.tsx` (+8 -1) 📝 `packages/client/src/components/ui/ColorPicker.tsx` (+15 -1) 📝 `packages/client/src/stores/ui.store.ts` (+32 -1) 📝 `packages/client/src/styles/globals.css` (+18 -0) </details> ### 📄 Description ## Linked issue No linked issue yet. One should be opened before this PR is submitted for review. ## Why this change - Splits accent animation behavior more cleanly between solid accents and gradient accents, and prevents the accent picker from exposing edits that are lost while `RGB Mode` is active. ## What changed - Adds `Accent Pulse` for solid accent colors while keeping animated gradient handling scoped to `RGB Mode`. - Preserves and restores the previous accent when toggling `RGB Mode`, including persisted store handling for older saved state. - Disables the shared `Accent Color` picker while `RGB Mode` owns the active accent and updates the settings help text accordingly. - Adds shared UI support for disabled `ColorPicker` controls and custom toggle track styling used by the RGB toggle. - Follows up on review feedback by version-gating the new persisted fields, clearing stale pulse state when a gradient accent is selected manually, and documenting `switchClassName` override behavior. ## 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 - `pnpm --filter @marinara-engine/client build` - `pnpm --filter @marinara-engine/client exec eslint src/components/ui/ColorPicker.tsx src/components/panels/SettingsPanel.tsx --max-warnings=0` - `pnpm --filter @marinara-engine/client exec eslint src/components/panels/SettingsPanel.tsx src/components/panels/settings/SettingControls.tsx src/stores/ui.store.ts --max-warnings=0` - `pnpm check` was started earlier, but the repo-wide lint step hit the session timeout before it returned a final result. - No browser click-through, mobile verification, or human manual proof is claimed by this update. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) <img width="280" height="182" alt="Bildschirmfoto 2026-06-21 um 17 20 37" src="https://github.com/user-attachments/assets/d7ec1aa9-2d2a-4566-9a8c-b9132e3c07b1" /> <img width="277" height="228" alt="Bildschirmfoto 2026-06-21 um 17 20 29" src="https://github.com/user-attachments/assets/a991aacc-f1b6-4d84-9939-3aba44bd25e1" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:18:51 +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#5722
No description provided.