[PR #8067] [MERGED] fix: remove icon from avatar Reset button #8085

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

📋 Pull Request Information

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

Base: staging ← Head: fix/avatar-reset-icon


📝 Commits (2)

  • 12b875c chore: start avatar reset icon cleanup
  • 4961d94 fix: remove icon from avatar Reset button

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 packages/client/src/components/ui/AvatarCropWidget.tsx (+2 -2)

📄 Description

Linked issue

Closes #8066

Why this change

The avatar crop Reset action still displays an icon the maintainer requested removing from Character and Persona cards.

What changed

  • Remove the decorative Reset icon from the shared AvatarCropWidget and its unused RotateCcw import.

Owner: @SpicyMarinara, implemented by Codex in the isolated fix/avatar-reset-icon worktree.

Validation

Validated source commit: 4961d94d24ccb7903b949a2ba75f200c508a27bc.

  • pnpm install — passed.
  • pnpm check — passed before and after the edit. The existing HomeProfessorMariChat.tsx hook dependency warning remains; there were no errors.
  • pnpm localization:check — passed.
  • pnpm smoke:ui — 7/7 passed on desktop Chromium, using isolated local ports 7860–7863.
  • Existing avatar crop drag regression — passed on desktop Chromium, mobile Chromium, and mobile WebKit.
  • Existing avatar-actions layout regression — failed on all three projects at the stale Full image locator; the current unchanged button label is Full. An unchanged desktop replay and a run with the original widget reproduce the same failure before Reset assertions. The test, copy, and product behavior were not changed for this unrelated mismatch.
  • Direct browser proof — all eight Character/Persona × desktop/mobile × light/dark combinations passed: visible Reset label, SVG count changes from 1 to 0, and clicking Reset restores the centered maximum-square crop. Disposable API-created data was removed after the checks.
  • Local CodeRabbit review — completed on the final widget diff with zero findings. Independent source review also found no issue.
  • git diff --check — passed.

Before/after screenshots for all eight combinations are attached in the browser evidence comment. Mobile checks use browser emulation; physical-device verification was not performed.

Focused regression command (one worker, ports 7860–7863):

PLAYWRIGHT_CLIENT_PORT=7860 PLAYWRIGHT_SERVER_PORT=7861 \
PLAYWRIGHT_MOBILE_CLIENT_PORT=7862 PLAYWRIGHT_MOBILE_SERVER_PORT=7863 \
pnpm regression:ui e2e/avatar-preview.e2e.ts e2e/core-flows.e2e.ts \
  --grep 'avatar crop handles stay whole|Character and Persona avatar actions stay separated' \
  --project=desktop-chromium --project=mobile-chromium --project=mobile-webkit --workers=1

Manual verification

  • Manually verify the Reset label has no icon in Character and Persona avatar sections.
  • Manually verify resetting still restores the centered maximum square crop.
  • Manually verify light/dark themes and desktop/mobile layouts.

Docs and release impact

No copy, localization keys, documentation, or release metadata changes are required.

Delivery evidence

All required checks passed on 4961d94d24ccb7903b949a2ba75f200c508a27bc. Final-head Dottore Review completed with Viable, With Notes, zero defects and one pre-existing localization-key note; the disposition records the evidence and scope decision. There were zero unresolved review threads.

Merged to staging as 95713e33f114283c98a0bc50d4eab1e8852c718a; commit ancestry and the text-only Reset source were verified after fetching staging. Issue #8066 is closed. Post-merge workflows are tracked separately from the passing PR gates.


🔄 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/8067 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/22/2026 **Status:** ✅ Merged **Merged:** 10/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/avatar-reset-icon` --- ### 📝 Commits (2) - [`12b875c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/12b875c3fb7ed10127a8084ad3c0fc15bdf6c586) chore: start avatar reset icon cleanup - [`4961d94`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4961d94d24ccb7903b949a2ba75f200c508a27bc) fix: remove icon from avatar Reset button ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/ui/AvatarCropWidget.tsx` (+2 -2) </details> ### 📄 Description ## Linked issue Closes #8066 ## Why this change The avatar crop Reset action still displays an icon the maintainer requested removing from Character and Persona cards. ## What changed - Remove the decorative Reset icon from the shared `AvatarCropWidget` and its unused `RotateCcw` import. Owner: @SpicyMarinara, implemented by Codex in the isolated `fix/avatar-reset-icon` worktree. ## Validation Validated source commit: `4961d94d24ccb7903b949a2ba75f200c508a27bc`. - `pnpm install` — passed. - `pnpm check` — passed before and after the edit. The existing `HomeProfessorMariChat.tsx` hook dependency warning remains; there were no errors. - `pnpm localization:check` — passed. - `pnpm smoke:ui` — 7/7 passed on desktop Chromium, using isolated local ports 7860–7863. - Existing avatar crop drag regression — passed on desktop Chromium, mobile Chromium, and mobile WebKit. - Existing avatar-actions layout regression — failed on all three projects at the stale `Full image` locator; the current unchanged button label is `Full`. An unchanged desktop replay and a run with the original widget reproduce the same failure before Reset assertions. The test, copy, and product behavior were not changed for this unrelated mismatch. - Direct browser proof — all eight Character/Persona × desktop/mobile × light/dark combinations passed: visible Reset label, SVG count changes from 1 to 0, and clicking Reset restores the centered maximum-square crop. Disposable API-created data was removed after the checks. - Local CodeRabbit review — completed on the final widget diff with zero findings. Independent source review also found no issue. - `git diff --check` — passed. Before/after screenshots for all eight combinations are attached in [the browser evidence comment](https://github.com/Pasta-Devs/Marinara-Engine/pull/8067#issuecomment-6339128741). Mobile checks use browser emulation; physical-device verification was not performed. Focused regression command (one worker, ports 7860–7863): ```sh PLAYWRIGHT_CLIENT_PORT=7860 PLAYWRIGHT_SERVER_PORT=7861 \ PLAYWRIGHT_MOBILE_CLIENT_PORT=7862 PLAYWRIGHT_MOBILE_SERVER_PORT=7863 \ pnpm regression:ui e2e/avatar-preview.e2e.ts e2e/core-flows.e2e.ts \ --grep 'avatar crop handles stay whole|Character and Persona avatar actions stay separated' \ --project=desktop-chromium --project=mobile-chromium --project=mobile-webkit --workers=1 ``` ### Manual verification - [ ] Manually verify the Reset label has no icon in Character and Persona avatar sections. - [ ] Manually verify resetting still restores the centered maximum square crop. - [ ] Manually verify light/dark themes and desktop/mobile layouts. ## Docs and release impact No copy, localization keys, documentation, or release metadata changes are required. ## Delivery evidence All required checks passed on `4961d94d24ccb7903b949a2ba75f200c508a27bc`. Final-head Dottore Review completed with **Viable, With Notes**, zero defects and one pre-existing localization-key note; [the disposition](https://github.com/Pasta-Devs/Marinara-Engine/pull/8067#issuecomment-6339329024) records the evidence and scope decision. There were zero unresolved review threads. Merged to `staging` as `95713e33f114283c98a0bc50d4eab1e8852c718a`; commit ancestry and the text-only Reset source were verified after fetching staging. Issue #8066 is closed. Post-merge workflows are tracked separately from the passing PR gates. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:10:15 +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#8085
No description provided.