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
F2071061: D8810.id30371.diff
Fri, Jun 21, 11:37 PM
Unknown Object (File)
Fri, Jun 21, 2:48 AM
Unknown Object (File)
Sat, Jun 15, 8:42 PM
Unknown Object (File)
Sun, Jun 9, 9:23 AM
Unknown Object (File)
Sun, May 26, 10:06 AM
Unknown Object (File)
May 19 2024, 5:41 PM
Unknown Object (File)
May 19 2024, 5:41 PM
Unknown Object (File)
May 19 2024, 5:41 PM
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