Page MenuHomePhabricator

[web] introduce XL and XXL sizes to the avatar component
ClosedPublic

Authored by ginsu on Oct 8 2023, 11:28 PM.
Tags
None
Referenced Files
F3524009: D9408.id31768.diff
Mon, Dec 23, 10:57 AM
F3523974: D9408.id32046.diff
Mon, Dec 23, 10:53 AM
F3523971: D9408.id32060.diff
Mon, Dec 23, 10:52 AM
F3522439: D9408.diff
Mon, Dec 23, 6:46 AM
F3521298: D9408.id32060.diff
Mon, Dec 23, 2:47 AM
F3521297: D9408.id32046.diff
Mon, Dec 23, 2:47 AM
F3521296: D9408.id31977.diff
Mon, Dec 23, 2:47 AM
F3521295: D9408.id31768.diff
Mon, Dec 23, 2:47 AM
Subscribers

Details

Summary

When building the user profiles on native we needed to introduce two new size variants: XL and XXL for our avatar component. We will need these two new variants for the avatar on the user profile and the avatar for the full screen view.

Since one of the newly introduced variants (100x100) is going to be smaller than the current L size (112x112), the current L size will now be "XL".

L => 100x100
XL => 112x112
XXL => 480x480

Depends on D9407

Test Plan

Please see screenshots below

L (100x100):

Screenshot 2023-10-09 at 2.37.58 AM.png (2×3 px, 761 KB)

XL (112x112):

Screenshot 2023-10-09 at 2.36.49 AM.png (2×3 px, 821 KB)

XXL (480x480):

Screenshot 2023-10-12 at 5.39.17 PM.png (1×3 px, 1 MB)

Screenshot 2023-10-12 at 5.41.28 PM.png (2×3 px, 969 KB)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu edited the test plan for this revision. (Show Details)
ginsu requested review of this revision.Oct 8 2023, 11:45 PM

finish test plan

This revision is now accepted and ready to land.Oct 16 2023, 8:53 AM