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

[ML] Anomaly detection: Adds spacer below split card chart in job wizard #199708

Merged

Conversation

jgowdyelastic
Copy link
Member

@jgowdyelastic jgowdyelastic commented Nov 11, 2024

Adds a spacer below the chart so the Add metric label doesn't appear like it is underneath the cards due to their drop shadow.

Recommend viewing the diff with whitespace hidden as the change looks larger than it actually is.

image

vs

image

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ⚡

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@peteharverson peteharverson changed the title [ML] Adding spacer below split card chart [ML] Anomaly detection: Adds spacer below split card chart in job wizard Nov 12, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 4.7MB 4.7MB +85.0B

History

cc @jgowdyelastic

@jgowdyelastic jgowdyelastic merged commit c58989c into elastic:main Nov 12, 2024
22 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11801248811

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 12, 2024
…ard (elastic#199708)

Adds a spacer below the chart so the `Add metric` label doesn't appear
like it is underneath the cards due to their drop shadow.

Recommend viewing the diff with whitespace hidden as the change looks
larger than it actually is.

<img width="1064" alt="image"
src="https://github.com/user-attachments/assets/90e460c4-5ad6-4f4b-bf9f-7163d740747f">

vs

<img width="1057" alt="image"
src="https://github.com/user-attachments/assets/bb8d7bc3-17bb-428d-a8a4-c515a5845025">

(cherry picked from commit c58989c)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 12, 2024
…ob wizard (#199708) (#199822)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ML] Anomaly detection: Adds spacer below split card chart in job
wizard (#199708)](#199708)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2024-11-12T16:13:29Z","message":"[ML]
Anomaly detection: Adds spacer below split card chart in job wizard
(#199708)\n\nAdds a spacer below the chart so the `Add metric` label
doesn't appear\r\nlike it is underneath the cards due to their drop
shadow.\r\n\r\nRecommend viewing the diff with whitespace hidden as the
change looks\r\nlarger than it actually is.\r\n\r\n<img width=\"1064\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/90e460c4-5ad6-4f4b-bf9f-7163d740747f\">\r\n\r\nvs
\r\n\r\n<img width=\"1057\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/bb8d7bc3-17bb-428d-a8a4-c515a5845025\">","sha":"c58989c41976c50ae097fbca92b4c3b9076c3301","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement",":ml","Feature:Anomaly
Detection","v9.0.0","backport:version","v8.17.0"],"title":"[ML] Anomaly
detection: Adds spacer below split card chart in job
wizard","number":199708,"url":"https://github.com/elastic/kibana/pull/199708","mergeCommit":{"message":"[ML]
Anomaly detection: Adds spacer below split card chart in job wizard
(#199708)\n\nAdds a spacer below the chart so the `Add metric` label
doesn't appear\r\nlike it is underneath the cards due to their drop
shadow.\r\n\r\nRecommend viewing the diff with whitespace hidden as the
change looks\r\nlarger than it actually is.\r\n\r\n<img width=\"1064\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/90e460c4-5ad6-4f4b-bf9f-7163d740747f\">\r\n\r\nvs
\r\n\r\n<img width=\"1057\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/bb8d7bc3-17bb-428d-a8a4-c515a5845025\">","sha":"c58989c41976c50ae097fbca92b4c3b9076c3301"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199708","number":199708,"mergeCommit":{"message":"[ML]
Anomaly detection: Adds spacer below split card chart in job wizard
(#199708)\n\nAdds a spacer below the chart so the `Add metric` label
doesn't appear\r\nlike it is underneath the cards due to their drop
shadow.\r\n\r\nRecommend viewing the diff with whitespace hidden as the
change looks\r\nlarger than it actually is.\r\n\r\n<img width=\"1064\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/90e460c4-5ad6-4f4b-bf9f-7163d740747f\">\r\n\r\nvs
\r\n\r\n<img width=\"1057\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/bb8d7bc3-17bb-428d-a8a4-c515a5845025\">","sha":"c58989c41976c50ae097fbca92b4c3b9076c3301"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: James Gowdy <jgowdy@elastic.co>
tkajtoch pushed a commit to tkajtoch/kibana that referenced this pull request Nov 12, 2024
…ard (elastic#199708)

Adds a spacer below the chart so the `Add metric` label doesn't appear
like it is underneath the cards due to their drop shadow.

Recommend viewing the diff with whitespace hidden as the change looks
larger than it actually is.

<img width="1064" alt="image"
src="https://github.com/user-attachments/assets/90e460c4-5ad6-4f4b-bf9f-7163d740747f">

vs 

<img width="1057" alt="image"
src="https://github.com/user-attachments/assets/bb8d7bc3-17bb-428d-a8a4-c515a5845025">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants