[PR #4004] [MERGED] Polish avatar actions and accent-aware UI #6193

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

📋 Pull Request Information

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

Base: staging ← Head: fix/avatar-actions-game-assets-chroma


📝 Commits (4)

  • 3c4494c Polish avatar and accent UI
  • a991dcb Merge branch 'staging' into fix/avatar-actions-game-assets-chroma
  • a59ef1a Address avatar UI review feedback
  • 56922e4 Merge remote-tracking branch 'origin/staging' into fix/avatar-actions-game-assets-chroma

📊 Changes

21 files changed (+357 additions, -167 deletions)

View changed files

📝 CHANGELOG.md (+3 -0)
📝 docs/appearance/appearance-settings.md (+2 -1)
📝 e2e/core-flows.e2e.ts (+138 -12)
📝 packages/client/src/App.tsx (+5 -1)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+29 -65)
📝 packages/client/src/components/chat/ChatMessage.tsx (+1 -5)
📝 packages/client/src/components/game-assets/ActionDropdown.tsx (+1 -1)
📝 packages/client/src/components/game-assets/AssetGrid.tsx (+8 -8)
📝 packages/client/src/components/game-assets/AudioPlayerModal.tsx (+1 -1)
📝 packages/client/src/components/game-assets/FolderTree.tsx (+3 -3)
📝 packages/client/src/components/game-assets/GameAssetsBrowserView.tsx (+10 -9)
📝 packages/client/src/components/game-assets/Toolbar.tsx (+2 -2)
📝 packages/client/src/components/game/GameNarration.tsx (+1 -4)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+1 -16)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+41 -23)
📝 packages/client/src/components/ui/AvatarCropWidget.tsx (+1 -1)
➕ packages/client/src/components/ui/AvatarReplaceActions.tsx (+55 -0)
📝 packages/client/src/components/ui/ContextMenu.tsx (+6 -2)
➕ packages/client/src/components/ui/EditorAvatarTileActions.tsx (+33 -0)
📝 packages/client/src/localization/locales/en.json (+11 -0)

...and 1 more files

📄 Description

Why

Character and Persona avatar controls could overlap at smaller viewports, and the Metadata replacement action did not offer the same AI-generation path as the header preview. Game Assets and several removal controls also used fixed pink/red treatments instead of the configured chroma. In Appearance, the Default Dialogue Color enable switch was redundant, while opening the Appearance tab unintentionally paused gradient Accent Pulse previews.

What changed

  • Separates the miniature avatar actions into a top-right AI wand and bottom-left upload camera, with responsive geometry coverage for Character and Persona editors.
  • Adds a shared Metadata avatar section with matching Upload avatar and Generate with AI controls, including the downward upload icon and neutral rest styling.
  • Moves Game Assets selection, menu, deletion, and removal treatments onto the configured accent/chroma tokens.
  • Uses the accent treatment for avatar and tag removal controls.
  • Removes the Default Dialogue Color toggle and always applies the fallback when a card has no dialogue color of its own.
  • Keeps gradient Accent Pulse animating while Appearance settings are open.
  • Updates English localization, Appearance documentation, the changelog, and UI regression coverage.

User impact

Avatar editing is clearer on desktop and mobile, configured chroma is respected more consistently, card-specific dialogue colors continue to override the global fallback, and Accent Pulse can be previewed directly where it is configured.

Validation

  • pnpm check
  • pnpm smoke:ui — 95 passed, 53 expected project-specific skips
  • Focused desktop/mobile avatar geometry and control-style regression
  • Focused Accent Pulse, dialogue fallback, localization fallback, and store migration regressions
  • git diff --check

Manual verification

  • Manually verify Character avatar upload and AI generation on desktop and mobile.
  • Manually verify Persona avatar upload and AI generation on desktop and mobile.
  • Manually verify Game Assets selection and three-dot menu colors with solid and gradient chroma settings.
  • Manually verify card dialogue colors override Default Dialogue Color in Roleplay and Game modes.
  • Manually verify Accent Pulse motion in Appearance with reduced motion both enabled and disabled.

No linked issue currently exists; one should be opened or attached before this draft is marked ready for review.

Summary by CodeRabbit

  • New Features
    • Default Dialogue Color now always applies when cards lack a custom color; card-specific colors take priority.
    • Improved Character and Persona avatar editing with clearer upload, generate, replace, and remove controls.
  • Bug Fixes
    • Accent Pulse continues animating while Appearance settings are open, enabling live previews.
    • Refined avatar editor layouts to prevent overlapping controls.
    • Updated Game Assets selection and removal states to follow the configured accent color.
  • Documentation
    • Clarified reduced-motion behavior for Accent Pulse and RGB Mode animations.

🔄 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/4004 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/23/2026 **Status:** ✅ Merged **Merged:** 7/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/avatar-actions-game-assets-chroma` --- ### 📝 Commits (4) - [`3c4494c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3c4494c67c29f6307336ddf0a910ab4b08755567) Polish avatar and accent UI - [`a991dcb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a991dcb3f506f74b4839c80c45b30bdb02b261f5) Merge branch 'staging' into fix/avatar-actions-game-assets-chroma - [`a59ef1a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a59ef1a60017f69947701496d8a31e4221601235) Address avatar UI review feedback - [`56922e4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/56922e43e136e2a5511cc85dd2ee3d3b631c0146) Merge remote-tracking branch 'origin/staging' into fix/avatar-actions-game-assets-chroma ### 📊 Changes **21 files changed** (+357 additions, -167 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -0) 📝 `docs/appearance/appearance-settings.md` (+2 -1) 📝 `e2e/core-flows.e2e.ts` (+138 -12) 📝 `packages/client/src/App.tsx` (+5 -1) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+29 -65) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+1 -5) 📝 `packages/client/src/components/game-assets/ActionDropdown.tsx` (+1 -1) 📝 `packages/client/src/components/game-assets/AssetGrid.tsx` (+8 -8) 📝 `packages/client/src/components/game-assets/AudioPlayerModal.tsx` (+1 -1) 📝 `packages/client/src/components/game-assets/FolderTree.tsx` (+3 -3) 📝 `packages/client/src/components/game-assets/GameAssetsBrowserView.tsx` (+10 -9) 📝 `packages/client/src/components/game-assets/Toolbar.tsx` (+2 -2) 📝 `packages/client/src/components/game/GameNarration.tsx` (+1 -4) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+1 -16) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+41 -23) 📝 `packages/client/src/components/ui/AvatarCropWidget.tsx` (+1 -1) ➕ `packages/client/src/components/ui/AvatarReplaceActions.tsx` (+55 -0) 📝 `packages/client/src/components/ui/ContextMenu.tsx` (+6 -2) ➕ `packages/client/src/components/ui/EditorAvatarTileActions.tsx` (+33 -0) 📝 `packages/client/src/localization/locales/en.json` (+11 -0) _...and 1 more files_ </details> ### 📄 Description ## Why Character and Persona avatar controls could overlap at smaller viewports, and the Metadata replacement action did not offer the same AI-generation path as the header preview. Game Assets and several removal controls also used fixed pink/red treatments instead of the configured chroma. In Appearance, the Default Dialogue Color enable switch was redundant, while opening the Appearance tab unintentionally paused gradient Accent Pulse previews. ## What changed - Separates the miniature avatar actions into a top-right AI wand and bottom-left upload camera, with responsive geometry coverage for Character and Persona editors. - Adds a shared Metadata avatar section with matching Upload avatar and Generate with AI controls, including the downward upload icon and neutral rest styling. - Moves Game Assets selection, menu, deletion, and removal treatments onto the configured accent/chroma tokens. - Uses the accent treatment for avatar and tag removal controls. - Removes the Default Dialogue Color toggle and always applies the fallback when a card has no dialogue color of its own. - Keeps gradient Accent Pulse animating while Appearance settings are open. - Updates English localization, Appearance documentation, the changelog, and UI regression coverage. ## User impact Avatar editing is clearer on desktop and mobile, configured chroma is respected more consistently, card-specific dialogue colors continue to override the global fallback, and Accent Pulse can be previewed directly where it is configured. ## Validation - `pnpm check` - `pnpm smoke:ui` — 95 passed, 53 expected project-specific skips - Focused desktop/mobile avatar geometry and control-style regression - Focused Accent Pulse, dialogue fallback, localization fallback, and store migration regressions - `git diff --check` ## Manual verification - [ ] Manually verify Character avatar upload and AI generation on desktop and mobile. - [ ] Manually verify Persona avatar upload and AI generation on desktop and mobile. - [ ] Manually verify Game Assets selection and three-dot menu colors with solid and gradient chroma settings. - [ ] Manually verify card dialogue colors override Default Dialogue Color in Roleplay and Game modes. - [ ] Manually verify Accent Pulse motion in Appearance with reduced motion both enabled and disabled. No linked issue currently exists; one should be opened or attached before this draft is marked ready for review. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Default Dialogue Color now always applies when cards lack a custom color; card-specific colors take priority. * Improved Character and Persona avatar editing with clearer upload, generate, replace, and remove controls. * **Bug Fixes** * Accent Pulse continues animating while Appearance settings are open, enabling live previews. * Refined avatar editor layouts to prevent overlapping controls. * Updated Game Assets selection and removal states to follow the configured accent color. * **Documentation** * Clarified reduced-motion behavior for Accent Pulse and RGB Mode animations. <!-- 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:08:01 +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#6193
No description provided.