Page MenuHomePhabricator

[web] update ModalOverlay component
ClosedPublic

Authored by ginsu on Oct 13 2022, 3:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 3:28 AM
Unknown Object (File)
Mon, Oct 28, 5:09 AM
Unknown Object (File)
Mon, Oct 28, 5:09 AM
Unknown Object (File)
Mon, Oct 28, 5:09 AM
Unknown Object (File)
Mon, Oct 28, 5:05 AM
Unknown Object (File)
Oct 15 2024, 6:33 PM
Unknown Object (File)
Oct 15 2024, 3:48 AM
Unknown Object (File)
Oct 13 2024, 9:11 PM

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.