mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(ml): support multiple urls (#14347)
* support multiple url * update api * styling unnecessary `?.` * update docs, make new url field go first add load balancing section * update tests doc formatting wording wording linting * small styling * `url` -> `urls` * fix tests * update docs * make docusaurus happy --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
411878c0aa
commit
4bf1b84cc2
22 changed files with 202 additions and 73 deletions
|
|
@ -22,6 +22,7 @@
|
|||
autofocus?: boolean;
|
||||
passwordAutocomplete?: AutoFill;
|
||||
descriptionSnippet?: Snippet;
|
||||
trailingSnippet?: Snippet;
|
||||
}
|
||||
|
||||
let {
|
||||
|
|
@ -39,6 +40,7 @@
|
|||
autofocus = false,
|
||||
passwordAutocomplete = 'current-password',
|
||||
descriptionSnippet,
|
||||
trailingSnippet,
|
||||
}: Props = $props();
|
||||
|
||||
let input: HTMLInputElement | undefined = $state();
|
||||
|
|
@ -68,7 +70,7 @@
|
|||
</script>
|
||||
|
||||
<div class="mb-4 w-full">
|
||||
<div class={`flex h-[26px] place-items-center gap-1`}>
|
||||
<div class={`flex place-items-center gap-1`}>
|
||||
<label class="font-medium text-immich-primary dark:text-immich-dark-primary text-sm" for={label}>{label}</label>
|
||||
{#if required}
|
||||
<div class="text-red-400">*</div>
|
||||
|
|
@ -132,6 +134,8 @@
|
|||
{disabled}
|
||||
{title}
|
||||
/>
|
||||
|
||||
{@render trailingSnippet?.()}
|
||||
</div>
|
||||
{:else}
|
||||
<PasswordField
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue