Skip to content

docs(explore): document show_download param for standalone chart embeds - #43906

Open
rusackas wants to merge 1 commit into
masterfrom
docs/pr-42238-needs-docs-feat-explore-add-download-con
Open

docs(explore): document show_download param for standalone chart embeds#43906
rusackas wants to merge 1 commit into
masterfrom
docs/pr-42238-needs-docs-feat-explore-add-download-con

Conversation

@rusackas

@rusackas rusackas commented Sep 4, 2026

Copy link
Copy Markdown
Member

SUMMARY

#42238 added a show_download URL param for standalone Explore chart permalinks but didn't document it anywhere. Adding a short section to the embedding guide covering standalone chart URLs (/explore/p/<key>/?standalone=1) and the new show_download param, since there wasn't an existing home for it.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A, docs only.

TESTING INSTRUCTIONS

Read the new "Embedding a Single Chart" section in docs/docs/using-superset/embedding.mdx.

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

PR #42238 added a show_download URL param for standalone Explore chart
permalinks but didn't document it. Add a section to the embedding guide
covering standalone chart URLs and the new param.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@bito-code-review

bito-code-review Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Code Review Agent Run #999258

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: 9939c8f..9939c8f
    • docs/docs/using-superset/embedding.mdx
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@github-actions github-actions Bot added doc Namespace | Anything related to documentation preset-io labels Sep 4, 2026
@netlify

netlify Bot commented Sep 4, 2026

Copy link
Copy Markdown

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 9939c8f
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a9b2dd7bbbb070008521d40
😎 Deploy Preview https://deploy-preview-43906--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

| `standalone` | `0`, `1` | `0`: normal Explore view; `1`: hide the Explore header and controls |
| `show_download` | `0`, `1` | Show a compact download control (CSV, JSON, Excel) on the standalone chart |

`show_download` is opt-in and has no effect outside of `standalone=1`. The download control still respects the viewer's `can_download` permission — it's hidden for users who lack it even when the parameter is set.

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.

can_download is internal Explore state, not a grantable permission: it is derived from can_export_data with granular export controls or can_csv otherwise. An administrator who looks for can_download will still not expose this control—could this name the actual RBAC permissions and their feature-flag behavior?


`show_download` is opt-in and has no effect outside of `standalone=1`. The download control still respects the viewer's `can_download` permission — it's hidden for users who lack it even when the parameter is set.

Unlike dashboard embedding above, this standalone chart URL is a plain page load rather than an iframe embed managed by `@superset-ui/embedded-sdk`, so it doesn't go through guest tokens or the `dashboardUiConfig` options.

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.

Explore's Embed Code generates an <iframe> whose src is this permalink with standalone=1. Calling this a plain page load can lead integrators to omit the supported iframe embed—could this distinguish the session-authenticated iframe flow from the Embedded SDK/guest-token flow and show the iframe form?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Namespace | Anything related to documentation preset-io size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants