-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Tech Debt] Reorder AlertDetail page #152894
Conversation
d0140d4
to
56ee53e
Compare
fcca6b0
to
a875eaf
Compare
…order-alert-detail-page
a875eaf
to
67b16f6
Compare
…order-alert-detail-page
90e65a3
to
a3a9178
Compare
@@ -41,6 +39,8 @@ export interface AlertSummaryProps { | |||
alertSummaryFields?: AlertSummaryField[]; | |||
} | |||
|
|||
const DEFAULT_DATE_FORMAT = 'MMM D, YYYY @ HH:mm:ss.SSS'; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻 LGTM!
…order-alert-detail-page
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @CoenWarmer |
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.