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
F3386374: D8810.id29868.diff
Fri, Nov 29, 4:21 AM
F3385770: D8810.diff
Fri, Nov 29, 2:12 AM
Unknown Object (File)
Mon, Nov 25, 3:42 PM
Unknown Object (File)
Mon, Nov 18, 10:34 AM
Unknown Object (File)
Oct 28 2024, 7:45 AM
Unknown Object (File)
Oct 28 2024, 7:45 AM
Unknown Object (File)
Oct 28 2024, 7:45 AM
Unknown Object (File)
Oct 28 2024, 7:45 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
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #29868)

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