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)
Sun, May 19, 5:41 PM
Unknown Object (File)
Sun, May 19, 5:41 PM
Unknown Object (File)
Sun, May 19, 5:41 PM
Unknown Object (File)
Mar 7 2024, 9:34 AM
Unknown Object (File)
Feb 22 2024, 3:43 PM
Unknown Object (File)
Feb 7 2024, 6:07 AM
Unknown Object (File)
Feb 6 2024, 6:13 AM
Unknown Object (File)
Feb 6 2024, 6:13 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