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

[RAM][Maintenance Window][8.8] Remove Extra Commas and Disable Fetch If No License #156296

Merged

Conversation

JiaweiWu
Copy link
Contributor

@JiaweiWu JiaweiWu commented May 1, 2023

Summary

Remove some extra commas for the maintenance window no license prompt

image

Also, disable fetch if the user does not have the correct license type, this gets rid of the unnecessary error popover since the find maintenance window API will reject these requests.

Checklist

@JiaweiWu JiaweiWu added bug Fixes for quality problems that affect the customer experience backport release_note:skip Skip the PR/issue when compiling release notes impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Alerting/RulesManagement Issues related to the Rules Management UX v8.8.0 v8.9.0 labels May 1, 2023
@JiaweiWu JiaweiWu requested a review from a team as a code owner May 1, 2023 19:35
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@JiaweiWu JiaweiWu changed the title [RAM][Maintenance Window][8.8] Remove Extra Commas and disable fetch if no license [RAM][Maintenance Window][8.8] Remove Extra Commas and Disable Fetch If No License May 1, 2023
Copy link
Contributor

@doakalexi doakalexi left a comment

Choose a reason for hiding this comment

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

LGTM!

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #43 / spaces api without security update can update from the default space "before all" hook in "can update from the default space"

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
alerting 183.2KB 183.3KB +54.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 398 401 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 478 481 +3
total +5

History

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

@JiaweiWu JiaweiWu merged commit f7881f6 into elastic:main May 3, 2023
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 3, 2023
…If No License (elastic#156296)

## Summary

Remove some extra commas for the maintenance window no license prompt

![image](https://user-images.githubusercontent.com/74562234/235515841-1ea1da44-db5c-42c0-9e34-97ad017be474.png)

Also, disable fetch if the user does not have the correct license type,
this gets rid of the unnecessary error popover since the find
maintenance window API will reject these requests.

### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

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

💚 All backports created successfully

Status Branch Result
8.8

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 May 3, 2023
…Fetch If No License (#156296) (#156573)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[RAM][Maintenance Window][8.8] Remove Extra Commas and Disable Fetch
If No License (#156296)](#156296)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Jiawei
Wu","email":"74562234+JiaweiWu@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-05-03T15:35:56Z","message":"[RAM][Maintenance
Window][8.8] Remove Extra Commas and Disable Fetch If No License
(#156296)\n\n## Summary\r\n\r\nRemove some extra commas for the
maintenance window no license prompt
\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/74562234/235515841-1ea1da44-db5c-42c0-9e34-97ad017be474.png)\r\n\r\nAlso,
disable fetch if the user does not have the correct license
type,\r\nthis gets rid of the unnecessary error popover since the
find\r\nmaintenance window API will reject these requests.\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"f7881f6658f1d7c65280482c047785ba5ea5c302","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","backport","release_note:skip","impact:low","Team:ResponseOps","Feature:Alerting/RulesManagement","v8.8.0","v8.9.0"],"number":156296,"url":"https://github.com/elastic/kibana/pull/156296","mergeCommit":{"message":"[RAM][Maintenance
Window][8.8] Remove Extra Commas and Disable Fetch If No License
(#156296)\n\n## Summary\r\n\r\nRemove some extra commas for the
maintenance window no license prompt
\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/74562234/235515841-1ea1da44-db5c-42c0-9e34-97ad017be474.png)\r\n\r\nAlso,
disable fetch if the user does not have the correct license
type,\r\nthis gets rid of the unnecessary error popover since the
find\r\nmaintenance window API will reject these requests.\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"f7881f6658f1d7c65280482c047785ba5ea5c302"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156296","number":156296,"mergeCommit":{"message":"[RAM][Maintenance
Window][8.8] Remove Extra Commas and Disable Fetch If No License
(#156296)\n\n## Summary\r\n\r\nRemove some extra commas for the
maintenance window no license prompt
\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/74562234/235515841-1ea1da44-db5c-42c0-9e34-97ad017be474.png)\r\n\r\nAlso,
disable fetch if the user does not have the correct license
type,\r\nthis gets rid of the unnecessary error popover since the
find\r\nmaintenance window API will reject these requests.\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"f7881f6658f1d7c65280482c047785ba5ea5c302"}}]}]
BACKPORT-->

Co-authored-by: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport bug Fixes for quality problems that affect the customer experience Feature:Alerting/RulesManagement Issues related to the Rules Management UX impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.8.0 v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants