From 41fb6f95b2d2121c8482cf8f61e93729a72f2552 Mon Sep 17 00:00:00 2001 From: Priyanshubhartistm Date: Fri, 3 Apr 2026 20:41:08 +0530 Subject: [PATCH 1/3] feat: show space name on hover in primary nav (#129) --- src/app/components/PrimaryNavItemSpace.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/components/PrimaryNavItemSpace.svelte b/src/app/components/PrimaryNavItemSpace.svelte index 2b675972..d1ef13b4 100644 --- a/src/app/components/PrimaryNavItemSpace.svelte +++ b/src/app/components/PrimaryNavItemSpace.svelte @@ -1,5 +1,5 @@ -- 2.52.0 From 503c2bbd40b2c90ced72ffe5d9150abfd556ccce Mon Sep 17 00:00:00 2001 From: Priyanshubhartistm Date: Sat, 4 Apr 2026 03:55:58 +0530 Subject: [PATCH 2/3] feat: robust navigation tooltips for Firefox/Zen compatibility (#129) --- src/app.css | 6 ++++ src/lib/components/PrimaryNavItem.svelte | 41 +++++++++++++----------- 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/src/app.css b/src/app.css index e283ad25..ac7f8dfd 100644 --- a/src/app.css +++ b/src/app.css @@ -219,6 +219,12 @@ [data-tip]::before { @apply ellipsize; + background-color: #1f2937 !important; + color: #f9fafb !important; +} + +[data-tip]::after { + border-right-color: #1f2937 !important; } .content-padding-x { diff --git a/src/lib/components/PrimaryNavItem.svelte b/src/lib/components/PrimaryNavItem.svelte index 534bb404..9af5cd72 100644 --- a/src/lib/components/PrimaryNavItem.svelte +++ b/src/lib/components/PrimaryNavItem.svelte @@ -13,32 +13,35 @@ } = $props() const active = $derived($page.url?.pathname?.startsWith(prefix || href || "bogus")) + + const wrapperClass = $derived( + ["relative h-14 w-14 p-1", title ? "tooltip tooltip-right" : ""].filter(Boolean).join(" "), + ) + + const innerClass = $derived( + [ + "flex h-full w-full cursor-pointer items-center justify-center rounded-full transition-colors hover:bg-base-300", + restProps.class, + ] + .filter(Boolean) + .join(" "), + ) -{#if onclick} - -{:else} - - - -{/if} + + {/if} + -- 2.52.0 From 9ae3c8290a1644e690165cccd2cda7b8b66c183b Mon Sep 17 00:00:00 2001 From: Priyanshubhartistm Date: Sat, 4 Apr 2026 23:31:11 +0530 Subject: [PATCH 3/3] style: Navigation tooltip improvements and Firefox fix - Refactor PrimaryNavItem and SecondaryNavItem to use 'cx' utility. - Add tooltip support to SecondaryNavItem and SpaceMenu room items. - Remove hardcoded tooltip colors from app.css. - Fix Firefox PrimaryNav tooltip visibility by increasing z-index and adding isolation: isolate. --- src/app.css | 6 ---- src/app/components/PrimaryNav.svelte | 13 +++----- src/app/components/PrimaryNavSpaces.svelte | 3 +- src/app/components/SpaceMenu.svelte | 7 ++-- src/app/components/SpaceMenuRoomItem.svelte | 3 +- src/lib/components/PrimaryNavItem.svelte | 11 +++--- src/lib/components/SecondaryNavItem.svelte | 37 +++++++++++---------- 7 files changed, 38 insertions(+), 42 deletions(-) diff --git a/src/app.css b/src/app.css index ac7f8dfd..e283ad25 100644 --- a/src/app.css +++ b/src/app.css @@ -219,12 +219,6 @@ [data-tip]::before { @apply ellipsize; - background-color: #1f2937 !important; - color: #f9fafb !important; -} - -[data-tip]::after { - border-right-color: #1f2937 !important; } .content-padding-x { diff --git a/src/app/components/PrimaryNav.svelte b/src/app/components/PrimaryNav.svelte index 32638e94..b199b951 100644 --- a/src/app/components/PrimaryNav.svelte +++ b/src/app/components/PrimaryNav.svelte @@ -32,18 +32,14 @@