From 9eb0325c7aa843c01248fba3bc897711cd2af226 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 8 Mar 2026 01:29:52 +0000 Subject: [PATCH] fix(frontend): simplify collections view and restore invite access Unify collections and shared items under a single Collections tab while keeping Archive separate, and fix card layering so menus render correctly. Restore invite discoverability by adding navbar access to /invites and add missing i18n keys to prevent raw key labels in collections/invites UI. --- .../src/lib/components/CardCarousel.svelte | 12 +- frontend/src/lib/components/Navbar.svelte | 1 + .../components/cards/CollectionCard.svelte | 34 ++- frontend/src/locales/ar.json | 4 +- frontend/src/locales/de.json | 4 +- frontend/src/locales/en.json | 4 +- frontend/src/locales/es.json | 4 +- frontend/src/locales/fr.json | 4 +- frontend/src/locales/hu.json | 4 +- frontend/src/locales/it.json | 4 +- frontend/src/locales/ja.json | 4 +- frontend/src/locales/ko.json | 4 +- frontend/src/locales/nl.json | 4 +- frontend/src/locales/no.json | 4 +- frontend/src/locales/pl.json | 4 +- frontend/src/locales/pt-br.json | 4 +- frontend/src/locales/ro.json | 4 +- frontend/src/locales/ru.json | 4 +- frontend/src/locales/sk.json | 4 +- frontend/src/locales/sv.json | 4 +- frontend/src/locales/tr.json | 4 +- frontend/src/locales/uk.json | 4 +- frontend/src/locales/zh.json | 4 +- frontend/src/routes/collections/+page.svelte | 255 ++---------------- 24 files changed, 116 insertions(+), 266 deletions(-) diff --git a/frontend/src/lib/components/CardCarousel.svelte b/frontend/src/lib/components/CardCarousel.svelte index 49e62ca4..7e26ae43 100644 --- a/frontend/src/lib/components/CardCarousel.svelte +++ b/frontend/src/lib/components/CardCarousel.svelte @@ -53,21 +53,21 @@ /> {/if} -
+
{#if sortedImages && sortedImages.length > 0} -