diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 294549bb..dde1ba3c 100644
Binary files a/pnpm-lock.yaml and b/pnpm-lock.yaml differ
diff --git a/src/app/components/LogOut.svelte b/src/app/components/LogOut.svelte
index 490c108c..f735b69b 100644
--- a/src/app/components/LogOut.svelte
+++ b/src/app/components/LogOut.svelte
@@ -17,6 +17,7 @@
await logout()
window.location.href = "/"
} catch (e) {
+ console.error(e)
loading = false
}
}
diff --git a/src/app/components/PrimaryNav.svelte b/src/app/components/PrimaryNav.svelte
index e27ffd03..ea1fa482 100644
--- a/src/app/components/PrimaryNav.svelte
+++ b/src/app/components/PrimaryNav.svelte
@@ -62,7 +62,7 @@
{:else}
-
+
{#each primarySpaceUrls as url (url)}
@@ -74,11 +74,11 @@
class="tooltip-right"
onclick={showOtherSpacesMenu}
notification={otherSpaceNotifications}>
-
+
{/if}
-
+
{/each}
@@ -91,17 +91,21 @@
href="/settings/profile"
prefix="/settings"
class="tooltip-right">
-
+ {#if $userProfile?.picture}
+
+ {:else}
+
+ {/if}
-
+
-
+
@@ -118,26 +122,26 @@
-
+
-
+
{#if PLATFORM_RELAYS.length !== 1}
-
+
{/if}
-
+ {#if $userProfile?.picture}
+
+ {:else}
+
+ {/if}
diff --git a/src/app/components/PrimaryNavItemSpace.svelte b/src/app/components/PrimaryNavItemSpace.svelte
index a9321563..2b675972 100644
--- a/src/app/components/PrimaryNavItemSpace.svelte
+++ b/src/app/components/PrimaryNavItemSpace.svelte
@@ -19,5 +19,5 @@
title={displayRelayUrl(url)}
class="tooltip-right"
notification={$notifications.has(makeSpacePath(url))}>
-
-
- {#snippet title()}
- Export your keys
- {/snippet}
-
-
Here's what the process looks like:
-
- When you're ready, enter your account password below to continue.
-
- {PLATFORM_NAME} will send an email to "{email}" with your encrypted private key in it.
-
-
- Store your "ncryptsec" in a password manager like
- Bitwarden. This is the key to
- your social identity; keep it safe and secret.
-
-
- Choose a signer app and import
- your private key into it. Don't forget your account password; you'll need it to decrypt your key.
-
-
-
- Once you export your key, you'll be logged out and won't be able to log in using
- your email and password any more. Going forward, you'll need to use your signer app instead.
-
- {#if !success}
-
-
- {#snippet label()}
- To confirm, please enter your password below:
- {/snippet}
- {#snippet input()}
-
-
-
-
- {/snippet}
-
-
- {/if}
-
-
-
- Go back
-
- {#if success}
-
-
- Refresh the page
-
- {:else}
-
-
- I understand, send me my private key
-
- {/if}
-
-
diff --git a/src/app/components/SignerStatus.svelte b/src/app/components/SignerStatus.svelte
index cb9b22a8..c8690eed 100644
--- a/src/app/components/SignerStatus.svelte
+++ b/src/app/components/SignerStatus.svelte
@@ -15,7 +15,7 @@
const pending = $derived($signerLog.filter(x => !x.finished_at))
const failure = $derived(finished.filter(spec({ok: false})))
const success = $derived(finished.filter(spec({ok: true})))
- const recent = $derived($signerLog.slice(-10))
+ const recent = $derived($signerLog.filter(x => x.started_at < Date.now() - 5000).slice(-10))
const recentFinished = $derived(recent.filter(x => x.finished_at))
const recentPending = $derived(recent.filter(x => !x.finished_at))
const recentAvg = $derived(avg(recentFinished.map(x => x.finished_at! - x.started_at)))
diff --git a/src/lib/components/PrimaryNavItem.svelte b/src/lib/components/PrimaryNavItem.svelte
index e13efd03..ce32ef58 100644
--- a/src/lib/components/PrimaryNavItem.svelte
+++ b/src/lib/components/PrimaryNavItem.svelte
@@ -16,9 +16,9 @@
{#if href}
-