From a00d502acbec98fd6e6a84df3273d68b8189fa99 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 12 May 2023 08:04:34 +0100 Subject: [PATCH] Add title attribute to reveal full screen URLs when hovering in screen list panel --- packages/builder/src/components/common/NavItem.svelte | 3 ++- .../[screenId]/screens/_components/ScreenListPanel.svelte | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/common/NavItem.svelte b/packages/builder/src/components/common/NavItem.svelte index 1fd43e2c70..73a8d3d647 100644 --- a/packages/builder/src/components/common/NavItem.svelte +++ b/packages/builder/src/components/common/NavItem.svelte @@ -17,6 +17,7 @@ export let highlighted = false export let rightAlignIcon = false export let id + export let showTooltip = false const scrollApi = getContext("scroll") const dispatch = createEventDispatcher() @@ -84,7 +85,7 @@ {/if} -
{text}
+
{text}
{#if withActions}
diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenListPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenListPanel.svelte index a6fd9089b1..06f9f86eb6 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenListPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenListPanel.svelte @@ -59,6 +59,7 @@ text={screen.routing.route} on:click={() => store.actions.screens.select(screen._id)} rightAlignIcon + showTooltip >