Skip to content

fix(dashboard): Include urlParams in the screenshot generation#30675

Merged
Vitor-Avila merged 1 commit into
masterfrom
fix/include-urlParam-dashboard-download
Oct 23, 2024
Merged

fix(dashboard): Include urlParams in the screenshot generation#30675
Vitor-Avila merged 1 commit into
masterfrom
fix/include-urlParam-dashboard-download

Conversation

@Vitor-Avila

Copy link
Copy Markdown
Contributor

SUMMARY

The /api/v1/dashboard/{{id}}/cache_dashboard_screenshot/ API endpoint accepts a urlParam configuration, however the client was not including it in the payload.

This PR adds the urlParam configuration to the request payload.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before
image

After
image

TESTING INSTRUCTIONS

  1. Access a dashboard with a URL param set.
  2. Validate that the URL param is included in the payload to create the screenshot.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@dosubot dosubot Bot added the dashboard Namespace | Anything related to the Dashboard label Oct 22, 2024

@Antonio-RiveroMartnez Antonio-RiveroMartnez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@michael-s-molina michael-s-molina added the v4.1 Label added by the release manager to track PRs to be included in the 4.1 branch label Oct 23, 2024
@Vitor-Avila
Vitor-Avila merged commit 16981d6 into master Oct 23, 2024
sadpandajoe pushed a commit that referenced this pull request Oct 28, 2024
@github-actions github-actions Bot added 🍒 4.1.0 Cherry-picked to 4.1.0 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels labels Nov 14, 2024
@mistercrunch mistercrunch added the 🍒 4.1.1 Cherry-picked to 4.1.1 label Nov 27, 2024
@github-actions github-actions Bot added the 🍒 4.1.2 Cherry-picked to 4.1.2 label Apr 1, 2025
@mistercrunch mistercrunch added 🍒 4.1.3 Cherry-picked to 4.1.3 🚢 5.0.0 First shipped in 5.0.0 labels Jul 29, 2025
@rusackas
rusackas deleted the fix/include-urlParam-dashboard-download branch March 6, 2026 17:02
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels dashboard Namespace | Anything related to the Dashboard size/XS v4.1 Label added by the release manager to track PRs to be included in the 4.1 branch 🍒 4.1.0 Cherry-picked to 4.1.0 🍒 4.1.1 Cherry-picked to 4.1.1 🍒 4.1.2 Cherry-picked to 4.1.2 🍒 4.1.3 Cherry-picked to 4.1.3 🍒 4.1.4 🚢 5.0.0 First shipped in 5.0.0

Projects

No open projects
Status: Cherried

Development

Successfully merging this pull request may close these issues.

4 participants