Page MenuHomePhabricator

[web] update ModalOverlay component
ClosedPublic

Authored by ginsu on Oct 13 2022, 3:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 11:32 PM
Unknown Object (File)
Mon, Nov 25, 10:37 PM
Unknown Object (File)
Sun, Nov 24, 12:40 PM
Unknown Object (File)
Sun, Nov 24, 12:39 PM
Unknown Object (File)
Fri, Nov 8, 3:28 AM
Unknown Object (File)
Oct 28 2024, 5:09 AM
Unknown Object (File)
Oct 28 2024, 5:09 AM
Unknown Object (File)
Oct 28 2024, 5:09 AM

Details

Summary

updated ModalOverlay component by changing background-color of overlay to hex value because hex values are more frequently used in the codebase, and changed useEffect to useLayoutEffect. Reasoning for that here


Depends on D5363
Linear Task: ENG-2038

Test Plan

Please watch the video to see that there are no visual or performance regressions with these updates to the ModalOverlay component and everything works as it did previously

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, rohan, abosh.
ginsu edited the summary of this revision. (Show Details)
ginsu requested review of this revision.Oct 13 2022, 3:11 PM

Looks good, thanks for linking discussion on Linear, it made the changes clear

This revision is now accepted and ready to land.Oct 14 2022, 11:57 AM
This revision was automatically updated to reflect the committed changes.