[PR #4667] [MERGED] Inset avatar AI control and simplify intent hints #6460

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

📋 Pull Request Information

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

Base: staging ← Head: agent/4665-avatar-generate-inset


📝 Commits (2)

  • 36b66b8 start avatar generation inset follow-up
  • efa5c99 fix avatar action inset and simplify intent hints

📊 Changes

4 files changed (+15 additions, -7 deletions)

View changed files

📝 CHANGELOG.md (+2 -1)
📝 e2e/core-flows.e2e.ts (+9 -2)
📝 packages/client/src/components/ui/EditorAvatarTileActions.tsx (+1 -1)
📝 packages/server/src/services/conversation/intent.service.ts (+3 -3)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #4665

Why this change

  • The avatar AI-generation control sat directly against the mini-avatar border, so the rounded tile clipped the edge of its ring.
  • Mobile has less room around the centered camera than desktop, so both breakpoints cannot safely use the same inset.
  • This PR also includes a maintainer-directed simplification of three proactive Conversation intent hints so they do not impose extra tone guidance.

What changed

  • Inset the AI-generation control by two pixels on desktop and one pixel on mobile.
  • Strengthened Character and Persona editor geometry coverage to require the complete control to remain inside the avatar tile without overlapping the camera.
  • Simplified the check_in, long_absence_check_in, and meal_break hint text without changing intent selection, scheduling, cooldowns, or routing.
  • Updated the Unreleased changelog.

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

Additional automated validation completed:

  • pnpm check
  • pnpm exec playwright test e2e/core-flows.e2e.ts --grep "Character and Persona avatar actions stay separated and visually balanced" --project=desktop-chromium --project=mobile-chromium
  • Exact compiled assertions for the three changed Conversation intent hints
  • pnpm regression:prompt

Manual verification notes

  • Manually verify the top-right AI-generation control in Character and Persona mini-avatar tiles on desktop.
  • Manually verify the mobile control remains separate from the centered camera.
  • Manually sample proactive Conversation turns for the three changed intent hints.

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] <paths> follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Focused desktop and mobile Playwright geometry checks pass for both Character and Persona editors.

Summary by CodeRabbit

  • Bug Fixes
    • Improved avatar generation controls so the action remains visible and properly inset across standard and compact previews.
    • Simplified proactive conversation prompts to better follow the selected moment without adding unnecessary tone guidance.

🔄 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/4667 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/6/2026 **Status:** ✅ Merged **Merged:** 8/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/4665-avatar-generate-inset` --- ### 📝 Commits (2) - [`36b66b8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/36b66b81d9ab09e08a4328fa98328e409e2f193d) start avatar generation inset follow-up - [`efa5c99`](https://github.com/Pasta-Devs/Marinara-Engine/commit/efa5c990d21b6a4026a3d64bf1c628d101e2a77f) fix avatar action inset and simplify intent hints ### 📊 Changes **4 files changed** (+15 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -1) 📝 `e2e/core-flows.e2e.ts` (+9 -2) 📝 `packages/client/src/components/ui/EditorAvatarTileActions.tsx` (+1 -1) 📝 `packages/server/src/services/conversation/intent.service.ts` (+3 -3) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #4665 ## Why this change - The avatar AI-generation control sat directly against the mini-avatar border, so the rounded tile clipped the edge of its ring. - Mobile has less room around the centered camera than desktop, so both breakpoints cannot safely use the same inset. - This PR also includes a maintainer-directed simplification of three proactive Conversation intent hints so they do not impose extra tone guidance. ## What changed - Inset the AI-generation control by two pixels on desktop and one pixel on mobile. - Strengthened Character and Persona editor geometry coverage to require the complete control to remain inside the avatar tile without overlapping the camera. - Simplified the `check_in`, `long_absence_check_in`, and `meal_break` hint text without changing intent selection, scheduling, cooldowns, or routing. - Updated the Unreleased changelog. ## 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` Additional automated validation completed: - `pnpm check` - `pnpm exec playwright test e2e/core-flows.e2e.ts --grep "Character and Persona avatar actions stay separated and visually balanced" --project=desktop-chromium --project=mobile-chromium` - Exact compiled assertions for the three changed Conversation intent hints - `pnpm regression:prompt` ### Manual verification notes - Manually verify the top-right AI-generation control in Character and Persona mini-avatar tiles on desktop. - Manually verify the mobile control remains separate from the centered camera. - Manually sample proactive Conversation turns for the three changed intent hints. ## 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] <paths>` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Focused desktop and mobile Playwright geometry checks pass for both Character and Persona editors. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved avatar generation controls so the action remains visible and properly inset across standard and compact previews. * Simplified proactive conversation prompts to better follow the selected moment without adding unnecessary tone guidance. <!-- 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:10: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#6460
No description provided.