Skip to content

Commit

Permalink
feat(ui): TE-2585 add 10 minutes granularity to simple flow
Browse files Browse the repository at this point in the history
  • Loading branch information
nalin-patidar committed Dec 13, 2024
1 parent ed4c3b3 commit 7ec5d2e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export enum GranularityValue {
DAILY = "P1D",
HOURLY = "PT1H",
FIFTEEN_MINUTES = "PT15M",
TEN_MINUTES = "PT10M",
FIVE_MINUTES = "PT5M",
ONE_MINUTE = "PT1M",
}
Expand All @@ -183,6 +184,10 @@ export const GRANULARITY_OPTIONS = [
label: i18n.t("label.15-minutes"),
value: GranularityValue.FIFTEEN_MINUTES,
},
{
label: i18n.t("label.10-minutes"),
value: GranularityValue.TEN_MINUTES,
},
{
label: i18n.t("label.5-minutes"),
value: GranularityValue.FIVE_MINUTES,
Expand Down
1 change: 1 addition & 0 deletions thirdeye-ui/src/app/locale/languages/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
},
"label": {
"1-minute": "1 Minute",
"10-minutes": "10 Minutes",
"15-minutes": "15 Minutes",
"404": "404",
"5-minutes": "5 Minutes",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ export const AlertsCreateEasyPage: FunctionComponent = () => {
label: t("label.15-minutes"),
value: GranularityValue.FIFTEEN_MINUTES,
},
{
label: t("label.10-minutes"),
value: GranularityValue.TEN_MINUTES,
},
{
label: t("label.5-minutes"),
value: GranularityValue.FIVE_MINUTES,
Expand Down

0 comments on commit 7ec5d2e

Please sign in to comment.