diff --git a/CHANGELOG.md b/CHANGELOG.md index aa979b5..31dadfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Fix @-mentions * Replace nsec.app signup with njump.me * Add new messages button in rooms +* Add media server settings # 0.2.5 diff --git a/src/app/components/ContentLinkBlock.svelte b/src/app/components/ContentLinkBlock.svelte index 0d40a13..855d330 100644 --- a/src/app/components/ContentLinkBlock.svelte +++ b/src/app/components/ContentLinkBlock.svelte @@ -30,7 +30,7 @@ {:else if url.match(/\.(jpe?g|png|gif|webp)$/)} {:else} {#await loadPreview()} diff --git a/src/lib/components/SearchSelect.svelte b/src/lib/components/SearchSelect.svelte index bcaa51c..4c0c41d 100644 --- a/src/lib/components/SearchSelect.svelte +++ b/src/lib/components/SearchSelect.svelte @@ -9,7 +9,7 @@ import Tippy from "@lib/components/Tippy.svelte" export let value: string - export let options: string[] + export let options: string[] = [] export let allowCreate = false let input: Element @@ -20,7 +20,7 @@ createSearch(options, { getValue: identity, fuseOptions: {keys: [""]}, - }), + }).searchValues, ) const select = (newValue: string) => { diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte index decf62c..842a5b7 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/settings/+page.svelte @@ -4,6 +4,7 @@ import {pubkey, signer, userMutes, tagPubkey, publishThunk} from "@welshman/app" import Field from "@lib/components/Field.svelte" import FieldInline from "@lib/components/FieldInline.svelte" + import Icon from "@lib/components/Icon.svelte" import Button from "@lib/components/Button.svelte" import ProfileMultiSelect from "@app/components/ProfileMultiSelect.svelte" import {pushToast} from "@app/toast" @@ -79,6 +80,24 @@ {settings.send_delay === 1000 ? "second" : "seconds"}.
+Media Server
+Choose a media server type and url for files you upload to flotilla.
+