-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
front: Fix cartography sub windows #2876
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #2876 +/- ##
============================================
+ Coverage 40.48% 40.68% +0.19%
Complexity 1711 1711
============================================
Files 630 634 +4
Lines 18805 18724 -81
Branches 2360 2346 -14
============================================
+ Hits 7614 7618 +4
+ Misses 10777 10692 -85
Partials 414 414
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
3f603ea
to
266b7ba
Compare
266b7ba
to
be01bfc
Compare
Even if there is no conflict, could you rebase? It's hard to test. Thank you |
4b557d5
to
1bcc2c8
Compare
Rebase done but work to replace eventListener in MapButton.js |
1bcc2c8
to
abf9c1f
Compare
Create custom hook useOutsideClick to use in MapButtons. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job ! I have left several comments.
I think the modals (or popovers) do not need to have active in their props, since they should not be displayed if they are not active. Some refacto can be done if you remove active of each component (MapSearch, MapSettings, MapKey)
…s, MapSearch.js, MapSettings.js
… close modal by click outside. Use dispatch to close pop-up map when a modal opens
…ive and replace x for ×. MapButton: use conditional rendering for popup. Map.scss: in .map-modal remove opacity: 0 and change z-index to 1
…ps. MapKey: add HeaderPopUp and remove button bottom right
fd495ba
to
80495f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments to fix
...ions/operationalStudies/components/ManageTrainSchedule/ManageTrainScheduleMap/RenderPopup.js
Outdated
Show resolved
Hide resolved
…gs: change function name. Map.scss: remove active in map-modal class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job
… modal and an useEffect to close the map popup
close #2831