Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.

fix/avatar crop scaling#55

Draft
Promansis wants to merge 4 commits into
Pasta-Devs:mainfrom
Promansis:bug/35-avatar-crop-scaling
Draft

fix/avatar crop scaling#55
Promansis wants to merge 4 commits into
Pasta-Devs:mainfrom
Promansis:bug/35-avatar-crop-scaling

Conversation

@Promansis
Copy link
Copy Markdown
Collaborator

@Promansis Promansis commented May 22, 2026

Linked issue

Closes #35

Why this change

Fix character avatar crops so the library and panel render the stored crop region consistently.

What changed

  • Added a shared CharacterAvatarImage helper in the React character feature.
  • Swapped the character library and panel avatar renders to use the shared crop-aware image path.
  • Kept crop parsing and style application inside the character UI layer.

Validation

  • pnpm typecheck
  • pnpm build
  • cargo check --manifest-path src-tauri/Cargo.toml
  • pnpm check:docs when docs, skills, or repo guidance changed
  • Ran pnpm tauri dev and tested the app path manually
  • Verified the affected feature in the right mode(s): chat, roleplay, game, settings/providers, imports/exports, or assets

Manual verification notes

  • Not run.

Docs impact

  • No docs changes needed
  • Updated docs/developer/* or repo guidance as needed

UI evidence

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 22, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b2ee36b7-bad9-48e4-af53-4568c5de1fce

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Promansis Promansis force-pushed the bug/35-avatar-crop-scaling branch from 7ccb14c to f08507c Compare May 22, 2026 15:27
@Promansis Promansis changed the title [codex] avatar crop scaling fix/avatar crop scaling May 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Character library avatar crop scaling

2 participants