-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* expanded row component * expanded row component * updated expand comp * update expander row * update expanded row * update graphql schema * update styling * added monitor detail route * added monitor state * added monitor details state * update drawer * update drawer * updated drawer components * update monitor drawer * update tests * revert some changes * revert some changes * revert some changes * update test * update drawer * added run time validation * update monitor status * added location icon * update locations * fix relative path * update unamelocation * updated snaps * update formatting * updated snaps * update snaps * improve code formatting * update snaps * updated translation formatting !! * update snaps * update i18n
- Loading branch information
Showing
56 changed files
with
1,861 additions
and
1,100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
x-pack/legacy/plugins/uptime/common/runtime_types/monitor/monitor_details.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
import * as t from 'io-ts'; | ||
|
||
// IO type for validation | ||
export const ErrorType = t.partial({ | ||
code: t.number, | ||
message: t.string, | ||
type: t.string, | ||
}); | ||
|
||
// Typescript type for type checking | ||
export type Error = t.TypeOf<typeof ErrorType>; | ||
|
||
export const MonitorDetailsType = t.intersection([ | ||
t.type({ monitorId: t.string }), | ||
t.partial({ error: ErrorType }), | ||
]); | ||
export type MonitorDetails = t.TypeOf<typeof MonitorDetailsType>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 0 additions & 64 deletions
64
...ublic/components/functional/monitor_list/__tests__/__snapshots__/check_list.test.tsx.snap
This file was deleted.
Oops, something went wrong.
253 changes: 0 additions & 253 deletions
253
...onents/functional/monitor_list/__tests__/__snapshots__/condensed_check_list.test.tsx.snap
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.