Page MenuHomePhabricator

[web] clean up edited label
ClosedPublic

Authored by ginsu on Jul 31 2023, 11:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 11:39 PM
Unknown Object (File)
Sat, Nov 23, 4:28 AM
Unknown Object (File)
Sat, Nov 23, 4:28 AM
Unknown Object (File)
Fri, Nov 22, 10:52 AM
Unknown Object (File)
Mon, Nov 18, 10:46 AM
Unknown Object (File)
Mon, Nov 4, 8:54 AM
Unknown Object (File)
Fri, Nov 1, 1:41 PM
Unknown Object (File)
Fri, Nov 1, 1:40 PM
Subscribers

Details

Summary

Small cleanup diff which simplifies the logic around the editedLabel and always makes the structure of the web InlineEngagement component symmetrical to the native InlineEngagement component

Depends on D8678

Test Plan

flow and confirmed that there were no regresions with the web InlineEngagement

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu published this revision for review.Jul 31 2023, 11:50 AM
atul added inline comments.
web/chat/inline-engagement.css
54 ↗(On Diff #29298)

Thanks for annotating this! I think this sort of note will help prevent subtle layout/styling regressions in the future

web/chat/inline-engagement.react.js
28 ↗(On Diff #29298)

I'd maybe just inline this within the call to classNames, totally arbitrary and personal preference so up to you

This revision is now accepted and ready to land.Aug 1 2023, 2:16 PM
This revision was automatically updated to reflect the committed changes.