From 02ee1f31e06f69e4ab560c8d29dd3e25119fd031 Mon Sep 17 00:00:00 2001 From: Claire Lin Date: Tue, 26 Mar 2024 16:17:18 -0700 Subject: [PATCH] [ui] Add PagerDuty icon (#20749) As the title. Used to support https://github.com/dagster-io/internal/pull/8953 --- .../packages/ui-components/src/components/Icon.tsx | 8 +++++++- .../packages/ui-components/src/icon-svgs/pagerduty.svg | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 js_modules/dagster-ui/packages/ui-components/src/icon-svgs/pagerduty.svg diff --git a/js_modules/dagster-ui/packages/ui-components/src/components/Icon.tsx b/js_modules/dagster-ui/packages/ui-components/src/components/Icon.tsx index cf3970a57af96..2a5cf05377200 100644 --- a/js_modules/dagster-ui/packages/ui-components/src/components/Icon.tsx +++ b/js_modules/dagster-ui/packages/ui-components/src/components/Icon.tsx @@ -118,6 +118,7 @@ import no_access from '../icon-svgs/no_access.svg'; import notifications from '../icon-svgs/notifications.svg'; import observation from '../icon-svgs/observation.svg'; import open_in_new from '../icon-svgs/open_in_new.svg'; +import pagerduty from '../icon-svgs/pagerduty.svg'; import panel_hide_right from '../icon-svgs/panel_hide_right.svg'; import panel_show_both from '../icon-svgs/panel_show_both.svg'; import panel_show_bottom from '../icon-svgs/panel_show_bottom.svg'; @@ -242,6 +243,7 @@ export const Icons = { tag, slack, ms_teams, + pagerduty, github, github_pr_open, github_pr_closed, @@ -373,7 +375,11 @@ export const Icons = { zoom_out, } as const; -const SVGS_WITH_COLORS = new Set([(slack as any).src, (ms_teams as any).src]); +const SVGS_WITH_COLORS = new Set([ + (slack as any).src, + (ms_teams as any).src, + (pagerduty as any).src, +]); export type IconName = keyof typeof Icons; diff --git a/js_modules/dagster-ui/packages/ui-components/src/icon-svgs/pagerduty.svg b/js_modules/dagster-ui/packages/ui-components/src/icon-svgs/pagerduty.svg new file mode 100644 index 0000000000000..45830185d3e88 --- /dev/null +++ b/js_modules/dagster-ui/packages/ui-components/src/icon-svgs/pagerduty.svg @@ -0,0 +1 @@ + \ No newline at end of file