Details
Details
- Reviewers
atul tomek - Commits
- rCOMM1401e536a93c: [web] implement new InlineEngagement design
Please watch the demo video to see the new InlineEngagement
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Looks good, minor notes inline.
web/chat/inline-engagement.react.js | ||
---|---|---|
27 ↗ | (On Diff #21207) | Do we really need this? Are we not able to check the truthiness of ThreadInfo directly in threadsContainerClasses and reactionsContainerClasses? |
28 ↗ | (On Diff #21207) | Could we replace this with const reactionsExist = reactions?.size > 0; ? Could we also move threadInfoExists and reactionsExist directly above threadsContainerClasses and reactionsContainerClasses so they're closer to usage? |
web/chat/inline-engagement.react.js | ||
---|---|---|
28 ↗ | (On Diff #21207) | Getting a flow error about cannot comparing undefined to number when attempting to replace reactionsExist with the statement you provided |
web/chat/inline-engagement.react.js | ||
---|---|---|
28 ↗ | (On Diff #21207) | Oh yeah that makes sense never mind |