mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1154 from appwrite/fix-experimental-relationships
Change Beta label to Experimental for relationships
This commit is contained in:
3 files changed
+18
-4
No files matched your search
@@ -8,6 +8,7 @@
|
||||
export let show = false;
|
||||
export let size: 'small' | 'big' | 'huge' = null;
|
||||
export let icon: string = null;
|
||||
export let iconNotMobile: boolean = false;
|
||||
export let state: 'success' | 'warning' | 'error' | 'info' = null;
|
||||
export let error: string = null;
|
||||
export let closable = true;
|
||||
@@ -39,6 +40,7 @@
|
||||
{#if icon}
|
||||
<div
|
||||
class="avatar is-medium"
|
||||
class:is-not-mobile={iconNotMobile}
|
||||
class:is-success={state === 'success'}
|
||||
class:is-warning={state === 'warning'}
|
||||
class:is-danger={state === 'error'}
|
||||
|
||||
+8
-2
@@ -65,13 +65,19 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Modal {error} size="big" bind:show={showEdit} onSubmit={submit} icon={option?.icon}>
|
||||
<Modal
|
||||
{error}
|
||||
size="big"
|
||||
bind:show={showEdit}
|
||||
onSubmit={submit}
|
||||
icon={option?.icon}
|
||||
iconNotMobile={option?.type === 'relationship'}>
|
||||
<svelte:fragment slot="title">
|
||||
<div class="u-flex u-cross-center u-gap-8">
|
||||
{option?.name}
|
||||
{#if option?.type === 'relationship'}
|
||||
<div class="tag eyebrow-heading-3">
|
||||
<span class="text u-x-small">Beta</span>
|
||||
<span class="text u-x-small">Experimental</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
+8
-2
@@ -66,13 +66,19 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Modal {error} size="big" bind:show={showCreate} onSubmit={submit} icon={$option?.icon}>
|
||||
<Modal
|
||||
{error}
|
||||
size="big"
|
||||
bind:show={showCreate}
|
||||
onSubmit={submit}
|
||||
icon={$option?.icon}
|
||||
iconNotMobile={selectedOption === 'Relationship'}>
|
||||
<svelte:fragment slot="title">
|
||||
{#if selectedOption === 'Relationship'}
|
||||
<span class="u-flex u-gap-16 u-cross-center">
|
||||
{selectedOption}
|
||||
<div class="tag eyebrow-heading-3">
|
||||
<span class="text u-x-small">Beta</span>
|
||||
<span class="text u-x-small">Experimental</span>
|
||||
</div>
|
||||
</span>
|
||||
{:else}
|
||||
|
||||
Reference in new issue
Block a user