Skip to content

Fix edit alert flyout to update initialAlert after edit#65359

Merged
mikecote merged 3 commits intoelastic:masterfrom
mikecote:alerting/fix-edit-flyout-ui-cache
May 9, 2020
Merged

Fix edit alert flyout to update initialAlert after edit#65359
mikecote merged 3 commits intoelastic:masterfrom
mikecote:alerting/fix-edit-flyout-ui-cache

Conversation

@mikecote
Copy link
Copy Markdown
Contributor

@mikecote mikecote commented May 5, 2020

Fixes #65304

In this PR, I'm making the alert details view use a new instance of the EditAlert component for each edit. This fixes the EditAlert component from not getting a new initialAlert after the alert has already been edited.

@mikecote mikecote added Feature:Alerting v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v7.8.0 labels May 5, 2020
@mikecote mikecote self-assigned this May 5, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@mikecote mikecote marked this pull request as ready for review May 6, 2020 13:32
@mikecote mikecote requested a review from a team as a code owner May 6, 2020 13:32
Copy link
Copy Markdown
Contributor

@YulNaumenko YulNaumenko left a comment

Choose a reason for hiding this comment

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

LGTM

@mikecote mikecote added the v7.9.0 label May 7, 2020
@mikecote
Copy link
Copy Markdown
Contributor Author

mikecote commented May 8, 2020

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

user doesn't have permission to update head repository

Copy link
Copy Markdown
Contributor

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

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

LGTM; code works as expected

@mikecote
Copy link
Copy Markdown
Contributor Author

mikecote commented May 8, 2020

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

user doesn't have permission to update head repository

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

@mikecote mikecote merged commit 5e5ad19 into elastic:master May 9, 2020
mikecote added a commit to mikecote/kibana that referenced this pull request May 9, 2020
mikecote added a commit to mikecote/kibana that referenced this pull request May 9, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request May 11, 2020
* master: (58 commits)
  [Drilldowns][chore] import dashboard url generator from plugin contract (elastic#64628)
  fix double flyouts in add panel flow (elastic#65861)
  Point 7.x to 7.9.0 in .backportrc.json
  Mount ui/new_platform applications in same div structure as Core (elastic#63930)
  [Uptime] Settings threshold validation (elastic#65454)
  Fix edit alert flyout to update initialAlert after edit (elastic#65359)
  Fix anomalies display on focused APM service map (elastic#65882)
  [SIEM][Detection Engine] Increases the template limit for ECS mappings
  [SIEM][CASE] Moves functional tests from "legacyEs" to "Es" (elastic#65851)
  [Metrics UI] Fix p95/p99 charts and alerting error (elastic#65579)
  [ML] Add job timing stats to anomaly jobs (elastic#65696)
  restore index pattern management data-test-subj's (elastic#64697)
  [Discover] Prevent whitespace wrapping of doc table header (elastic#52861)
  [SIEM] Fixes a CSS issue with Timeline field truncation (elastic#65789)
  Skipping failing tests. elastic#65867 elastic#65866 elastic#65865
  [Discover] Deangularize the hits counter and create a react component (elastic#65631)
  Tsvb less update (elastic#65467)
  [TSVB] Remove remaining lodash.set usage (elastic#65846)
  [Uptime] Add `a11y` tests (elastic#65514)
  [Uptime] Enable loading on monitor list (elastic#65670)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v7.8.0 v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alert Edit flyout doesn't refresh UI data after save

5 participants