diff --git a/embed-demo.html b/embed-demo.html new file mode 100644 index 000000000000..1a6e46e9118e --- /dev/null +++ b/embed-demo.html @@ -0,0 +1,110 @@ + + +
Chart will appear here
+ {t( + 'This chart is ready to embed. In your application, pass the following id to the SDK:', + )} + + {embedded.uuid} +
{embedded.uuid}
+ {t( + 'Configure this chart to embed it into an external web application.', + )} +
+ {t('For further instructions, consult the')}{' '} + + {t('Superset Embedded SDK documentation.')} + +
copyToClipboard(uuid)} + role="button" + tabIndex={0} + onKeyDown={e => e.key === 'Enter' && copyToClipboard(uuid)} + > + {uuid.substring(0, 8)}... +