-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
feat: Change org selector add gh integration button behavior #102680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
static/app/components/prevent/integratedOrgSelector/integratedOrgSelector.tsx
Outdated
Show resolved
Hide resolved
static/app/components/prevent/integratedOrgSelector/integratedOrgSelector.tsx
Outdated
Show resolved
Hide resolved
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #102680 +/- ##
========================================
Coverage 80.90% 80.90%
========================================
Files 8871 8871
Lines 390913 390901 -12
Branches 24849 24844 -5
========================================
- Hits 316254 316248 -6
+ Misses 74293 74287 -6
Partials 366 366 |
| }: AddIntegrationButtonProps) { | ||
| const label = | ||
| (buttonText ?? reinstall) | ||
| buttonText ?? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fixing a bug introduced when prettier formatting was applied adding parentheses. When buttonText existed, it would give "Enable" instead of buttonText.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice find
static/app/components/prevent/integratedOrgSelector/integratedOrgSelector.tsx
Outdated
Show resolved
Hide resolved
static/app/components/prevent/integratedOrgSelector/integratedOrgSelector.tsx
Outdated
Show resolved
Hide resolved
63b4538 to
36dca2b
Compare
ajay-sentry
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Followup to https://linear.app/getsentry/issue/CCMRG-1689/redirect-the-integrated-org-link Changes link to org integrated selection "Add GitHub organization" button to also open GH OAuth. Opens popout window to this link like Settings>Integration and now the TA Preonboarding page also after above PR <img width="1072" height="140" alt="Screenshot 2025-11-06 at 11 31 31 AM" src="https://github.com/user-attachments/assets/7385128c-b673-430f-bdc8-e9ac2f44d9e9" />
Followup to https://linear.app/getsentry/issue/CCMRG-1689/redirect-the-integrated-org-link Changes link to org integrated selection "Add GitHub organization" button to also open GH OAuth. Opens popout window to this link like Settings>Integration and now the TA Preonboarding page also after above PR <img width="1072" height="140" alt="Screenshot 2025-11-06 at 11 31 31 AM" src="https://github.com/user-attachments/assets/7385128c-b673-430f-bdc8-e9ac2f44d9e9" />
Followup to https://linear.app/getsentry/issue/CCMRG-1689/redirect-the-integrated-org-link
Changes link to org integrated selection "Add GitHub organization" button to also open GH OAuth.
Opens popout window to this link like Settings>Integration and now the TA Preonboarding page also after above PR
