Page MenuHomePhabricator

[web] refactored modal.react.js in web to use lib Modal component
AbandonedPublic

Authored by ginsu on Oct 12 2022, 1:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 14, 5:22 AM
Unknown Object (File)
Fri, Sep 6, 10:41 PM
Unknown Object (File)
Fri, Sep 6, 10:41 PM
Unknown Object (File)
Thu, Sep 5, 5:47 AM
Unknown Object (File)
Sun, Sep 1, 2:00 PM
Unknown Object (File)
Tue, Aug 27, 10:53 PM
Unknown Object (File)
Sat, Aug 24, 9:38 AM
Unknown Object (File)
Sat, Aug 24, 9:38 AM

Details

Summary

refactored modal.react.js in web to use lib Modal component. All the removed code in this diff now lives in lib/components/modal.react

Next Steps:

  1. Refactor modal-provider.js imports in web to use lib instead of web
  2. Refacor modal.react.js in landing
  3. Refactor modal-provider.js imports in landing to use lib instead of landing

Depends on D5353
Linear Task: ENG-2038

Test Plan

Please view the attached video to see that all modals act the same as before

Diff Detail

Repository
rCOMM Comm
Branch
eng-2038
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, rohan, abosh.
ginsu requested review of this revision.Oct 12 2022, 1:20 PM
atul requested changes to this revision.Oct 13 2022, 12:01 PM

Back to your queue for now

This revision now requires changes to proceed.Oct 13 2022, 12:01 PM
web/modals/modal.css
1–13

This code now lives in lib/components/modal.css which was created in the previous diff

web/modals/modal.react.js
33–57

This code now lives in lib/components/modal.react.js which was created in the previous diff

87–93

This code now lives in lib/components/modal.react.js which was created in the previous diff

abandoning diff due to better refactor strategy with other diffs