Merge pull request #1295 from appwrite/fix-desing-1.6

fix: design 1.6 release
This commit is contained in:
Torsten Dittmann
2024-08-14 15:44:27 +02:00
committed by GitHub
7 changed files with 11 additions and 13 deletions
+1 -4
View File
@@ -174,10 +174,7 @@
<div class="is-only-mobile">
<slot name="mobile" {disabled} toggle={toggleMobileModal}>
<Button
secondary
on:click={() => (showFiltersMobile = !showFiltersMobile)}
{fullWidthMobile}>
<Button secondary on:click={toggleMobileModal} {fullWidthMobile}>
<i class="icon-filter u-opacity-50" />
Filters
{#if applied > 0}
+2 -1
View File
@@ -9,8 +9,9 @@
content: tag?.value?.toString(),
disabled: Array.isArray(tag.value) ? tag.value?.length < 3 : true
}}
type="button"
class="tag"
on:click={() => {
on:click|preventDefault={() => {
queries.removeFilter(tag);
queries.apply();
}}>
@@ -27,6 +27,7 @@
export let autofocus = false;
export let interactiveOutput = false;
export let interactiveEmpty = false;
export let hideEmpty = false;
// stretch is used inside of a flex container to give the element flex:1
export let stretch = true;
export let search = '';
@@ -52,7 +53,8 @@
});
function handleInput() {
hasFocus = true;
if (hideEmpty && !options?.length) hasFocus = false;
else hasFocus = true;
}
function handleKeydown(event: KeyboardEvent) {
+2 -1
View File
@@ -129,7 +129,8 @@
use:tooltip={{
content: `Scheduled to execute on ${toLocaleDateTime(execution.scheduledAt)}`,
disabled:
!execution?.scheduledAt || execution.status !== 'scheduled'
!execution?.scheduledAt || execution.status !== 'scheduled',
maxWidth: 180
}}>
<Pill
warning={execution.status === 'waiting' ||
+1 -1
View File
@@ -79,7 +79,7 @@
}}
on:connect={connect} />
</div>
{#if isSelfHosted && isVcsEnabled}
{#if isSelfHosted && !isVcsEnabled}
<div
class="overlay u-flex-vertical u-position-absolute u-height-100-percent u-width-full-line u-z-index-1 u-text-center u-inset-0"
style="border-radius: var(--border-radius-medium)">
@@ -34,7 +34,7 @@
title: 'Status',
type: 'enum',
show: true,
width: 110,
width: 130,
array: true,
format: 'enum',
elements: ['completed', 'failed', 'waiting', 'scheduled', 'processing', 'cancelled']
@@ -213,14 +213,11 @@
label="Key"
placeholder="Select key"
interactiveOutput
interactiveEmpty
hideEmpty
options={filteredKeyList}
id={`key-${index}`}
bind:value={name}
bind:search={name}>
<svelte:fragment slot="empty">
{name}
</svelte:fragment>
</InputSelectSearch>
<InputText
isMultiple