Page MenuHomePhabricator

[native] split the inline engagement pill into two
ClosedPublic

Authored by ginsu on Jul 13 2023, 2:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 28, 8:57 AM
Unknown Object (File)
Sat, Sep 28, 8:57 AM
Unknown Object (File)
Sat, Sep 28, 8:57 AM
Unknown Object (File)
Sat, Sep 28, 8:57 AM
Unknown Object (File)
Sat, Sep 28, 8:57 AM
Unknown Object (File)
Sat, Sep 28, 8:57 AM
Unknown Object (File)
Sat, Sep 28, 8:52 AM
Unknown Object (File)
Sat, Sep 28, 12:26 AM
Subscribers

Details

Summary

As a first step to redesigning the InlineEngagement component we should split the sidebar and the reactions into two separate pills. For context, this is what the new inline engagement component is supposed to look like:

Screenshot 2023-07-13 at 5.47.56 PM.png (966×2 px, 290 KB)

This diff begins to break the chat height measurement, as such this diff and subsequent diffs won't be landed until the rest of the native inline engagement work w/ correct height measurement is completed

Linear Task: https://linear.app/comm/issue/ENG-3103/update-inlineengagement-for-native

Depends on D8496

Test Plan

Please look at the screenshots below to see the changes

Before:

Screenshot 2023-07-13 at 5.30.56 PM.png (1×960 px, 741 KB)

Screenshot 2023-07-13 at 5.31.12 PM.png (1×1 px, 847 KB)

After:

Screenshot 2023-07-13 at 5.31.59 PM.png (1×1 px, 929 KB)

Screenshot 2023-07-13 at 5.31.49 PM.png (1×1 px, 847 KB)

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 edited the summary of this revision. (Show Details)
ginsu edited the summary of this revision. (Show Details)
ginsu edited the test plan for this revision. (Show Details)

cleanup unused style

native/chat/inline-engagement.react.js
149–166

Eventually we are going to get rid of this code in a subsequent diff, but just adding sidebarItem and reactionList for now so this diff isn't super big

ginsu requested review of this revision.Jul 13 2023, 3:14 PM
This revision is now accepted and ready to land.Jul 19 2023, 5:07 AM