mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: move credentials above Advanced accordion in OAuth modals
This commit is contained in:
@@ -134,10 +134,6 @@
|
||||
bind:value={appId} />
|
||||
{/if}
|
||||
|
||||
<Accordion title="Advanced" badge="Optional" hideDivider>
|
||||
<GooglePromptPicker bind:value={prompt} />
|
||||
</Accordion>
|
||||
|
||||
{#if !showSecretInput}
|
||||
<div>
|
||||
<Tag size="s" on:click={() => (showSecretInput = true)}>
|
||||
@@ -180,6 +176,10 @@
|
||||
</Card.Base>
|
||||
{/if}
|
||||
|
||||
<Accordion title="Advanced" badge="Optional" hideDivider>
|
||||
<GooglePromptPicker bind:value={prompt} />
|
||||
</Accordion>
|
||||
|
||||
<Alert.Inline status="info">
|
||||
To complete set up, add this OAuth2 redirect URI to your Google app configuration.
|
||||
</Alert.Inline>
|
||||
|
||||
@@ -245,21 +245,6 @@
|
||||
bind:value={fieldValues[param.$id]} />
|
||||
{/each}
|
||||
|
||||
{#if advancedDetailParams.length > 0}
|
||||
<Accordion title="Advanced" badge="Optional" hideDivider>
|
||||
<Layout.Stack gap="l">
|
||||
{#each advancedDetailParams as param}
|
||||
<InputText
|
||||
id={param.$id}
|
||||
label={primaryName(param.name)}
|
||||
placeholder={param.example || ''}
|
||||
helper={helperText(param.hint)}
|
||||
bind:value={fieldValues[param.$id]} />
|
||||
{/each}
|
||||
</Layout.Stack>
|
||||
</Accordion>
|
||||
{/if}
|
||||
|
||||
{#if secretParams.length > 0}
|
||||
{#if !showSecretInput}
|
||||
<div>
|
||||
@@ -372,6 +357,21 @@
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{#if advancedDetailParams.length > 0}
|
||||
<Accordion title="Advanced" badge="Optional" hideDivider>
|
||||
<Layout.Stack gap="l">
|
||||
{#each advancedDetailParams as param}
|
||||
<InputText
|
||||
id={param.$id}
|
||||
label={primaryName(param.name)}
|
||||
placeholder={param.example || ''}
|
||||
helper={helperText(param.hint)}
|
||||
bind:value={fieldValues[param.$id]} />
|
||||
{/each}
|
||||
</Layout.Stack>
|
||||
</Accordion>
|
||||
{/if}
|
||||
|
||||
<Alert.Inline status="info">
|
||||
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
|
||||
</Alert.Inline>
|
||||
|
||||
Reference in New Issue
Block a user