Skip to content

Commit

Permalink
[ui] Add PagerDuty icon (#20749)
Browse files Browse the repository at this point in the history
As the title. Used to support
dagster-io/internal#8953
  • Loading branch information
clairelin135 authored Mar 26, 2024
1 parent b6f3303 commit e485c25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -242,6 +243,7 @@ export const Icons = {
tag,
slack,
ms_teams,
pagerduty,
github,
github_pr_open,
github_pr_closed,
Expand Down Expand Up @@ -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;

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit e485c25

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-ky74w5hfc-elementl.vercel.app

Built with commit e485c25.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.