mirror of
https://github.com/apache/superset.git
synced 2026-08-12 11:11:01 +00:00
feat: add force option to report screenshots (#17853)
* Update existing tests * Add backend test * feat: add force option to report screenshots * Add tests * Rebase fixes * Do not force screenshot on dashboard alerts
This commit is contained in:
@@ -71,6 +71,7 @@ export interface ReportObject {
|
||||
validator_type: string;
|
||||
working_timeout: number;
|
||||
creation_method: string;
|
||||
force_screenshot: boolean;
|
||||
}
|
||||
|
||||
interface ChartObject {
|
||||
@@ -227,6 +228,7 @@ const ReportModal: FunctionComponent<ReportProps> = ({
|
||||
active: true,
|
||||
report_format: currentReport?.report_format || defaultNotificationFormat,
|
||||
timezone: currentReport?.timezone,
|
||||
force_screenshot: false,
|
||||
};
|
||||
|
||||
if (isEditMode) {
|
||||
|
||||
Reference in New Issue
Block a user