Skip to content
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

Dashboards - no longer shows counter widgets #10708 #10714

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

rowheat02
Copy link
Contributor

Description

Last time in a174c99
Double API fetch was avoided by checking the viewPort and mapSync.
But Widgets can be synced to table widget also.
So now initial API fetch is avoided when viewport is null and widget is synced to mapWidget.

Please check if the PR fulfills these requirements

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

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

#10708

What is the current behavior?

#10708
Widget synced with table was invisible

What is the new behavior?

Widgets synced with the table are visible. Double API call avoided for the widgets synced to map.

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

@rowheat02 rowheat02 added the bug label Dec 4, 2024
@rowheat02 rowheat02 added this to the 2024.02.02 milestone Dec 4, 2024
@rowheat02 rowheat02 self-assigned this Dec 4, 2024
@rowheat02 rowheat02 linked an issue Dec 4, 2024 that may be closed by this pull request
1 task
@tdipisa tdipisa requested a review from offtherailz December 4, 2024 13:59
@tdipisa tdipisa added Internal BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch labels Dec 4, 2024
@offtherailz offtherailz merged commit a40fb66 into geosolutions-it:master Dec 4, 2024
6 checks passed
@offtherailz
Copy link
Member

@ElenaGallo, could you please test this on DEV ? Thank you

@ElenaGallo
Copy link
Contributor

Test passed, @rowheat02 please backport to 2024.02.xx. Thanks

rowheat02 added a commit to rowheat02/MapStore2 that referenced this pull request Dec 5, 2024
…geosolutions-it#10708 (geosolutions-it#10714)

* fix: allow api call for viewport null and widgets not synced with map widget

* fix: check mapSync dependencyMap for standard map also
tdipisa pushed a commit that referenced this pull request Dec 5, 2024
…#10708 (#10714) (#10720)

* fix: allow api call for viewport null and widgets not synced with map widget

* fix: check mapSync dependencyMap for standard map also
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch bug Internal Regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dashboards - no longer shows counter widgets
4 participants