From 038d62788f66c5123174bd0efe41fa0ecd97c671 Mon Sep 17 00:00:00 2001 From: Rares Mardare Date: Mon, 8 Jul 2024 12:03:26 +0300 Subject: [PATCH] Leftover tweaks (#4615) # What this PR does - Moved `Custom` as the last option for silencing period - Added placeholder for "Select or type" on dropdowns where input is allowed (such as custom wait durations) - Cleanup (removed `SilenceCascaderButton` component) --- .../components/Policy/EscalationPolicy.tsx | 4 +- .../components/Policy/NotificationPolicy.tsx | 1 - .../src/components/Policy/Policy.consts.ts | 2 +- .../src/pages/incident/Incident.helpers.tsx | 4 +- .../src/pages/incidents/Incidents.tsx | 4 +- .../incidents/parts/SilenceButtonCascader.tsx | 40 ------------------- .../pages/incidents/parts/SilenceSelect.tsx | 4 +- 7 files changed, 10 insertions(+), 49 deletions(-) delete mode 100644 grafana-plugin/src/pages/incidents/parts/SilenceButtonCascader.tsx diff --git a/grafana-plugin/src/components/Policy/EscalationPolicy.tsx b/grafana-plugin/src/components/Policy/EscalationPolicy.tsx index 95212384..c91700e9 100644 --- a/grafana-plugin/src/components/Policy/EscalationPolicy.tsx +++ b/grafana-plugin/src/components/Policy/EscalationPolicy.tsx @@ -279,7 +279,7 @@ class _EscalationPolicy extends React.Component {