Page MenuHomePhabricator

[web] clean up edited label
ClosedPublic

Authored by ginsu on Jul 31 2023, 11:22 AM.
Tags
None
Referenced Files
F1779150: D8684.id29298.diff
Fri, May 17, 6:34 PM
F1778231: D8684.id30361.diff
Fri, May 17, 10:51 AM
Unknown Object (File)
Tue, May 14, 11:34 AM
Unknown Object (File)
Sat, May 4, 2:32 PM
Unknown Object (File)
Sat, May 4, 2:31 PM
Unknown Object (File)
Sat, May 4, 2:31 PM
Unknown Object (File)
Apr 3 2024, 10:43 PM
Unknown Object (File)
Apr 3 2024, 10:43 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.