Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cloud Security] Optimized cloud svg on empty state #195124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JordanSh
Copy link
Contributor

@JordanSh JordanSh commented Oct 4, 2024

Summary

The cloud.svg file was optimized from 6k lines to 300, and from about 600k to 160k.
the large size caused this svg to have about 0.3-0.5 secs of initial load time, its much faster now but small flickers can still occur.

image

used this tool: https://svgomg.net/

@JordanSh JordanSh added release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) 8.16 candidate labels Oct 4, 2024
@JordanSh JordanSh self-assigned this Oct 4, 2024
@JordanSh JordanSh requested a review from a team as a code owner October 4, 2024 16:56
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

miscellaneous assets size

id before after diff
cloudSecurityPosture 2.7MB 1.5MB -1.2MB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @JordanSh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.16 candidate backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants