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

fix: infinite spinner when opening the interpretations modal while viewing a visualization #3283

Merged
merged 4 commits into from
Nov 7, 2024

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Nov 7, 2024

Fixes DHIS2-18369

The InterpretationsModal callback onResponsesReceived was not being called after a recent fix introduced its own onResponsesReceived callback

TODO

  • Cypress tests
  • Manual testing
  • Retest original bug fix DHIS2-16793
  • Dashboard tested

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Nov 7, 2024

🚀 Deployed on https://pr-3283.data-visualizer.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify November 7, 2024 08:33 Inactive
Copy link
Contributor

@HendrikThePendric HendrikThePendric left a comment

Choose a reason for hiding this comment

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

Please change how the default value for onResponsesReceived is set. Apart from that everything looks good, so I will approve already,

@dhis2-bot dhis2-bot temporarily deployed to netlify November 7, 2024 11:44 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 7, 2024 12:08 Inactive
@HendrikThePendric
Copy link
Contributor

HendrikThePendric commented Nov 7, 2024

So essentially this PR fixes a bug in which I introduced when working on DHIS2-16793, and @jenniferarnesen asked me to double check that the current PR did not cause any problems with the original bugfix. I can hereby confirm it doesn't, see below:

Screenshot 2024-11-07 at 13 53 11

Copy link
Contributor

@HendrikThePendric HendrikThePendric left a comment

Choose a reason for hiding this comment

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

We've discussed the implementation in detail and I verified that the original bug is still solved. APPROVED.

@dhis2-bot dhis2-bot temporarily deployed to netlify November 7, 2024 15:14 Inactive
@jenniferarnesen jenniferarnesen merged commit 403adbc into master Nov 7, 2024
22 checks passed
@jenniferarnesen jenniferarnesen deleted the fix/interpretations-modal-doesnt-open branch November 7, 2024 15:39
dhis2-bot added a commit that referenced this pull request Nov 7, 2024
## [100.8.4](v100.8.3...v100.8.4) (2024-11-07)

### Bug Fixes

* infinite spinner when opening the interpretations modal while viewing a visualization ([#3283](#3283)) ([403adbc](403adbc))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.8.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants