From bea1cf80e38258d7c4efaebcd20e6fb8212f38a1 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Wed, 19 Feb 2025 16:20:16 +0100 Subject: [PATCH 1/4] feat: xbox onboarding docs --- docs/platforms/xbox/index.mdx | 18 ++++++++++++++++++ src/components/platformIcon.tsx | 7 +++++++ src/data/platforms.yml | 4 +++- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 docs/platforms/xbox/index.mdx diff --git a/docs/platforms/xbox/index.mdx b/docs/platforms/xbox/index.mdx new file mode 100644 index 00000000000000..8281dbbc1e09d8 --- /dev/null +++ b/docs/platforms/xbox/index.mdx @@ -0,0 +1,18 @@ +--- +title: Xbox +caseStyle: snake_case +supportLevel: production +sdk: sentry.xbox +categories: + - console + - gaming +--- + + + +Sentry supports Xbox via a customized version of the [Native SDK](/platforms/native). + +To start using Sentry in your Xbox games, you can [request Microsoft Game Development Kit (GDK) Middleware access](developer.microsoft.com/en-us/games/support/request-gdkx-middleware). +Make sure to select Sentry as the partner and use the email address associated with your Sentry account. + +We'll receive your request and get back to you with the next steps. diff --git a/src/components/platformIcon.tsx b/src/components/platformIcon.tsx index a3ee88db7af844..aba67015fe172f 100644 --- a/src/components/platformIcon.tsx +++ b/src/components/platformIcon.tsx @@ -138,6 +138,7 @@ import VueSVG from 'platformicons/svg/vue.svg'; import WasmSVG from 'platformicons/svg/wasm.svg'; import WindowsSVG from 'platformicons/svg/windows.svg'; import XamarinSVG from 'platformicons/svg/xamarin.svg'; +import XboxSVG from 'platformicons/svg/xbox.svg'; import ActixSVGLarge from 'platformicons/svg_80x80/actix.svg'; import AiohttpSVGLarge from 'platformicons/svg_80x80/aiohttp.svg'; import AndroidSVGLarge from 'platformicons/svg_80x80/android.svg'; @@ -279,6 +280,7 @@ import VueSVGLarge from 'platformicons/svg_80x80/vue.svg'; import WasmSVGLarge from 'platformicons/svg_80x80/wasm.svg'; import WindowsSVGLarge from 'platformicons/svg_80x80/windows.svg'; import XamarinSVGLarge from 'platformicons/svg_80x80/xamarin.svg'; +import XboxSVGLarge from 'platformicons/svg_80x80/xbox.svg'; const formatToSVG = { HTML5: { @@ -847,6 +849,10 @@ const formatToSVG = { sm: XamarinSVG, lg: XamarinSVGLarge, }, + xbox: { + sm: XboxSVG, + lg: XboxSVGLarge, + }, }; export const PLATFORM_TO_ICON = { @@ -1032,6 +1038,7 @@ export const PLATFORM_TO_ICON = { unrealengine: 'unreal', visualbasic: 'visual-basic', windows: 'windows', + xbox: 'xbox', // Don't add new platforms down here! // Please add them where they belong alphabetically } as const; diff --git a/src/data/platforms.yml b/src/data/platforms.yml index 57d838b3a05c61..98507dbc7ff88c 100644 --- a/src/data/platforms.yml +++ b/src/data/platforms.yml @@ -132,4 +132,6 @@ - slug: nintendo-switch type: language name: Nintendo Switch - case_style: PascalCase # Where is this used? +- slug: xbox + type: language + name: Xbox From c8ee55d0bd2279c158f707d69270ae65e604bdc9 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Wed, 19 Feb 2025 18:02:03 +0100 Subject: [PATCH 2/4] chore: add trademark notice --- docs/platforms/xbox/index.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/platforms/xbox/index.mdx b/docs/platforms/xbox/index.mdx index 8281dbbc1e09d8..dbc66344e1f69c 100644 --- a/docs/platforms/xbox/index.mdx +++ b/docs/platforms/xbox/index.mdx @@ -16,3 +16,7 @@ To start using Sentry in your Xbox games, you can [request Microsoft Game Develo Make sure to select Sentry as the partner and use the email address associated with your Sentry account. We'll receive your request and get back to you with the next steps. + +--- + +"Microsoft", "Xbox" are trademarks of the Microsoft group of companies. From be57e584ad3b66e54af15c907a8276a67e5b4782 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Mon, 5 May 2025 10:54:14 +0200 Subject: [PATCH 3/4] update platformicons --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e04968242a6a21..48d886bf230b60 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "next-plausible": "^3.12.4", "next-themes": "^0.3.0", "nextjs-toploader": "^1.6.6", - "platformicons": "^8.0.1", + "platformicons": "^8.0.3", "prism-sentry": "^1.0.2", "query-string": "^6.13.1", "react": "^19.0.0", diff --git a/yarn.lock b/yarn.lock index 9eb1ddb07d2b98..bb412fe58d735a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10561,10 +10561,10 @@ pkg-types@^1.2.1: mlly "^1.7.2" pathe "^1.1.2" -platformicons@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/platformicons/-/platformicons-8.0.1.tgz#440bfdfd8cc0eff1468215310d8eed705d8694f4" - integrity sha512-aHBu172vCSIg3ZnAaIrnMc4EyHgyslqF9XFhNz505f53CZsXmXKTAn5rUOvFhCbYT5Qp6SeUusRiVCrg8h/jOw== +platformicons@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/platformicons/-/platformicons-8.0.3.tgz#edd373277f1d9cf58edff23f2917a79525c3e814" + integrity sha512-0gAjZxu9CMKkjrE90bOQNgIxKmhDOKPyK5T27RxlTXJxBfrcycm+QrCMdUMqRgU5oBxNWeFg/gnP9Egvuqbg+Q== dependencies: "@types/node" "*" "@types/react" "*" From 1e86b70a528b86744ad12884e7a482aa331771ac Mon Sep 17 00:00:00 2001 From: Ivan Dlugos <6349682+vaind@users.noreply.github.com> Date: Mon, 5 May 2025 12:29:56 +0200 Subject: [PATCH 4/4] Update index.mdx --- docs/platforms/xbox/index.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/platforms/xbox/index.mdx b/docs/platforms/xbox/index.mdx index dbc66344e1f69c..8b3113b64c4db0 100644 --- a/docs/platforms/xbox/index.mdx +++ b/docs/platforms/xbox/index.mdx @@ -12,8 +12,7 @@ categories: Sentry supports Xbox via a customized version of the [Native SDK](/platforms/native). -To start using Sentry in your Xbox games, you can [request Microsoft Game Development Kit (GDK) Middleware access](developer.microsoft.com/en-us/games/support/request-gdkx-middleware). -Make sure to select Sentry as the partner and use the email address associated with your Sentry account. +To start using Sentry in your Xbox games, you can [request Microsoft Game Development Kit (GDK) Middleware access](https://developer.microsoft.com/en-us/games/support/request-gdkx-middleware). We'll receive your request and get back to you with the next steps.