Sharing: Export dashboard as image (#104207)
Co-authored-by: AgnesToulet <35176601+AgnesToulet@users.noreply.github.com>
This commit is contained in:
co-authored by
AgnesToulet
parent
a977aa9d03
commit
b691b3288d
@@ -1362,6 +1362,63 @@ export const versionedComponents = {
|
||||
'11.5.0': 'data-testid portal-container',
|
||||
},
|
||||
},
|
||||
ExportImage: {
|
||||
formatOptions: {
|
||||
container: {
|
||||
['12.1.0']: 'data-testid export-image-format-options',
|
||||
},
|
||||
png: {
|
||||
['12.1.0']: 'data-testid export-image-format-png',
|
||||
},
|
||||
jpg: {
|
||||
['12.1.0']: 'data-testid export-image-format-jpg',
|
||||
},
|
||||
},
|
||||
rendererAlert: {
|
||||
container: {
|
||||
['12.1.0']: 'data-testid export-image-renderer-alert',
|
||||
},
|
||||
title: {
|
||||
['12.1.0']: 'data-testid export-image-renderer-alert-title',
|
||||
},
|
||||
description: {
|
||||
['12.1.0']: 'data-testid export-image-renderer-alert-description',
|
||||
},
|
||||
},
|
||||
buttons: {
|
||||
generate: {
|
||||
['12.1.0']: 'data-testid export-image-generate-button',
|
||||
},
|
||||
download: {
|
||||
['12.1.0']: 'data-testid export-image-download-button',
|
||||
},
|
||||
cancel: {
|
||||
['12.1.0']: 'data-testid export-image-cancel-button',
|
||||
},
|
||||
},
|
||||
preview: {
|
||||
container: {
|
||||
['12.1.0']: 'data-testid export-image-preview-container',
|
||||
},
|
||||
loading: {
|
||||
['12.1.0']: 'data-testid export-image-preview-loading',
|
||||
},
|
||||
image: {
|
||||
['12.1.0']: 'data-testid export-image-preview',
|
||||
},
|
||||
error: {
|
||||
container: {
|
||||
['12.1.0']: 'data-testid export-image-error',
|
||||
},
|
||||
title: {
|
||||
['12.1.0']: 'data-testid export-image-error-title',
|
||||
},
|
||||
message: {
|
||||
['12.1.0']: 'data-testid export-image-error-message',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
} satisfies VersionedSelectorGroup;
|
||||
|
||||
export type VersionedComponents = typeof versionedComponents;
|
||||
|
||||
@@ -227,6 +227,9 @@ export const versionedPages = {
|
||||
exportAsJson: {
|
||||
'11.2.0': 'data-testid new export button export as json',
|
||||
},
|
||||
exportAsImage: {
|
||||
'12.1.0': 'data-testid new export button export as image',
|
||||
},
|
||||
},
|
||||
},
|
||||
playlistControls: {
|
||||
|
||||
Reference in New Issue
Block a user