diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-07-01 15:40:11 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-07-03 22:43:44 -0400 |
| commit | 9b38cb1a62ede4900fde4ba47a7b065db329e994 (patch) | |
| tree | abf0b9d993ef03a53903aae03f375b78473952da /ui/lib/components/CreateChannelForm.svelte | |
| parent | 1cafeb5ec92c1dc4ad74fbed58b15a8ab2f3c0cf (diff) | |
Rename "channel" to "conversation" throughout the client.
Existing client state, stored in local storage, is migrated to new keys (that mention "conversation" instead of "channel" where appropriate) the first time the client loads.
Diffstat (limited to 'ui/lib/components/CreateChannelForm.svelte')
| -rw-r--r-- | ui/lib/components/CreateChannelForm.svelte | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ui/lib/components/CreateChannelForm.svelte b/ui/lib/components/CreateChannelForm.svelte deleted file mode 100644 index 471c2b7..0000000 --- a/ui/lib/components/CreateChannelForm.svelte +++ /dev/null @@ -1,22 +0,0 @@ -<script> - let { createChannel = async (name) => {} } = $props(); - - let name = $state(''); - let disabled = $state(false); - - async function onsubmit(event) { - event.preventDefault(); - disabled = true; - try { - await createChannel(name); - event.target.reset(); - } finally { - disabled = false; - } - } -</script> - -<form {onsubmit}> - <input type="text" placeholder="create channel" bind:value={name} {disabled} /> - <button type="submit">➕</button> -</form> |
