From dc46b88a7dbca2ee1577a6f152e90aca70a8d72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sat, 2 Jul 2022 16:02:55 +0100 Subject: [PATCH] fix(ui): bump max to 25 Fixes #4420. --- CHANGELOG.md | 6 ++++++ .../MainModal/Configuration/AlertGroupConfiguration.tsx | 2 +- .../__snapshots__/AlertGroupConfiguration.test.tsx.snap | 2 +- .../Configuration/__snapshots__/index.test.tsx.snap | 2 +- .../MainModal/__snapshots__/MainModalContent.test.tsx.snap | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3e111bce..e72de5701 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v0.105 + +### Changed + +- Change max value of `alertsPerGroup` to 25 #4420. + ## v0.104 ### Added diff --git a/ui/src/Components/MainModal/Configuration/AlertGroupConfiguration.tsx b/ui/src/Components/MainModal/Configuration/AlertGroupConfiguration.tsx index 031369637..4d25f6a0f 100644 --- a/ui/src/Components/MainModal/Configuration/AlertGroupConfiguration.tsx +++ b/ui/src/Components/MainModal/Configuration/AlertGroupConfiguration.tsx @@ -20,7 +20,7 @@ const AlertGroupConfiguration: FC<{ setDefaultRenderCount(values)} onFinalChange={(values) => onChangeComplete(values[0])} diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupConfiguration.test.tsx.snap index 41baf72c4..feb795ee5 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupConfiguration.test.tsx.snap @@ -11,7 +11,7 @@ exports[` matches snapshot with default values 1`] = class=\\"input-range-thumb\\" style=\\"position: absolute; z-index: 0; cursor: grab; user-select: none; transform: translate(NaNpx, NaNpx);\\" tabindex=\\"0\\" - aria-valuemax=\\"10\\" + aria-valuemax=\\"25\\" aria-valuemin=\\"1\\" aria-valuenow=\\"5\\" draggable=\\"false\\" diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap index a2a36945f..f37bbe964 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap @@ -232,7 +232,7 @@ exports[` matches snapshot 1`] = ` class=\\"input-range-thumb\\" style=\\"position: absolute; z-index: 0; cursor: grab; user-select: none; transform: translate(NaNpx, NaNpx);\\" tabindex=\\"0\\" - aria-valuemax=\\"10\\" + aria-valuemax=\\"25\\" aria-valuemin=\\"1\\" aria-valuenow=\\"5\\" draggable=\\"false\\" diff --git a/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap b/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap index 0c66b8eaf..2468c4543 100644 --- a/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap +++ b/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap @@ -249,7 +249,7 @@ exports[` matches snapshot 1`] = ` class=\\"input-range-thumb\\" style=\\"position: absolute; z-index: 0; cursor: grab; user-select: none; transform: translate(NaNpx, NaNpx);\\" tabindex=\\"0\\" - aria-valuemax=\\"10\\" + aria-valuemax=\\"25\\" aria-valuemin=\\"1\\" aria-valuenow=\\"5\\" draggable=\\"false\\"