From 6a88e8c4f4d6fa5c393ce27b2040784a74a73b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Kov=C3=A1cs?= <43071496+adam-kov@users.noreply.github.com> Date: Thu, 19 Jan 2023 11:27:16 +0100 Subject: [PATCH 1/3] feat(frontend): Add app preview lock (#1127) * feat(frontend): Add locked state to app preview * change color * add transition --- .../components/apps/editor/AppPreview.svelte | 32 +++++++++++++++---- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/AppPreview.svelte b/frontend/src/lib/components/apps/editor/AppPreview.svelte index 9cc2897309..a2376e98be 100644 --- a/frontend/src/lib/components/apps/editor/AppPreview.svelte +++ b/frontend/src/lib/components/apps/editor/AppPreview.svelte @@ -1,6 +1,7 @@ -
- {#if $appStore.grid} -
- +
+
+ {#if $appStore.grid} +
+ +
+ {/if} +
+ {#if isLocked} + +
isLocked = false} + class="absolute inset-0 center-center bg-black/20 z-50 backdrop-blur-[1px] cursor-pointer" + > +
{/if}
From 6c9daf70021859dcd7cef717bc3acdfa88cffd02 Mon Sep 17 00:00:00 2001 From: Faton Ramadani Date: Thu, 19 Jan 2023 11:52:34 +0100 Subject: [PATCH 2/3] fix(frontend): fix first row selection (#1125) * fix(frontend): fix first row selection * fix(frontend): fix order of conditions --- .../apps/components/table/AppTable.svelte | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/components/apps/components/table/AppTable.svelte b/frontend/src/lib/components/apps/components/table/AppTable.svelte index 9d6cb6bea8..606962dc41 100644 --- a/frontend/src/lib/components/apps/components/table/AppTable.svelte +++ b/frontend/src/lib/components/apps/components/table/AppTable.svelte @@ -1,5 +1,5 @@