Skip to content

Fix the dashboard save, legend dependency and maximize issue#11715

Merged
allyoucanmap merged 6 commits intogeosolutions-it:masterfrom
subashtiwari1010:fix/legend-widget-issue
Dec 4, 2025
Merged

Fix the dashboard save, legend dependency and maximize issue#11715
allyoucanmap merged 6 commits intogeosolutions-it:masterfrom
subashtiwari1010:fix/legend-widget-issue

Conversation

@subashtiwari1010
Copy link
Copy Markdown
Contributor

@subashtiwari1010 subashtiwari1010 commented Nov 21, 2025

Description

This PR fixes the dependency issue for the legend widget after the map is added in the tabbed view dashboard. It fixes the issue of maximizing the widget. It also updates the functionality for the tabbed dashboard save.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

What is the current behavior?
The legend widget is not available in the Add widget modal due to the dependency issue in the tabbed view dashboard. The maximizing widget function does not display any widgets. The dashboard save check also does not work when new view is added to the dashboard.
#11527

What is the new behavior?
The legend widget is now accessible in the Add widget modal also the widget maximize functionality works tab wise separately. It also properly updates the condition to display the pending changes when the changes have been made in the layouts of the tabbed dashboard.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

@subashtiwari1010 subashtiwari1010 added this to the 2026.01.00 milestone Nov 21, 2025
@subashtiwari1010 subashtiwari1010 linked an issue Nov 21, 2025 that may be closed by this pull request
3 tasks
@subashtiwari1010 subashtiwari1010 marked this pull request as ready for review November 21, 2025 15:26
@subashtiwari1010 subashtiwari1010 changed the title Fix the legend dependency and maximize issue Fix the dashboard save, legend dependency and maximize issue Nov 24, 2025
}),
withStateHandlers(
({ pathname }) => ({
active: isNaN(pathname?.substr(-1))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@subashtiwari1010 Why we are using here the pathname?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@allyoucanmap This is used to display the modal to configure the View settings for the initial load.

@allyoucanmap allyoucanmap merged commit 75fe0d3 into geosolutions-it:master Dec 4, 2025
10 checks passed
@allyoucanmap
Copy link
Copy Markdown
Contributor

@ElenaGallo please test this fix on dev, thanks

dsuren1 added a commit that referenced this pull request Dec 4, 2025
…request

* commit 'a0da62e93ec7c7f9049c3343e410d4bea1db33c1':
  Update User Guide - Itinerary plugin (#11768)
  Fix the dashboard save, legend dependency and maximize issue (#11715)
  Update User Guide - Isochrone plugin (#11769)
  #11525 - Improve Maps in Dashboards (#11625)
  Update User Guide - Cascading search filter (#11766)
  Update User Guide - Show the current time and Null values options on Chart Widget (#11764)
  Fix #11754 - Moved assemply to bin-war module (#11761)
  Update User Guide - 3D Tiles imagery layers (#11758)
  Update User Guide - Update Tags menu section (#11756)
  Fix #11748 Access Restrictions for Maps Created from Unadvertised Contexts (#11752)
mahesh-wor pushed a commit to mahesh-wor/MapStore2 that referenced this pull request Dec 17, 2025
…tions-it#11715)

---------

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement layout for tabbed view

3 participants