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)
Thu, Dec 26, 4:19 AM
Unknown Object (File)
Sun, Dec 1, 10:25 AM
Unknown Object (File)
Nov 29 2024, 4:21 AM
Unknown Object (File)
Nov 29 2024, 2:12 AM
Unknown Object (File)
Nov 25 2024, 3:42 PM
Unknown Object (File)
Nov 18 2024, 10:34 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