Page MenuHomePhabricator

[web] show which reactions the viewer has already selected in the inline engagement
ClosedPublic

Authored by ginsu on Aug 14 2023, 10:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 10:34 AM
Unknown Object (File)
Mon, Oct 28, 7:45 AM
Unknown Object (File)
Mon, Oct 28, 7:45 AM
Unknown Object (File)
Mon, Oct 28, 7:45 AM
Unknown Object (File)
Mon, Oct 28, 7:45 AM
Unknown Object (File)
Mon, Oct 28, 7:43 AM
Unknown Object (File)
Oct 1 2024, 4:46 PM
Unknown Object (File)
Sep 30 2024, 2:43 AM
Subscribers

Details

Summary

To improve the user experience of the inline engagement, we should show/indicate to the user which reactions they have already selected. We indicate this to the user by adding a border to the reaction pill.

Depends on D8808

Test Plan

Confirmed the width/height of the reaction pills are all the same regardless if it has been selected by the viewer or not

Screenshot 2023-08-14 at 1.49.01 PM.png (2×3 px, 1 MB)

Screenshot 2023-08-14 at 1.49.07 PM.png (2×3 px, 1 MB)

Please watch the demo video below:

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: atul, kamil.
ginsu added inline comments.
web/chat/inline-engagement.css
46–47

We use 7 and 3 here because the border will add 1px so the total will match the original reaction pill height/width

This revision is now accepted and ready to land.Aug 16 2023, 2:18 AM