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
Unknown Object (File)
Thu, Nov 14, 7:26 AM
Unknown Object (File)
Thu, Nov 14, 7:26 AM
Unknown Object (File)
Thu, Nov 14, 7:26 AM
Unknown Object (File)
Thu, Nov 14, 7:26 AM
Unknown Object (File)
Thu, Nov 14, 7:25 AM
Unknown Object (File)
Thu, Nov 14, 7:08 AM
Unknown Object (File)
Oct 15 2024, 6:02 AM
Unknown Object (File)
Oct 15 2024, 6:02 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