diff --git a/package.json b/package.json index a540d824..4b8a8f93 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "discord-markdown": "^2.5.1", "moment": "^2.29.1", "moment-timezone": "^0.5.34", + "svelte-autosize": "^1.0.1", "svelte-icons": "^2.1.0", "svelte-navigator": "^3.1.5", "sveltestrap": "^5.6.3" diff --git a/src/lib/CardsHeader.svelte b/src/lib/CardsHeader.svelte index b2c123a9..a6fc87dc 100644 --- a/src/lib/CardsHeader.svelte +++ b/src/lib/CardsHeader.svelte @@ -1,5 +1,5 @@ @@ -17,11 +19,16 @@ {item.name} ({item.id}) +
+ {#if loading} +
+ {/if} {#if item && item.avatar_url} {if (event.key === "Enter") avatarOpen = true}} on:click={toggleAvatarModal} class="rounded-circle avatar" src={item.avatar_url} alt="Your system avatar" /> {:else} your system avatar (default) {/if} +
Your system avatar diff --git a/src/lib/system/Edit.svelte b/src/lib/system/Edit.svelte new file mode 100644 index 00000000..42ffc39d --- /dev/null +++ b/src/lib/system/Edit.svelte @@ -0,0 +1,93 @@ + + +{#each err as error} + {@html error} +{/each} + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Description:
+