data-visualizer-app
data-visualizer-app copied to clipboard
fix: fetch latest visualization before renaming so not to overwrite newer changes
Fixes DHIS2-19506
Description
Fetch the visualization and apply name and description to that object, which is then used in the rename PUT request. In the app, only name and description are updated, which means the app's copy of the visualization could still be out of date. But that's a different problem that needs a different solution.
Quality checklist
- [ ] Dashboard tested N/A
- [x] Tests added (Cypress and/or Jest)
- [ ] Docs added N/A
- [ ] Global shell tested N/A
- [ ] d2-ci dependency replaced Analytics 1777
- [ ] Tester sign-off (name)
🚀 Deployed on https://pr-3386.data-visualizer.netlify.dhis2.org
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
26.5% Duplication on New Code
:tada: This PR is included in version 101.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: