Skip to content

refactor: Replace UserAvatar module with Avatar#445

Merged
LunarX merged 2 commits intomainfrom
replace-useravatar-with-avatar
Jul 23, 2025
Merged

refactor: Replace UserAvatar module with Avatar#445
LunarX merged 2 commits intomainfrom
replace-useravatar-with-avatar

Conversation

@LunarX
Copy link
Copy Markdown
Contributor

@LunarX LunarX commented Jul 23, 2025

Now that we have a new more generic Avatar composable, we can quickly replace the only usage of UserAvatar that was in the MyKsuite module with the new Avatar module to avoid having to support deprecated code.

To avoid modifying the MyKsuite module too much, I copied the AvatarData data class inside of the MyKsuite module so the module can continue to use it and I simply turned it into the required AvatarType at the end.

For now, I did not delete the UserAvatar module because there's another branch which is not yet merged that started using UserAvatar and I would like to talk in perso with the person working on that branch

@LunarX LunarX requested review from FabianDevel and sirambd July 23, 2025 10:47
@LunarX LunarX self-assigned this Jul 23, 2025
@LunarX LunarX added the enhancement New feature or request label Jul 23, 2025
@LunarX LunarX force-pushed the replace-useravatar-with-avatar branch from 604f5f3 to 87341aa Compare July 23, 2025 11:05
@sonarqubecloud
Copy link
Copy Markdown

@LunarX LunarX merged commit a67d9b7 into main Jul 23, 2025
5 checks passed
@LunarX LunarX deleted the replace-useravatar-with-avatar branch July 23, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants