From e4e166b98c169e8ca4dd0f223a47199fbf453c70 Mon Sep 17 00:00:00 2001 From: Claire Lin Date: Tue, 27 Feb 2024 10:34:44 -0800 Subject: [PATCH] Add Microsoft Teams icon (#20075) This PR adds an icon for microsoft teams. This will be used in alerts that notify via microsoft teams, in companion PR https://github.com/dagster-io/internal/pull/8427 --- .../ui-components/src/components/Icon.tsx | 4 +++- .../ui-components/src/icon-svgs/ms_teams.svg | 21 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 js_modules/dagster-ui/packages/ui-components/src/icon-svgs/ms_teams.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 f54f5b2bf03c3..e18eebdb39c08 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 @@ -104,6 +104,7 @@ import materialization from '../icon-svgs/materialization.svg'; import menu from '../icon-svgs/menu.svg'; import menu_book from '../icon-svgs/menu_book.svg'; import more_horiz from '../icon-svgs/more_horiz.svg'; +import ms_teams from '../icon-svgs/ms_teams.svg'; import multi_asset from '../icon-svgs/multi_asset.svg'; import nightlight from '../icon-svgs/nightlight.svg'; import no_access from '../icon-svgs/no_access.svg'; @@ -229,6 +230,7 @@ export const Icons = { folder, tag, slack, + ms_teams, github, github_pr_open, github_pr_closed, @@ -351,7 +353,7 @@ export const Icons = { zoom_out, } as const; -const SVGS_WITH_COLORS = new Set([(slack as any).src]); +const SVGS_WITH_COLORS = new Set([(slack as any).src, (ms_teams as any).src]); export type IconName = keyof typeof Icons; diff --git a/js_modules/dagster-ui/packages/ui-components/src/icon-svgs/ms_teams.svg b/js_modules/dagster-ui/packages/ui-components/src/icon-svgs/ms_teams.svg new file mode 100644 index 0000000000000..2992ef449d635 --- /dev/null +++ b/js_modules/dagster-ui/packages/ui-components/src/icon-svgs/ms_teams.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file