mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
UX improvements
This commit is contained in:
parent
44b14ec413
commit
3b9e96e460
@ -73,7 +73,7 @@ export default function ProvidersClient() {
|
||||
</Paragraph>
|
||||
|
||||
<Paragraph sidenote>
|
||||
In order to add a new provider, you can choose to use shared credentials created by us, or create your own OAuth client on the provider's website. Pick an OAuth-compatible service from the list below to get started.
|
||||
In order to add a new provider, you can choose to use shared credentials created by us, or create your own OAuth client on the provider's website.
|
||||
</Paragraph>
|
||||
</SimpleCard>
|
||||
</>
|
||||
|
||||
@ -156,6 +156,10 @@ export default function UrlsAndCallbacksClient() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Paragraph sidenote>
|
||||
List the paths to the handlers that will receive callbacks from your project. Note, if a third-party gains control of your handler, they can potentially access your user data.
|
||||
</Paragraph>
|
||||
|
||||
<SimpleCard title="Domains and Handler">
|
||||
<Box sx={{ my: 2 }}>
|
||||
<SmartSwitch
|
||||
@ -179,6 +183,11 @@ export default function UrlsAndCallbacksClient() {
|
||||
"--List-radius": "9px",
|
||||
}}
|
||||
>
|
||||
{domains.size === 0 && (
|
||||
<ListItem>
|
||||
<Typography>No handlers added yet. Click the button below to add your first</Typography>
|
||||
</ListItem>
|
||||
)}
|
||||
{[...domains].map(({ domain, handlerPath }, i) => (
|
||||
<React.Fragment key={domain}>
|
||||
{i !== 0 && <ListDivider />}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user