Replace pravatar fallback with Google-style initials avatar#201
Replace pravatar fallback with Google-style initials avatar#201
Conversation
Agent-Logs-Url: https://github.com/ProLoser/PeaceInTheMiddleEast/sessions/222671b2-2e82-4e82-9bd7-82a350e7950f Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
|
|
@copilot Make the background colors, primary point and secondary point |
|
@copilot and double the font size of the Avatar text |
…s avatars Agent-Logs-Url: https://github.com/ProLoser/PeaceInTheMiddleEast/sessions/11da513b-7e70-42dd-8d9b-d64421b288d6 Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in c05ea30. The initials avatar now uses |
Agent-Logs-Url: https://github.com/ProLoser/PeaceInTheMiddleEast/sessions/84a7d496-235d-4d48-b117-55844f5e5385 Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
|
@copilot the preview in the screenshot looks correct but I see white and gray in the preview |
|
@copilot the text avatars are not uniform in size they should match image based avatars behavior |
… to load Agent-Logs-Url: https://github.com/ProLoser/PeaceInTheMiddleEast/sessions/ece6bb3a-bab0-4703-826a-f1bcd2a82b41 Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Fixed in 243781b. The white/gray was a broken Left = the broken img placeholder (white/gray) users were seeing. Middle = the |
|
@copilot the colors look good but the text avatars are way too big. They must match the size behavior of the URL avatars |
…atches img avatar Agent-Logs-Url: https://github.com/ProLoser/PeaceInTheMiddleEast/sessions/074163e1-c740-47ff-80db-2239dd3e1939 Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Fixed in b4c9d20. The root cause was |
…ink to match img sizing Agent-Logs-Url: https://github.com/ProLoser/PeaceInTheMiddleEast/sessions/e89df35d-3ace-4752-9437-1c259fc33c0f Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Fixed in 8dbd113. The
Both |





Avatar.tsxto show first two letters of user's name instead of pravatar (comment out pravatar logic)Avatar.cssto style the initials avatar like Google's avatars (circular, colored background)Friends.cssto alternate primary/secondary background colors on the friends list--primary= brown,--secondary= #ffd8a0) with CSS variable fallbacks1.2emto2.4emonErrorfallback to<img>in Avatar.tsx — whenphotoURLimage fails to load, gracefully falls back to the colored initials div instead of showing a broken white/gray placeholder<span>and move font-size from the container div to the span — the container now inherits the parent font-size sowidth: 4emmatches the<img>avatar exactly1.5em(24px text in 64px circle), add explicitheight: 4em,overflow: hidden, andflex-shrink: 0to.avatar-initialsto fully match<img>avatar size behavior📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.