-
Notifications
You must be signed in to change notification settings - Fork 416
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
Add Extension to Docks panels not works #8925
Comments
To get more info, when i open catalog right panel, the MapStore2/web/client/epics/maplayout.js Lines 122 to 130 in b697b85
But with my SampleComponent panel, the right value is 40px instead of 550px (my panel heigth) and this dockable panel seems not detected in the right panel list (not parsed in previous righPanel filter) : ... indeed, store state seems not update and doesn't contain extension dock panel. Here, we pass the additional dockPanel :
... and here, he is not in rightPanel list : https://github.com/geosolutions-it/MapStore2/blob/master/web/client/epics/maplayout.js#L66
|
if i force
For me, this is a real issue for some reasons :
Do you agree with that @tdipisa @allyoucanmap or the code used in the branch is wrong and need something to avoid to force Thanks. |
Description
I try to create a new Extension with ResponsivePanel.
To do that, :
My Extension is available but
mapLayoutValuesSelector
seems not update correctly because main toolbar is behind my ResponsivePanel and searchToolbar is in front of my ReponsivePanel header !Even if i add My dockPanel to the list and use mapLayout, i get the same result :
https://github.com/jdev-org/MapStoreExtension/blob/76de2e067abf40a7429887dc4def3f2d09ffbfd2/js/extension/plugins/Module.jsx#L25-L28
https://github.com/jdev-org/MapStoreExtension/blob/76de2e067abf40a7429887dc4def3f2d09ffbfd2/js/extension/epics/main.js#L10-L20
How to reproduce
Ty this branch :
https://github.com/jdev-org/MapStoreExtension/tree/SampleComponent
Expected Result
If i insert a ResponsiveResult panel, i need to update map layout to keep searchToolbar and main toolbar
Current Result
Map layout is not updated.
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information
The text was updated successfully, but these errors were encountered: