[FE] Implement SVG export for project security dashboard
Add functionality to send SVG data as payload in requests to the BE API.
Reference spike for more info: !192439 (closed)
const svgUrl = this.echartsInstance.getDataURL({
type: 'svg',
excludeComponents: ['toolbox', 'dataZoom'],
});
Requirement
- Payload: SVG, others (need to double check with BE API implementation)
- Make request
- Add error alert if request fails
Question
- Once it's confirmed we're taking the email path -- are we going to something similar to this? https://gitlab.com/gitlab-org/gitlab/-/issues/537067+
Edited by Samantha Ming