Closed EehMauro closed 8 months ago
The project has introduced a new customizable Avatar
component that uses the minidenticons
library to generate avatars from seed strings. This component, which allows for adjustments in saturation, lightness, and shape, has been integrated into the application, replacing the previous usage of a standard avatar from @mui/material
. The Avatar
component is now used in multiple parts of the application to display user profile images.
File Path | Change Summary |
---|---|
src/components/Avatar/index.tsx |
Added new Avatar component with minidenticons integration. |
src/pages/session/components/AppBar.tsx |
Replaced @mui/material Avatar with custom Avatar component and updated the usage of the profile state to set the seed prop. |
src/pages/support-commands/index.tsx |
Added Avatar import and replaced an img tag with the Avatar component. |
src/pages/support-commands/details/index.tsx |
Added Avatar import and replaced an img tag with the Avatar component within the UserDetails component. |
🐇 "In the realm of code, where avatars abound,
A rabbit hopped in, with new icons found.
With hues and shapes, so vivid and smart,
Each profile now, a minidenticon art." 🎨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Avatar
component that generates personalized avatars based on user input.Enhancements
Avatar
component into the app'sAppBar
andSupport Commands
page, replacing previous avatar implementations.