ShauryaaIBM commented on code in PR #43762:
URL: https://github.com/apache/superset/pull/43762#discussion_r3931804836
##########
superset-frontend/src/features/alerts/AlertReportModal.tsx:
##########
@@ -985,6 +1071,18 @@ const AlertReportModal:
FunctionComponent<AlertReportModalProps> = ({
extra: contentType === ContentType.Dashboard ? currentAlert?.extra : {},
};
+ // Strip retry fields from the payload when the feature flag is off so
+ // that users cannot silently configure a retry policy the server will
+ // discard. When the flag is enabled the error-handling UI panel is
+ // shown and the user controls those fields explicitly.
+ if (!isFeatureEnabled(FeatureFlag.AlertReportsRetry)) {
Review Comment:
Fixed in e861d0f. AlertReportsRetry = 'ALERT_REPORTS_RETRY' has been
restored to the FeatureFlag enum in featureFlags.ts, placed alphabetically
between AlertReportsFilter and AllowFullCsvExport. Both references in
AlertReportModal.tsx (the isFeatureEnabled guard and the error-handling panel)
now compile. The new DashboardReportsBrowserPrintPdf entry is untouched.
--
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]