From af3a587acaf641007c410e61579eeefe4836e8d7 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Mon, 19 Jan 2026 00:29:47 +0000 Subject: fix(ui): Improve visual consistency in all lists and highlights page --- apps/web/app/dashboard/highlights/page.tsx | 16 ++++++++-------- apps/web/app/dashboard/lists/page.tsx | 15 ++++++++++++--- apps/web/components/dashboard/lists/AllListsView.tsx | 9 +-------- apps/web/components/dashboard/lists/EditListModal.tsx | 2 ++ .../dashboard/lists/PendingInvitationsCard.tsx | 8 ++++++-- 5 files changed, 29 insertions(+), 21 deletions(-) diff --git a/apps/web/app/dashboard/highlights/page.tsx b/apps/web/app/dashboard/highlights/page.tsx index 5945de00..ed0b16c0 100644 --- a/apps/web/app/dashboard/highlights/page.tsx +++ b/apps/web/app/dashboard/highlights/page.tsx @@ -1,6 +1,5 @@ import type { Metadata } from "next"; import AllHighlights from "@/components/dashboard/highlights/AllHighlights"; -import { Separator } from "@/components/ui/separator"; import { useTranslation } from "@/lib/i18n/server"; import { api } from "@/server/api/client"; import { Highlighter } from "lucide-react"; @@ -18,13 +17,14 @@ export default async function HighlightsPage() { const { t } = await useTranslation(); const highlights = await api.highlights.getAll({}); return ( -
- - - {t("common.highlights")} - - - +
+
+ +

{t("common.highlights")}

+
+
+ +
); } diff --git a/apps/web/app/dashboard/lists/page.tsx b/apps/web/app/dashboard/lists/page.tsx index 7950cd76..2f9e54c6 100644 --- a/apps/web/app/dashboard/lists/page.tsx +++ b/apps/web/app/dashboard/lists/page.tsx @@ -1,8 +1,10 @@ import AllListsView from "@/components/dashboard/lists/AllListsView"; +import { EditListModal } from "@/components/dashboard/lists/EditListModal"; import { PendingInvitationsCard } from "@/components/dashboard/lists/PendingInvitationsCard"; -import { Separator } from "@/components/ui/separator"; +import { Button } from "@/components/ui/button"; import { useTranslation } from "@/lib/i18n/server"; import { api } from "@/server/api/client"; +import { Plus } from "lucide-react"; export default async function ListsPage() { // oxlint-disable-next-line rules-of-hooks @@ -11,10 +13,17 @@ export default async function ListsPage() { return (
+
+

📋 {t("lists.all_lists")}

+ + + +
-

📋 {t("lists.all_lists")}

-
diff --git a/apps/web/components/dashboard/lists/AllListsView.tsx b/apps/web/components/dashboard/lists/AllListsView.tsx index 7a7c9504..52d65756 100644 --- a/apps/web/components/dashboard/lists/AllListsView.tsx +++ b/apps/web/components/dashboard/lists/AllListsView.tsx @@ -2,7 +2,6 @@ import { useMemo, useState } from "react"; import Link from "next/link"; -import { EditListModal } from "@/components/dashboard/lists/EditListModal"; import { Button } from "@/components/ui/button"; import { Collapsible, @@ -10,7 +9,7 @@ import { CollapsibleTriggerChevron, } from "@/components/ui/collapsible"; import { useTranslation } from "@/lib/i18n/client"; -import { MoreHorizontal, Plus } from "lucide-react"; +import { MoreHorizontal } from "lucide-react"; import type { ZBookmarkList } from "@karakeep/shared/types/lists"; import { @@ -89,12 +88,6 @@ export default function AllListsView({ return (
    - - - - + - {t("lists.invitations.pending")} ({invitations.length}) + {t("lists.invitations.pending")} + + + {invitations.length} + {t("lists.invitations.description")} -- cgit v1.2.3-70-g09d2