Skip to content

Conversation

@cameroncooke
Copy link

@cameroncooke cameroncooke commented Dec 11, 2025

DESCRIBE YOUR PR

Updates the https://develop.sentry.dev/integrations/github/ page's GitHub app generation form to:

  • Add missing permissions.
  • Add missing callback url.
  • Adds option to switch between organization and personal account when generating the URL.
  • Fixes dark mode rendering of form fields where text color was illegible when dark mode was enabled.

Also updates the https://develop.sentry.dev/self-hosted/configuration/sso/ page to add multiple callback URLs as required. Doesn't add additional permissions as not needed for that SSO GitHub app.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

- Adds missing permissions.
- Adds missing callback url.
- Adds option to switch between organiation and personal account when generating the URL.
- Fixes dark mode rendering of form fields where text color was illegible when dark mode was enabled.
@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
develop-docs Ready Ready Preview Comment Dec 11, 2025 0:04am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
sentry-docs Ignored Ignored Preview Dec 11, 2025 0:04am

@cameroncooke cameroncooke requested review from NicoHinderling and runningcode and removed request for NicoHinderling December 11, 2025 11:44
@cursor
Copy link

cursor bot commented Dec 11, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Copy link
Contributor

@runningcode runningcode left a comment

Choose a reason for hiding this comment

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

Great improvement! just one question on the personal vs organization thing.


const MAX_COMPONENTS_ON_PAGE = 100;

type AccountType = 'personal' | 'organization';
Copy link
Contributor

Choose a reason for hiding this comment

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

this looks great. I didn't realize there were two ways of doing this.

When would someone prefer personal vs organization?

Copy link
Author

Choose a reason for hiding this comment

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

Well in my case I don't have an organisation account so I created the GitHub app on my own personal GitHub account, I didn't have permissions to do this on our main Sentry account.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah exactly I was thinking a note saying that if you are an individual or testing you should do the personal otherwise use organization.
On second thought maybe that's too much info. It is good as is!

Copy link
Author

Choose a reason for hiding this comment

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

Funnily enough the Sentry bot said the same thing, I think it's self explanatory tbh.

Copy link
Member

@sergical sergical left a comment

Choose a reason for hiding this comment

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

Great work on the UX improvement as well 🎉 one small nit: the button in non hovered state on dark mode looks off (maybe invert the behaviour since the hovered state looks more like it should when it's not hovered) 😅

Currently hovered state:
Image

Currently idle state:
Image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants