Skip to content

Conversation

@iamrajjoshi
Copy link
Contributor

A new React component, GitHubDomainChecker, was created in src/components/githubDomainChecker.tsx.

This component:

  • Accepts a user-provided GitHub domain.
  • Parses the domain (removing protocols/paths) to determine if it's github.com or a custom GitHub Enterprise instance.
  • Displays a color-coded recommendation (GitHub or GitHub Enterprise) based on the input.
  • Includes accessibility features and supports keyboard interaction.

The component was then made available for use in MDX files by adding it to src/mdxComponents.ts.

Finally, the GitHubDomainChecker component was integrated into the documentation by adding <GitHubDomainChecker /> at the top of docs/organization/integrations/source-code-mgmt/gitlab/index.mdx. This provides users with an interactive tool to guide their integration choice.

@vercel
Copy link

vercel bot commented Jun 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop-docs 🛑 Canceled (Inspect) Jun 11, 2025 8:48pm
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 8:48pm

@codecov
Copy link

codecov bot commented Jun 11, 2025

Bundle Report

Changes will increase total bundle size by 10.72kB (0.05%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 10.92MB 3.49kB (0.03%) ⬆️
sentry-docs-client-array-push 9.77MB 7.23kB (0.07%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 873.24kB -0.0%
static/css/*.css 1.68kB 741.33kB 0.23%
static/chunks/7750-*.js -3 bytes 401.83kB -0.0%
server/app/api/ip-*.js 644 bytes 259.13kB 0.25%
server/app/_not-*.js 644 bytes 259.12kB 0.25%
server/app/[[...path]]/page_client-*.js 644 bytes 259.08kB 0.25%
server/app/platform-*.js 644 bytes 244.62kB 0.26%
static/chunks/app/[[...path]]/page-*.js 2.99kB 83.25kB 3.72%
server/middleware-*.js -5.55kB 1.0kB -84.74%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
static/hIGdy8GTwY4EsBslJikwD/_buildManifest.js (New) 616 bytes 616 bytes 100.0% 🚀
static/hIGdy8GTwY4EsBslJikwD/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/2UYMZher5x9PrVjtFWl9V/_buildManifest.js (Deleted) -616 bytes 0 bytes -100.0% 🗑️
static/2UYMZher5x9PrVjtFWl9V/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

Files in static/chunks/app/[[...path]]/page-*.js:

  • ./src/components/githubDomainChecker.tsx → Total Size: 6.26kB
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.64MB -0.0%
../instrumentation.js -3 bytes 973.36kB -0.0%
9523.js -3 bytes 949.31kB -0.0%
../app/[[...path]]/page.js 3.5kB 590.76kB 0.6%

Files in ../app/[[...path]]/page.js:

  • ./src/components/githubDomainChecker.tsx → Total Size: 499 bytes

  • ./src/components/githubDomainChecker.tsx → Total Size: 6.22kB

  • ./src/mdxComponents.ts → Total Size: 3.7kB

App Routes Affected:

App Route Size Change Total Size Change (%)
/[[...path]] 3.5kB 3.14MB 0.11%

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants