Skip to content

[RAC] Enable workflow status filtering#108215

Merged
afgomez merged 24 commits intoelastic:masterfrom
afgomez:107629-workflow-status-filters
Aug 20, 2021
Merged

[RAC] Enable workflow status filtering#108215
afgomez merged 24 commits intoelastic:masterfrom
afgomez:107629-workflow-status-filters

Conversation

@afgomez
Copy link
Copy Markdown
Contributor

@afgomez afgomez commented Aug 11, 2021

Closes #107629
Closes #107650

Summary

Implements the following items:

  • Move workflow status button group to left side above trend chart and change to sm, primary EuiButtonGroup
  • Workflow button group statuses should be Open, Acknowledged, Closed
  • Change "status" to "workflow status" to keep this clearly distinguished from "system status" (which is sometimes called "alert status" in the UI)
  • Sets each alert document's workflow status to "open"

The following item is not straightforward and will be implemented in a different PR

  • Move Last updated... to same line as button group and right align

@afgomez afgomez added v8.0.0 Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed Feature:RAC label obsolete v7.15.0 labels Aug 11, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@jasonrhodes
Copy link
Copy Markdown
Member

@elasticmachine merge upstream

@afgomez afgomez requested review from a team August 13, 2021 02:55
@afgomez afgomez requested review from a team as code owners August 13, 2021 02:55
@afgomez afgomez requested a review from a team August 13, 2021 02:55
@botelastic botelastic bot added the Team:APM - DEPRECATED Use Team:obs-ux-infra_services. label Aug 13, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/apm-ui (Team:apm)

@jasonrhodes jasonrhodes force-pushed the 107629-workflow-status-filters branch 2 times, most recently from 39483a2 to 006f12c Compare August 13, 2021 04:13
@jasonrhodes jasonrhodes removed request for a team August 13, 2021 04:14
export type InProgressStatus = 'in-progress';

export type AlertStatus = 'open' | 'closed' | 'acknowledged' | InProgressStatus;
export type AlertStatus = AlertWorkflowStatus | InProgressStatus;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am wondering why the in-progress status is still needed here. Shouldn't it be removed from security solutions too? @dplumlee

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've kept it since it was in master. I can remove it if necessary

@kibanamachine
Copy link
Copy Markdown
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
observability 490.0KB 489.6KB -404.0B
securitySolution 6.5MB 6.5MB -30.0B
total -434.0B
Unknown metric groups

API count

id before after diff
timelines 960 961 +1

API count missing comments

id before after diff
timelines 840 841 +1

History

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

Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

Works as expected, well done! 👏

@afgomez afgomez enabled auto-merge (squash) August 19, 2021 21:05
@afgomez afgomez merged commit 5fd903b into elastic:master Aug 20, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Backport failed

Status Branch Result
7.15 Commit could not be cherrypicked due to conflicts
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 108215

@weltenwort
Copy link
Copy Markdown
Member

The backports have failed to the lack of other backports:

I've updated or created the following to catch up:

@weltenwort weltenwort added auto-backport Deprecated - use backport:version if exact versions are needed and removed auto-backport Deprecated - use backport:version if exact versions are needed labels Aug 20, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Aug 20, 2021
Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Backport failed

Status Branch Result
7.15
7.x Commit could not be cherrypicked due to conflicts

Successful backport PRs will be merged automatically after passing CI.

To backport manually run:
node scripts/backport --pr 108215

@weltenwort
Copy link
Copy Markdown
Member

ℹ️ Backport failed because #109079 has not yet been merged, trying to fix...

kibanamachine added a commit that referenced this pull request Aug 20, 2021
Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alejandro Fernández Gómez <alejandro.fernandez@elastic.co>
Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
weltenwort pushed a commit to weltenwort/kibana that referenced this pull request Aug 20, 2021
Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
afgomez pushed a commit to afgomez/kibana that referenced this pull request Aug 24, 2021
Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx
#	x-pack/plugins/observability/public/pages/alerts/index.tsx
afgomez pushed a commit that referenced this pull request Aug 24, 2021
* [RAC] Enable workflow status filtering (#108215)

Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx
#	x-pack/plugins/observability/public/pages/alerts/index.tsx

* Backport changes in the tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed Feature:RAC label obsolete release_note:skip Skip the PR/issue when compiling release notes Team:APM - DEPRECATED Use Team:obs-ux-infra_services. Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.15.0 v7.16.0 v8.0.0

Projects

None yet

10 participants