File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
src/sentry/static/sentry/images/logos
static/app/components/events/contexts Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import logoAppleWatch from 'sentry-logos/logo-apple-watch.svg';
1212import logoArm from 'sentry-logos/logo-arm.svg' ;
1313import logoChrome from 'sentry-logos/logo-chrome.svg' ;
1414import logoChromium from 'sentry-logos/logo-chromium.svg' ;
15+ import logoCloudflareWorker from 'sentry-logos/logo-cloudflare-worker.svg' ;
1516import logoCrystal from 'sentry-logos/logo-crystal.svg' ;
1617import logoDeno from 'sentry-logos/logo-deno.svg' ;
1718import logoDotnet from 'sentry-logos/logo-dotnet.svg' ;
@@ -41,6 +42,7 @@ import logoSamsung from 'sentry-logos/logo-samsung.svg';
4142import logoUbuntu from 'sentry-logos/logo-ubuntu.svg' ;
4243import logoUnity from 'sentry-logos/logo-unity.svg' ;
4344import logoUnknown from 'sentry-logos/logo-unknown.svg' ;
45+ import logoVercel from 'sentry-logos/logo-vercel.svg' ;
4446import logoWindows from 'sentry-logos/logo-windows.svg' ;
4547
4648import ConfigStore from 'sentry/stores/configStore' ;
@@ -70,6 +72,7 @@ const LOGO_MAPPING = {
7072 arm : logoArm ,
7173 chrome : logoChrome ,
7274 chromium : logoChromium ,
75+ cloudflare : logoCloudflareWorker ,
7376 cpython : logoPython ,
7477 crystal : logoCrystal ,
7578 darwin : logoApple ,
@@ -100,6 +103,7 @@ const LOGO_MAPPING = {
100103 samsung : logoSamsung ,
101104 tvos : logoApple ,
102105 ubuntu : logoUbuntu ,
106+ vercel : logoVercel ,
103107 watch : logoAppleWatch ,
104108 watchos : logoApple ,
105109 windows : logoWindows ,
@@ -117,6 +121,7 @@ const INVERT_IN_DARKMODE = [
117121 'mac' ,
118122 'apple' ,
119123 'watchos' ,
124+ 'vercel' ,
120125] ;
121126
122127const darkCss = css `
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ export function generateIconName(
7575 return 'google' ;
7676 }
7777
78+ if ( lowerCaseName . startsWith ( 'vercel' ) ) {
79+ return 'vercel' ;
80+ }
81+
7882 const formattedName = name
7983 . split ( / \d / ) [ 0 ]
8084 . toLowerCase ( )
You can’t perform that action at this time.
0 commit comments