#9567: handle functionality of zoom to record in table widgets#9608
#9567: handle functionality of zoom to record in table widgets#9608MV88 merged 8 commits intogeosolutions-it:masterfrom
Conversation
…ts (geosolutions-it#9567) This commit addresses the failing test cases related to the issue of zoom records in table widgets.
web/client/components/widgets/enhancers/dependenciesToZoomTo.js
Outdated
Show resolved
Hide resolved
web/client/components/widgets/enhancers/dependenciesToZoomTo.js
Outdated
Show resolved
Hide resolved
web/client/components/widgets/enhancers/dependenciesToZoomTo.js
Outdated
Show resolved
Hide resolved
web/client/components/widgets/enhancers/dependenciesToZoomTo.js
Outdated
Show resolved
Hide resolved
…n table widgets + writing unit tests
…e zoom icon for tblWidget
… dashboard and map viewer
MV88
left a comment
There was a problem hiding this comment.
@tdipisa i think it's worth to have also @offtherailz reviewing this given the latest changes
web/client/components/widgets/builder/wizard/table/TableOptions.jsx
Outdated
Show resolved
Hide resolved
web/client/components/widgets/enhancers/__tests__/dependenciesToExtent-test.jsx
Show resolved
Hide resolved
web/client/components/widgets/enhancers/__tests__/dependenciesToZoomTo-test.jsx
Outdated
Show resolved
Hide resolved
web/client/components/widgets/enhancers/dependenciesToZoomTo.js
Outdated
Show resolved
Hide resolved
web/client/components/widgets/enhancers/dependenciesToZoomTo.js
Outdated
Show resolved
Hide resolved
- put flag of zoomInTblWidget as a default prop - add translations - edit zoomToExtent enhancer to use internal zoom - remove selector "getFlagOfShowingTblWidgetZoom " and use plugin prop instead -
MV88
left a comment
There was a problem hiding this comment.
a few changes but we are close.
I just checked the codebase and I'll do a test of the functionality after that the comments will be fixed. looking promising anyway
MV88
left a comment
There was a problem hiding this comment.
in some cases the zoom to button is superfluous in the dashboard
- following point 1
- create a table widget
- create a map widget and connect it to the table, so that the table drives the map widget viewport
@tdipisa do we want this to be done inside this PR or not ?
@mahmoudadel54 with @tdipisa we agreed to take care also for this point notified above |
|
@ElenaGallo please test it in DEV |
|
@tdipisa @mahmoudadel54 some notes after my tests: 1_ It is not clear what feature the zoom highlights map.mp42_ The highlighted Zoom button is not the one for the feature you zoomed on map_2.mp43_ On Dashboard, when a Table is added before the map, the zoom buttons are not visible on the Table widget. dash.mp4 |
|
all the points above are not an issue.
in here the feature zoomed is centered in the map viewer and since you have some widgets covering it you can partially miss it.
not an issue. It shows up only when a table (child widget) is connected to a map (parent widget) or |
Nothing to do for now. Thank you Up to you to move in done with accepted label @ElenaGallo |
|
this has to be backported in c040-2023.02.xx |
… widgets (geosolutions-it#9608) * geosolutions-it#9567: handle functionality of zoom to record in table widgets * Fix: Correct failing test cases for zoom records issue in table widgets (geosolutions-it#9567) This commit addresses the failing test cases related to the issue of zoom records in table widgets. * geosolutions-it#9567: implement the new approach in zoom to records in table widgets + writing unit tests * geosolutions-it#9567: handle adding flag into config file to show/hide zoom icon for tblWidget * geosolutions-it#9567: reset flag enableZoomInTblWidget to be true for dashboard and map viewer * geosolutions-it#9567: resolve comments' review: - put flag of zoomInTblWidget as a default prop - add translations - edit zoomToExtent enhancer to use internal zoom - remove selector "getFlagOfShowingTblWidgetZoom " and use plugin prop instead
… widgets (geosolutions-it#9608) * geosolutions-it#9567: handle functionality of zoom to record in table widgets * Fix: Correct failing test cases for zoom records issue in table widgets (geosolutions-it#9567) This commit addresses the failing test cases related to the issue of zoom records in table widgets. * geosolutions-it#9567: implement the new approach in zoom to records in table widgets + writing unit tests * geosolutions-it#9567: handle adding flag into config file to show/hide zoom icon for tblWidget * geosolutions-it#9567: reset flag enableZoomInTblWidget to be true for dashboard and map viewer * geosolutions-it#9567: resolve comments' review: - put flag of zoomInTblWidget as a default prop - add translations - edit zoomToExtent enhancer to use internal zoom - remove selector "getFlagOfShowingTblWidgetZoom " and use plugin prop instead
Backport is Done ---> #9749 |
* Fix #9624 Point cloud shading options (#9666) * Fix #9666 Include pointCloudShading option to saved layer config (#9670) * #9606 Error with circle annotations + radius selection (#9607) (#9727) Co-authored-by: Diego Vargas <diegodevelopero@gmail.com> * Fix #9295 added better handling of format in csw service (#9712) (#9732) * #9702: Fix - Background selector in contexts won't retain thumbnail in view mode (#9720) (#9744) * #9567: handle functionality of zoom to record in table widgets (#9608) * #9567: handle functionality of zoom to record in table widgets * Fix: Correct failing test cases for zoom records issue in table widgets (#9567) This commit addresses the failing test cases related to the issue of zoom records in table widgets. * #9567: implement the new approach in zoom to records in table widgets + writing unit tests * #9567: handle adding flag into config file to show/hide zoom icon for tblWidget * #9567: reset flag enableZoomInTblWidget to be true for dashboard and map viewer * #9567: resolve comments' review: - put flag of zoomInTblWidget as a default prop - add translations - edit zoomToExtent enhancer to use internal zoom - remove selector "getFlagOfShowingTblWidgetZoom " and use plugin prop instead * #9683: add Details Panel for MS dashboard (#9689) * #9683: add Details Panel for MS dashboard - The tool have the same options (eg. show as modal, show at startup etc.) - The tool is defined in the same way of the corresponding one for maps. - Edit the layout to put add widget & show/hide connection buttons to the sidebar menu * #9683: resolve the FE test Update DashboardEditor.jsx * #9683: resolve review comments * description: - remove all dashboard selectors and pieces of code in generic components like sidebar plugin component that relevant to dashboard. - add missing test for detailsLoaded action - create new selectors, details uri selector and details settings se;ector that are used in many places in code - move AddWidgetDashboard, MapConnedctionDashboard plugins to direct plugins folder - Put global spinner in details plugin and remove it from sidebar plugin - edit in handleSave enhancer file to make update attributes of details just implemented for Map and Dashboard - Add custom style in details.less as the lib of react-dock doesn't allow to override left css property - remove unused added style from panels.less * #9683: remove unused comments in dashboard-test file * #9683: edit in details epics and selectors to fix FE test * #9683: Resolve review comments Description: - Reolve unused loading property from DashoardEditor file - Add tooltip for save dashboard - Remove custom style in BorderLayout and leave it with generic style * #9683: resolve review comments Description: - edit navbar.less files to fix going language selector behind body panel - remove unused z-index in dashboard.less # Conflicts: # web/client/epics/__tests__/config-test.js # web/client/epics/config.js * #9683: resolve test comment (#9730) - Adding export, import, delete dashboard - Reorder shown plugins in sidebar for dashboard * #9683: add Details Panel for MS dashboard [Editing the detail panel tooltip and title] (#9740) * #9683: resolve test comment Description: - edit the detail panel tooltip and shown title and make it generic one - Add translations for the new tooltip * Update web/client/translations/data.it-IT.json --------- Co-authored-by: Matteo V <matteo.velludini@geosolutionsgroup.com> * #9728 fix misalignement issue (#9731) (#9742) * Fix #9729 fixed formats in catalog used in dashboard (#9733) (#9747) --------- Co-authored-by: stefano bovio <stefano.bovio@geosolutionsgroup.com> Co-authored-by: Diego Vargas <diegodevelopero@gmail.com> Co-authored-by: Suren <dsuren1@gmail.com> Co-authored-by: mahmoud adel <58145645+mahmoudadel54@users.noreply.github.com>

Description
Handle functionality of zoom to record in table widgets [Map, Dashboard]
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
#9567
What is the current behavior?
#9567
What is the new behavior?
a zoom icon is added on the left side of each record to allow the zoom operation:
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information