This PR https://github.com/apache/superset/pull/30675 introduced a way to pass urlParams to the async dashboard screenshot generation endpoint. However, edit was an acceptable value which caused the system to take a screenshot in edit mode of a newly created dashboard. This PR fixes that.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N.A.
TESTING INSTRUCTIONS
Create a new dashboard
Download the dashboard screenshot as PDF
The screenshot should not be showing the dashboard in edit mode
SUMMARY
This PR https://github.com/apache/superset/pull/30675 introduced a way to pass
urlParams
to the async dashboard screenshot generation endpoint. However,edit
was an acceptable value which caused the system to take a screenshot in edit mode of a newly created dashboard. This PR fixes that.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N.A.
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION