You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "aboulahfad (via GitHub)" <gi...@apache.org> on 2026/04/13 09:49:48 UTC

[I] Superset – Export dashboard via email only includes screenshot of first tab instead of full dashboard [superset]

aboulahfad opened a new issue, #39325:
URL: https://github.com/apache/superset/issues/39325

   ### Bug description
   
   Description: When exporting a dashboard via email as a report in Apache Superset, the generated report only contains a screenshot of the first tab (onglet) of the dashboard rather than the entire dashboard. 
   Steps to reproduce: Open a dashboard with multiple tabs. Schedule or trigger an email report export. Receive the generated report via email. 
   Expected behavior: The report should include all tabs of the dashboard (full dashboard content), not just the first tab. 
   Actual behavior: Only the first tab is captured and included as a screenshot in the report. Impact: Important data from other tabs is missing, making the report incomplete and potentially misleading.
   
   ### Screenshots/recordings
   
   .
   
   ### Superset version
   
   5.0.0
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Superset – Export dashboard via email only includes screenshot of first tab instead of full dashboard [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #39325:
URL: https://github.com/apache/superset/issues/39325#issuecomment-4748557408

   Capturing only the first tab is the default behavior. Full multi-tab report capture is opt-in via the `ALERT_REPORT_TABS` feature flag, and that support landed after the 5.0.0 release you're running. Upgrading and enabling the flag should give you the full dashboard. Closing as working-as-designed, but please reopen if it still misbehaves with the flag enabled on a recent version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Superset – Export dashboard via email only includes screenshot of first tab instead of full dashboard [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #39325:
URL: https://github.com/apache/superset/issues/39325#issuecomment-4235481372

   <!-- Answer -->
   This is a known behavior — by default, Superset only captures the first tab of a multi-tab dashboard in email reports. To capture all tabs, you need to enable the **`ALERT_REPORT_TABS`** feature flag in your Superset configuration [[1]](https://github.com/apache/superset/discussions/37549#discussioncomment-15639461):
   
   ```python
   FEATURE_FLAGS = {
       "ALERT_REPORTS": True,
       "ALERT_REPORT_TABS": True,
   }
   ```
   
   Note the exact flag name: `ALERT_REPORT_TABS` (both words singular), not `ALERT_REPORTS_TABS` [[2]](https://github.com/apache/superset/issues/37864).
   
   When enabled, the system generates a separate URL for each tab via the permalink mechanism, captures a screenshot of each one sequentially, and stitches them into a multi-page PDF [[3]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/commands/report/execute.py#L308-L368) [[4]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/utils/pdf.py#L30-L48).
   
   **However**, there's an important caveat: full multi-tab capture support was merged **after** Superset 6.0.0 [[1]](https://github.com/apache/superset/discussions/37549#discussioncomment-15639461). Since you're on **5.0.0**, this feature flag may not be available or fully functional in your version. Upgrading to a newer release would likely be necessary to get complete multi-tab report support.
   
   If upgrading isn't an option right away, a workaround would be to create separate reports for each tab individually.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=brand-link).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-great_response#message_id=c621c2b3-a52c-475f-bf11-e723c94cebb1&feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-irrelevant_answer#message_id=c621c2b3-a52c-475f-bf11-e723c94cebb1&feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-incorrect_sources#message_id=c621c2b3-a52c-475f-bf11-e723c94cebb1&feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-too_verbose#message_id=c621c2b3-a52c-475f-bf11-e723c94cebb1&feedback_type=too_verbose) | [Hallucination](https://
 app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-hallucination#message_id=c621c2b3-a52c-475f-bf11-e723c94cebb1&feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-bug_report#message_id=c621c2b3-a52c-475f-bf11-e723c94cebb1&feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-other#message_id=c621c2b3-a52c-475f-bf11-e723c94cebb1&feedback_type=other)</sup>
   [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=chat-badge)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20a%20known%20behavior%20%E2%80%94%20by%20default%2C%20Superset%20only%20captures%20the%20first%20tab%20of%20a%20multi-tab%20dashboard%20in%20email%20reports.%20To%20capture%20all%20tabs%2C%20you%20need%20to%20enable%20the%20%2A%2A%60ALERT_REPORT_TABS%60%2A%2A%20feature%20flag%20in%20your%20Superset%20configuration%20%5B%5B1%5D%5D%28https%3A//github.com/apache/superset/discussions/37549%23discussioncomment-15639461%29%3A%0A%0A%60%60%60python%0AFEATURE_FLAGS%20%3D%20%7B%0A%20%20%20%20%22ALERT_REPORTS%22%3A%20True%2C%0A%20%20%20%20%22ALERT_REPORT_TABS%22%3A%20True%2C%0A%7D%0A%60%60%60%0A%0ANote%20the%20exact%20flag%20name%3A%20%60ALERT_REPORT_TABS%60%20%28both%20wor
 ds%20singular%29%2C%20not%20%60ALERT_REPORTS_TABS%60%20%5B%5B2%5D%5D%28https%3A//github.com/apache/superset/issues/37864%29.%0A%0AWhen%20enabled%2C%20the%20system%20generates%20a%20separate%20URL%20for%20each%20tab%20via%20the%20permalink%20mechanism%2C%20captures%20a%20screenshot%20of%20each%20one%20sequentially%2C%20and%20stitches%20them%20into%20a%20multi-page%20PDF%20%5B%5B3%5D%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/commands/report/execute.py%23L308-L368%29%20%5B%5B4%5D%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/utils/pdf.py%23L30-L48%29.%0A%0A%2A%2AHowever%2A%2A%2C%20there%27s%20an%20important%20caveat%3A%20full%20multi-tab%20capture%20support%20was%20merged%20%2A%2Aafter%2A%2A%20Superset%206.0.0%20%5B%5B1%5D%5D%28https%3A//github.com/apache/superset/discussions/37549%23discussioncomment-15639461%29.%20Since%20you%27re%20on%20%2A%2A5.0.0%2A%2A%2C%20this%20feature%20fl
 ag%20may%20not%20be%20available%20or%20fully%20functional%20in%20your%20version.%20Upgrading%20to%20a%20newer%20release%20would%20likely%20be%20necessary%20to%20get%20complete%20multi-tab%20report%20support.%0A%0AIf%20upgrading%20isn%27t%20an%20option%20right%20away%2C%20a%20workaround%20would%20be%20to%20create%20separate%20reports%20for%20each%20tab%20individually.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=join-discord)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/39325)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Superset – Export dashboard via email only includes screenshot of first tab instead of full dashboard [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #39325: Superset – Export dashboard via email only includes screenshot of first tab instead of full dashboard
URL: https://github.com/apache/superset/issues/39325


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org