-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
…#56549) * Reintroduce a column for url. * Reintroduce original URL column. * added location overview column * fix types * update snaps * Update busted test snapshots. * Update x-pack/legacy/plugins/uptime/public/components/functional/monitor_list/monitor_list_status_column.tsx Co-Authored-By: Justin Kambic <justin.kambic@elastic.co> * update test * rename * update mobile layout * update column laytout * fixed i18n * remove icon Co-authored-by: Justin Kambic <justin.kambic@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Justin Kambic <justin.kambic@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
- Loading branch information
1 parent
99e82d3
commit 1366bb1
Showing
15 changed files
with
662 additions
and
123 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
export enum STATUS { | ||
UP = 'up', | ||
DOWN = 'down', | ||
} | ||
|
||
export const UNNAMED_LOCATION = 'Unnamed-location'; | ||
|
||
export const SHORT_TS_LOCALE = 'en-short-locale'; | ||
|
||
export const SHORT_TIMESPAN_LOCALE = { | ||
relativeTime: { | ||
future: 'in %s', | ||
past: '%s ago', | ||
s: '%ds', | ||
ss: '%ss', | ||
m: '%dm', | ||
mm: '%dm', | ||
h: '%dh', | ||
hh: '%dh', | ||
d: '%dd', | ||
dd: '%dd', | ||
M: '%d Mon', | ||
MM: '%d Mon', | ||
y: '%d Yr', | ||
yy: '%d Yr', | ||
}, | ||
}; |
1 change: 1 addition & 0 deletions
1
...lic/components/functional/charts/__tests__/__snapshots__/monitor_bar_series.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
26 changes: 20 additions & 6 deletions
26
...lic/components/functional/monitor_list/__tests__/__snapshots__/monitor_list.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
24 changes: 18 additions & 6 deletions
24
...nts/functional/monitor_list/__tests__/__snapshots__/monitor_list_pagination.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.