diff --git a/CHANGELOG.md b/CHANGELOG.md index 48dc0bc3..fc21bc55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ # 1.0.5 * Add better theming support +* Improve forms for entering invite codes # 1.0.4 diff --git a/src/app/components/ProfileCircles.svelte b/src/app/components/ProfileCircles.svelte index e687195a..7190be55 100644 --- a/src/app/components/ProfileCircles.svelte +++ b/src/app/components/ProfileCircles.svelte @@ -5,7 +5,7 @@
- {#each props.pubkeys.slice(0, 15) as pubkey (pubkey)} + {#each props.pubkeys.toSorted().slice(0, 15) as pubkey (pubkey)}
diff --git a/src/app/components/SpaceAccessRequest.svelte b/src/app/components/SpaceAccessRequest.svelte new file mode 100644 index 00000000..9406eba6 --- /dev/null +++ b/src/app/components/SpaceAccessRequest.svelte @@ -0,0 +1,84 @@ + + +
+ + {#snippet title()} +
Request Access
+ {/snippet} + {#snippet info()} +
Enter an invite code below to request access to {displayUrl(url)}.
+ {/snippet} +
+ + {#snippet label()} +

Invite code*

+ {/snippet} + {#snippet input()} + + {/snippet} +
+ + + + +
diff --git a/src/app/components/SpaceAuthError.svelte b/src/app/components/SpaceAuthError.svelte index 2b6e9c82..22d63c79 100644 --- a/src/app/components/SpaceAuthError.svelte +++ b/src/app/components/SpaceAuthError.svelte @@ -1,49 +1,23 @@ -
+ {#snippet title()}
Access Error
@@ -63,8 +37,8 @@ Go back - diff --git a/src/app/components/SpaceInviteAccept.svelte b/src/app/components/SpaceInviteAccept.svelte index 38dfd97d..60895408 100644 --- a/src/app/components/SpaceInviteAccept.svelte +++ b/src/app/components/SpaceInviteAccept.svelte @@ -1,5 +1,5 @@