Closed lukevella closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
app | π Building (Inspect) | Visit Preview | π¬ Add feedback | Sep 17, 2024 8:04pm |
landing | π Canceled (Inspect) | Sep 17, 2024 8:04pm |
The changes introduce a new seed
property to the AvatarFallback
component in the OptimizedAvatarImage
function, enhancing the avatar's fallback rendering based on the user's name. The ParticipantAvatar
component is modified to use this seed
instead of a color prop. A new YouAvatar
component is created for better user representation in polls, replacing OptimizedAvatarImage
. Additionally, the avatar color handling logic is refactored to allow for dynamic color combinations based on the seed
, improving the visual representation of avatars.
Files | Change Summary |
---|---|
apps/web/src/components/optimized-avatar-image.tsx , apps/web/src/components/participant.tsx |
Added seed property in AvatarFallback for personalized fallback avatars based on names; removed color prop from ParticipantAvatar , shifting to seed for rendering. |
apps/web/src/components/poll/desktop-poll/participant-row-form.tsx , apps/web/src/components/poll/mobile-poll.tsx |
Introduced YouAvatar component to enhance user representation in polls, replacing OptimizedAvatarImage . |
apps/web/src/components/poll/mobile-poll/poll-option.tsx |
Adjusted layout and positioning of participant avatars and vote icons for improved visual alignment without altering public entity declarations. |
apps/web/src/components/poll/you-avatar.tsx |
Introduced a new YouAvatar component that displays the current userβs avatar with multilingual support. |
packages/ui/src/avatar.tsx |
Refactored avatar color handling logic to use dynamic color pairs based on a seed prop, enhancing the visual representation of avatars when images are unavailable. |
OptimizedAvatarImage
component, related to changes in the AvatarFallback
component.OptimizedAvatarImage
component that affect how the avatar image source is determined.π In a meadow bright and fair,
New avatars with flair to share.
With names as seeds, they bloom and grow,
Personalized for all to show!
Hopping forth with colors bright,
A joyful change, a pure delight! πΌ
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
Release Notes
New Features
seed
property based on the user's name.YouAvatar
component for better user representation in polls.Improvements
Bug Fixes