diff --git a/src/sentry/static/sentry/images/logos/logo-cloudflare-worker.svg b/src/sentry/static/sentry/images/logos/logo-cloudflare-worker.svg new file mode 100644 index 00000000000000..d54d7c285bc94d --- /dev/null +++ b/src/sentry/static/sentry/images/logos/logo-cloudflare-worker.svg @@ -0,0 +1 @@ + diff --git a/static/app/components/events/contexts/contextIcon.tsx b/static/app/components/events/contexts/contextIcon.tsx index 03627b359d6157..2f95643adeffac 100644 --- a/static/app/components/events/contexts/contextIcon.tsx +++ b/static/app/components/events/contexts/contextIcon.tsx @@ -12,6 +12,7 @@ import logoAppleWatch from 'sentry-logos/logo-apple-watch.svg'; import logoArm from 'sentry-logos/logo-arm.svg'; import logoChrome from 'sentry-logos/logo-chrome.svg'; import logoChromium from 'sentry-logos/logo-chromium.svg'; +import logoCloudflareWorker from 'sentry-logos/logo-cloudflare-worker.svg'; import logoCrystal from 'sentry-logos/logo-crystal.svg'; import logoDeno from 'sentry-logos/logo-deno.svg'; import logoDotnet from 'sentry-logos/logo-dotnet.svg'; @@ -41,6 +42,7 @@ import logoSamsung from 'sentry-logos/logo-samsung.svg'; import logoUbuntu from 'sentry-logos/logo-ubuntu.svg'; import logoUnity from 'sentry-logos/logo-unity.svg'; import logoUnknown from 'sentry-logos/logo-unknown.svg'; +import logoVercel from 'sentry-logos/logo-vercel.svg'; import logoWindows from 'sentry-logos/logo-windows.svg'; import ConfigStore from 'sentry/stores/configStore'; @@ -70,6 +72,7 @@ const LOGO_MAPPING = { arm: logoArm, chrome: logoChrome, chromium: logoChromium, + cloudflare: logoCloudflareWorker, cpython: logoPython, crystal: logoCrystal, darwin: logoApple, @@ -100,6 +103,7 @@ const LOGO_MAPPING = { samsung: logoSamsung, tvos: logoApple, ubuntu: logoUbuntu, + vercel: logoVercel, watch: logoAppleWatch, watchos: logoApple, windows: logoWindows, @@ -117,6 +121,7 @@ const INVERT_IN_DARKMODE = [ 'mac', 'apple', 'watchos', + 'vercel', ]; const darkCss = css` diff --git a/static/app/components/events/contexts/utils.tsx b/static/app/components/events/contexts/utils.tsx index b960adb047753c..8ad210103a7935 100644 --- a/static/app/components/events/contexts/utils.tsx +++ b/static/app/components/events/contexts/utils.tsx @@ -75,6 +75,10 @@ export function generateIconName( return 'google'; } + if (lowerCaseName.startsWith('vercel')) { + return 'vercel'; + } + const formattedName = name .split(/\d/)[0] .toLowerCase()