Page MenuHomePhabricator

[native] improve user experience for remvoing an avatar
ClosedPublic

Authored by ginsu on Apr 26 2023, 5:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 12, 12:56 AM
Unknown Object (File)
Mon, May 6, 11:44 PM
Unknown Object (File)
Sat, May 4, 8:01 AM
Unknown Object (File)
Wed, May 1, 4:49 PM
Unknown Object (File)
Sun, Apr 28, 2:28 PM
Unknown Object (File)
Mon, Apr 22, 8:25 AM
Unknown Object (File)
Mon, Apr 22, 8:25 AM
Unknown Object (File)
Mon, Apr 22, 8:25 AM
Subscribers

Details

Summary

This diff does two things to improve the user experince, 1. we change the copy from "Remove avatar" to "Clear avatar" and we exlcude this option too if the avatar is not set

https://linear.app/comm/issue/ENG-3804/remove-avatar-button-does-nothing-if-the-user-has-a-default-avatar

Test Plan

Please see the demo videos to see the changes I made

User avatar:

Thread avatar:

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 added reviewers: ashoat, atul.
ginsu edited the summary of this revision. (Show Details)
ginsu requested review of this revision.Apr 26 2023, 5:47 PM
This revision is now accepted and ready to land.Apr 27 2023, 10:17 AM