diff --git a/frontend/src/routes/RegisterPassword.svelte b/frontend/src/routes/RegisterPassword.svelte deleted file mode 100644 index 6df2f07..0000000 --- a/frontend/src/routes/RegisterPassword.svelte +++ /dev/null @@ -1,550 +0,0 @@ - - -
- - - {#if flow?.state.error} -
{flow.state.error}
- {/if} - - {#if loadingServerInfo || !flow} -
- {:else if flow.state.step === 'info'} -
-
-
- {$_('register.migrateTitle')} -

{$_('register.migrateDescription')}

- - {$_('register.migrateLink')} → - -
-
- - - -
-
- - { flow!.info.handle = v }} - onDomainChange={(d) => { selectedDomain = d; flow!.setSelectedDomain(d) }} - /> - {#if flow.info.handle.includes('.')} -

{$_('register.handleDotWarning')}

- {:else if flow.state.checkingHandle} -

{$_('common.checking')}

- {:else if flow.state.handleAvailable === false} -

{$_('register.handleTaken')}

- {:else if flow.state.handleAvailable === true && fullHandle()} -

{$_('register.handleHint', { values: { handle: fullHandle() } })}

- {:else if fullHandle()} -

{$_('register.handleHint', { values: { handle: fullHandle() } })}

- {/if} -
- -
- - -
- -
- - -
- -
- - -
- - {#if flow.info.verificationChannel === 'email'} -
- - -
- {:else if flow.info.verificationChannel === 'discord'} -
- - flow?.checkCommsChannelInUse('discord', flow.info.discordUsername ?? '')} - placeholder={$_('register.discordUsernamePlaceholder')} - disabled={flow.state.submitting} - required - /> - {#if flow.state.discordInUse} -

{$_('register.discordInUseWarning')}

- {/if} -
- {:else if flow.info.verificationChannel === 'telegram'} -
- - flow?.checkCommsChannelInUse('telegram', flow.info.telegramUsername ?? '')} - placeholder={$_('register.telegramUsernamePlaceholder')} - disabled={flow.state.submitting} - required - /> - {#if flow.state.telegramInUse} -

{$_('register.telegramInUseWarning')}

- {/if} -
- {:else if flow.info.verificationChannel === 'signal'} -
- - flow?.checkCommsChannelInUse('signal', flow.info.signalUsername ?? '')} - placeholder={$_('register.signalUsernamePlaceholder')} - disabled={flow.state.submitting} - required - /> -

{$_('register.signalUsernameHint')}

- {#if flow.state.signalInUse} -

{$_('register.signalInUseWarning')}

- {/if} -
- {/if} - -
- {$_('register.identityType')} -
- - - - - -
-
- - {#if flow.info.didType === 'web'} -
- {$_('register.didWebWarningTitle')} -
    -
  • {$_('register.didWebWarning1')} {$_('register.didWebWarning1Detail', { values: { did: `did:web:yourhandle.${serverInfo?.availableUserDomains?.[0] || 'this-pds.com'}` } })}
  • -
  • {$_('register.didWebWarning2')} {$_('register.didWebWarning2Detail')}
  • - {#if $_('register.didWebWarning3')} -
  • {$_('register.didWebWarning3')} {$_('register.didWebWarning3Detail')}
  • - {/if} -
-
- {/if} - - {#if flow.info.didType === 'web-external'} -
- - -

{$_('register.externalDidHint')}

-
- {/if} - - {#if serverInfo?.inviteCodeRequired} -
- - -
- {/if} - -
- - -
-
- - {:else if flow.state.step === 'key-choice'} - - - {:else if flow.state.step === 'initial-did-doc'} - flow?.goBack()} - /> - - {:else if flow.state.step === 'creating'} -
-

{$_('common.creating')}

-
- - {:else if flow.state.step === 'verify'} - - - {:else if flow.state.step === 'updated-did-doc'} - flow?.activateAccount()} - /> - - {:else if flow.state.step === 'redirect-to-dashboard'} -
-

{$_('register.redirecting')}

-
- {/if} -
diff --git a/frontend/src/routes/UiTest.svelte b/frontend/src/routes/UiTest.svelte deleted file mode 100644 index 48b4c18..0000000 --- a/frontend/src/routes/UiTest.svelte +++ /dev/null @@ -1,534 +0,0 @@ - - - -
-
-
- -
- - -
-
-
- -
- - -
-
-
- -
- - -
-
-
- -
- - -
-
-
- - -
-
-
- -
-

4xl (2.5rem)

-

3xl (2rem)

-

2xl (1.5rem)

-

xl (1.25rem)

-

lg (1.125rem)

-

base (1rem)

-

sm (0.875rem)

-

xs (0.75rem)

-
-

Normal (400)

-

Medium (500)

-

Semibold (600)

-

Bold (700)

-
- Monospace text -
Pre block
-  indented
-
- -
-
-
-

Backgrounds

-
bg-primary
-
bg-secondary
-
bg-tertiary
-
bg-card
-
bg-input
-
-
-

Text

-

text-primary

-

text-secondary

-

text-muted

-
text-inverse
-
-
-

Accent

-
accent
-
accent-hover
-
accent-muted
-
-
-

Status

-
success
-
error
-
warning
-
-
-
- -
-
- {#each [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] as i} -
-
- --space-{i} -
- {/each} -
-
- -
-

- - - - - -

-

- - - -

-

- - - - -

-

- - - -

-
- -
-
- -
-
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- - -
-
- - -
-
-
- -
- -

{$_('settings.exportData')}

-

{$_('settings.downloadRepo')}

-
-
- -

{$_('sessions.session')}

-

{$_('sessions.current')}

-
-
-
- -

{$_('security.removePassword')}

-

{$_('security.removePasswordWarning')}

-
-
-
- -
-
-

Section content

-
-
-
-

Destructive operations

-
-
-
- -
- {$_('appPasswords.deleted')} -
{$_('appPasswords.createFailed')}
-
{$_('security.legacyLoginWarning')}
-
{$_('appPasswords.createdMessage')}
-
- -
-

- {$_('inviteCodes.available')} - {$_('inviteCodes.spent')} - {$_('inviteCodes.disabled')} - {$_('sessions.current')} -

-
- -
-

- - - - -

-
- -
- - - - -
- -
-
- -
-
- -
-
- Account settings -
- - -
-
-
- -
-

Two column

-
-
- - -
-
- - -
-
-

Three column

-
-
- - -
-
- - -
-
- - -
-
-

Full width in row

-
-
- - -
-
- - -
-
- - -
-
-
- -
-
- - - Default hint -
-
- - Warning hint -
-
- - Error hint -
-
- - Success hint -
-
- -
-
- - - -
-
- -
- -
- -
-
- {$_('appPasswords.saveWarningTitle')} -

{$_('appPasswords.saveWarningMessage')}

-
-
- -
-
- -

Main content

-

Primary area with a form or data

-
- - -
-
-
-

Sidebar

-

Supplementary information placed alongside the main content area.

-
    -
  • Supports DID methods: did:web, did:plc
  • -
  • Maximum blob size: 10MB
  • -
  • Rate limit: 100 requests per minute
  • -
-
-
-
- -
- -

{$_('appPasswords.create')}

-

{$_('appPasswords.permissions')}

-
- -
-
- - -
-
-
- -
-
-
-
- {$_('security.totp')} -

{$_('security.totpEnabled')}

-
- -
-
-
-
- {$_('security.passkeys')} -

{$_('security.noPasskeys')}

-
- -
-
-
- -
-
-
!
-

Authorization failed

-

The requested scope exceeds the granted permissions.

- -
-
- -
-
-
- Primary passkey - Created 2024-01-15 -
-
- - -
-
-
-
- Backup passkey - Created 2024-03-20 -
-
- - -
-
-
-
- Work laptop - Created 2024-06-01 -
-
- -
-
-
- -
-
-
Handle
-
@alice.example.com
-
DID
-
did:web:alice.example.com
-
Email
-
alice@example.com
-
Created
-
2024-01-15
-
Status
-
Verified
-
-
- -
-
- - -
-

Tab content appears here

-
- -
-
-

Change password

-
- - -
-
- - -
-
- - -
-
-
-