dosubot[bot] commented on issue #33083: URL: https://github.com/apache/superset/issues/33083#issuecomment-2792220314
<!-- Answer --> The issue you're experiencing with the missing "send as CSV / PDF" options in Alerts between versions 4.1.0 and 4.1.1, 4.1.2, and 5.0.0rc2 might be related to changes in the conditional logic for displaying the 'Content Format' dropdown. The dropdown is displayed based on the `formatOptionEnabled` variable, which is set to `true` if either the `FeatureFlag.AlertsAttachReports` is enabled or if `isReport` is `true` <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/alerts/AlertReportModal.tsx)</sup>. To address this issue, you might want to check if the `FeatureFlag.AlertsAttachReports` is enabled in your configuration. If this feature flag is not enabled, the 'Content Format' dropdown might not appear for alerts. Additionally, ensure that the `isReport` variable is correctly set in your context, as it influences the display of the dropdown. If these configurations are correct and the issue persists, it might be necessary to investigate further into the changes made between these versions, particularly in the `AlertReportModal.tsx` file, to identify any modifications that could have affected the availability of these options. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/db0c68bc-f3de-4799-87b4-9180486d3f37?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/db0c68bc-f3de-4799-87b4-9180486d3f37?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/db0c68bc-f3de-4799-87b4-9180486d3f37?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/db0c68bc-f3de-4799-87b4-9180486d3f37?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/db0c68bc-f3de-4799-87b4-9180486d3f37?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/db0c68bc-f3de-4799-87b4-9180486d3f37?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/db0c68bc-f3de-4799-87b4-9180486d3f37?feedback_type=other)</sup> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
