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

[Tech Debt] Reorder AlertDetail page #152894

Merged

Conversation

CoenWarmer
Copy link
Contributor

Resolves #152789

Summary

This PR updates the Alert Detail Page to follow the newly agreed upon structure for the Observability app.

This PR is part of a larger effort to have all pages in the Observability app follow the same structure so they are more consistent with each other. More details in the epic: #152783

It also cleans up dead and unused components where found.

All design and functionality should be exactly the same as before.

@CoenWarmer CoenWarmer force-pushed the chore/152789-reorder-alert-detail-page branch from d0140d4 to 56ee53e Compare March 8, 2023 11:27
@CoenWarmer CoenWarmer added the release_note:skip Skip the PR/issue when compiling release notes label Mar 8, 2023
@CoenWarmer CoenWarmer force-pushed the chore/152789-reorder-alert-detail-page branch 2 times, most recently from fcca6b0 to a875eaf Compare March 8, 2023 11:46
@CoenWarmer CoenWarmer changed the title Reorder AlertDetail page [Tech Debt] Reorder AlertDetail page Mar 8, 2023
@CoenWarmer CoenWarmer force-pushed the chore/152789-reorder-alert-detail-page branch from a875eaf to 67b16f6 Compare March 8, 2023 12:47
@CoenWarmer CoenWarmer marked this pull request as ready for review March 8, 2023 14:46
@CoenWarmer CoenWarmer requested review from a team as code owners March 8, 2023 14:46
@CoenWarmer CoenWarmer removed the request for review from a team March 9, 2023 20:08
@CoenWarmer CoenWarmer force-pushed the chore/152789-reorder-alert-detail-page branch from 90e65a3 to a3a9178 Compare March 9, 2023 20:11
@@ -41,6 +39,8 @@ export interface AlertSummaryProps {
alertSummaryFields?: AlertSummaryField[];
}

const DEFAULT_DATE_FORMAT = 'MMM D, YYYY @ HH:mm:ss.SSS';
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this is not part of the refactoring, but we should keep a not to use uiSettings and the user's defined dateFormat instead of this hard coded format.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree. There are multiple definitions of this const in 2 or 3 pages. Seems like they can be centralized in a better way.

Copy link
Contributor

@kdelemme kdelemme left a comment

Choose a reason for hiding this comment

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

👍🏻 LGTM!

@CoenWarmer CoenWarmer enabled auto-merge (squash) March 16, 2023 11:53
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
observability 524 521 -3

Async chunks

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

id before after diff
observability 1.1MB 1.1MB +36.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 433 436 +3

Total ESLint disabled count

id before after diff
securitySolution 513 516 +3

History

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

cc @CoenWarmer

@CoenWarmer CoenWarmer merged commit d3a5ab0 into elastic:main Mar 16, 2023
@kibanamachine kibanamachine added v8.8.0 backport:skip This commit does not require backporting labels Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adjust folder structure in Alert Detail page
4 participants