-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(ui): Replace OrganizationAuth DeprecatedAsyncComponent #86556
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
feat(ui): Replace OrganizationAuth DeprecatedAsyncComponent #86556
Conversation
* TODO(epurkhiser): This does not work right now as we still fallback to the | ||
* old SSO auth configuration page | ||
*/ | ||
handleConfigure = (provider: AuthProvider) => { |
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.
Just removing these because they were unused and it's very unlikely we need to reference this code in the future
const {data: providerList, isLoading: loadingProviders} = useApiQuery<AuthProvider[]>( | ||
[`/organizations/${organization.slug}/auth-providers/`], | ||
{staleTime: 0} | ||
); | ||
const {data: provider, isLoading: loadingProvider} = useApiQuery<AuthProvider>( |
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.
const {data: providerList, isLoading: loadingProviders} = useApiQuery<AuthProvider[]>( | |
[`/organizations/${organization.slug}/auth-providers/`], | |
{staleTime: 0} | |
); | |
const {data: provider, isLoading: loadingProvider} = useApiQuery<AuthProvider>( | |
const {data: providerList, isPending: loadingProviders} = useApiQuery<AuthProvider[]>( | |
[`/organizations/${organization.slug}/auth-providers/`], | |
{staleTime: 0} | |
); | |
const {data: provider, isPending: loadingProvider} = useApiQuery<AuthProvider>( |
d9b50cb
to
7f3fa42
Compare
const { | ||
data: providerList, | ||
isLoading: loadingProviders, | ||
error: errorProviders, | ||
} = useApiQuery<AuthProvider[]>( | ||
[`/organizations/${organization.slug}/auth-providers/`], | ||
{staleTime: 0} | ||
); | ||
const { | ||
data: provider, | ||
isLoading: loadingProvider, | ||
error: errorProvider, | ||
} = useApiQuery<AuthProvider>([`/organizations/${organization.slug}/auth-provider/`], { |
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.
const { | |
data: providerList, | |
isLoading: loadingProviders, | |
error: errorProviders, | |
} = useApiQuery<AuthProvider[]>( | |
[`/organizations/${organization.slug}/auth-providers/`], | |
{staleTime: 0} | |
); | |
const { | |
data: provider, | |
isLoading: loadingProvider, | |
error: errorProvider, | |
} = useApiQuery<AuthProvider>([`/organizations/${organization.slug}/auth-provider/`], { | |
const { | |
data: providerList, | |
isPending: loadingProviders, | |
error: errorProviders, | |
} = useApiQuery<AuthProvider[]>( | |
[`/organizations/${organization.slug}/auth-providers/`], | |
{staleTime: 0} | |
); | |
const { | |
data: provider, | |
isPending: loadingProvider, | |
error: errorProvider, | |
} = useApiQuery<AuthProvider>([`/organizations/${organization.slug}/auth-provider/`], { |
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.
lol right
* master: (57 commits) ref(getting-started): Change code to always update loader script when products changes (#86583) ref(spans): Detect performance issues directly in segments consumer (#86595) ref(getting-started): Update copies, replacing 'Sentry dashboard' with 'Sentry Issues' (#86672) ref(product-selection): Update code to not strip url (#86582) ref(quick-start): Replace 'record' with 'create_or_update' in 'record_new_project' (#86663) ref(assemble): Remove old `find_missing_chunks` method (#86588) fix(views):Exclude newly added views from last visited update as well (#86653) feat(workflow_engine): Only execute enabled Detectors (#86652) fix(autofix): Github links, remove seer branding, and UI cleanup (#86640) fix(seer-issues-patch) More parsing of functions for Python (#86558) ref(ui): Remove sentry.eot (#86649) feat(alerts): Restrict uptime/crons overview buttons for alerts:write (#86436) chore(deps): bump axios from 1.7.7 to 1.8.2 (#86642) deps(ui): Upgrade prettier (#86634) deps(ui): Upgrade eslint, biome (#86630) fix(shared-views): Fix default view passing to last visited endpoint (#86632) feat(billing): update copy for payg disabled CTA (#86143) ref(ui): Remove usage of withOrganization from organizationAuthList (#86554) fix(crons): Fix disabled state of disable button (#86637) feat(ui): Replace OrganizationAuth DeprecatedAsyncComponent (#86556) ...
No description provided.