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

[Alerting] Implemented ability to edit an alert from the alert details page #64273

Merged

Conversation

YulNaumenko
Copy link
Contributor

Added Edit button on Alert detail page (visible if there are save capabilities):
img1
which open edit alert flyout:
img1
Resolve #61017

@YulNaumenko YulNaumenko added Feature:Alerting v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.8.0 labels Apr 22, 2020
@YulNaumenko YulNaumenko requested a review from a team as a code owner April 22, 2020 23:51
@YulNaumenko YulNaumenko self-assigned this Apr 22, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@gmmorris gmmorris self-requested a review April 27, 2020 15:23
Copy link
Contributor

@gmmorris gmmorris left a comment

Choose a reason for hiding this comment

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

LGTM and works as advertised :)

Comment on lines +168 to +172
const alert = await alerting.alerts.createAlertWithActions(
testRunUuid,
'.index-threshold',
params
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Good approach, should definitely speed things up. 👍

…button-from-details

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@mikecote mikecote self-requested a review April 27, 2020 17:48
Copy link
Contributor

@mikecote mikecote left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

There's a bug in the UI if you change values, cancel and re-open the edit flyout, the values don't clear. Similar to #60328.

@YulNaumenko
Copy link
Contributor Author

LGTM! 👍

There's a bug in the UI if you change values, cancel and re-open the edit flyout, the values don't clear. Similar to #60328.

Yeah, it should be fixed by the same PR.

@YulNaumenko YulNaumenko merged commit 75fa843 into elastic:master Apr 27, 2020
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Apr 27, 2020
…s page (elastic#64273)

* Implemented ability to edit an alert from the alert details page

* Fixed refresh and tests

* fixed jest tests
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Apr 27, 2020
…s page (elastic#64273)

* Implemented ability to edit an alert from the alert details page

* Fixed refresh and tests

* fixed jest tests
YulNaumenko added a commit that referenced this pull request Apr 27, 2020
…s page (#64273) (#64579)

* Implemented ability to edit an alert from the alert details page

* Fixed refresh and tests

* fixed jest tests
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request May 4, 2020
…s page (elastic#64273)

* Implemented ability to edit an alert from the alert details page

* Fixed refresh and tests

* fixed jest tests
# Conflicts:
#	x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_instances_route.tsx
#	x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request May 4, 2020
…s page (elastic#64273)

* Implemented ability to edit an alert from the alert details page

* Fixed refresh and tests

* fixed jest tests
# Conflicts:
#	x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_instances_route.tsx
#	x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to edit an alert from the alert details page
5 participants