Skip to content

Conversation

@akabiru
Copy link
Member

@akabiru akabiru commented Dec 4, 2025

@akabiru akabiru added this to the 17.0.x milestone Dec 4, 2025
@akabiru akabiru self-assigned this Dec 4, 2025
@akabiru akabiru added the bugfix label Dec 4, 2025
@akabiru akabiru changed the title Use enhanced Primer::Beta::Avatar to render initials in a styled SV… bug/69230 Use enhanced Primer::Beta::Avatar to render initials in a styled SVG when avatar img src is nil/blank Dec 4, 2025
brunopagno
brunopagno previously approved these changes Dec 5, 2025
Copy link
Contributor

@brunopagno brunopagno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too many open tabs and accidentally pressed the wrong buttons. Did not mean to approve this one yet 😅

@brunopagno brunopagno self-requested a review December 5, 2025 08:52
@akabiru akabiru dismissed brunopagno’s stale review December 5, 2025 09:46

Bruno did not mean to approve yet :)

@akabiru akabiru removed the request for review from brunopagno December 5, 2025 09:46
@myabc myabc mentioned this pull request Jan 7, 2026
3 tasks
@akabiru akabiru force-pushed the bug/69230-fix-avatars-with-initials branch from d453661 to 913494c Compare January 8, 2026 12:23
@akabiru akabiru changed the title bug/69230 Use enhanced Primer::Beta::Avatar to render initials in a styled SVG when avatar img src is nil/blank bug/69230 Use enhanced Primer::OpenProject::AvatarWithFallback to render initials in a styled SVG when avatar img src is nil/blank Jan 8, 2026
@akabiru akabiru marked this pull request as ready for review January 8, 2026 12:28
Copy link
Contributor

@HDinger HDinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes itself look fine, but I am wondering whether we should not make that cahnge inside the Users::AvatarComponent directly instead of replacing it with Avatar and name (which the existing component is already doing for you).
I am fine however, with keeping it like this for 17.0 given the time we have and do the full replacement later

@akabiru
Copy link
Member Author

akabiru commented Jan 8, 2026

AvatarComponent

I’m not certain we can implement that change yet, as it would be an app-wide update, and we would then lose features like hovercards. Regardless, that’s a task I’d prefer to handle separately from the release branch due to the increased blast radius.

@HDinger
Copy link
Contributor

HDinger commented Jan 8, 2026

we would then lose features like hovercards.

I think we will be able to preserve them, given that you basically just have to register a stimulus controller if I remember correctly. In any way, I agree, it is too dangerous that shortly before the release 👍

@akabiru
Copy link
Member Author

akabiru commented Jan 8, 2026

Sounds good @HDinger I've created a maintenance wp to cater for this change: https://community.openproject.org/wp/70354

Copy link
Contributor

@myabc myabc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code-wise this looks fine. Unfortunately I still don't have Hocuspocus running successfully in my dev environment, That said - given our exhaustive review of the upstream changes, as well as the fact @HDinger's already looked at this, this should be good to merge! 💯 you're crushing it!

@akabiru akabiru merged commit e02a0d4 into release/17.0 Jan 9, 2026
17 of 18 checks passed
@akabiru akabiru deleted the bug/69230-fix-avatars-with-initials branch January 9, 2026 05:16
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

4 participants