aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/lists/ShareListModal.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-06-01 20:46:41 +0100
committerGitHub <noreply@github.com>2025-06-01 20:46:41 +0100
commitea1d0023bfee55358ebb1a96f3d06e783a219c0d (patch)
tree5bddd451728cb7dd377574a9ea1ea591bca069c4 /apps/web/components/dashboard/lists/ShareListModal.tsx
parent3afe1e21df6dcc0483e74e0db02d9d82af32ecea (diff)
downloadkarakeep-ea1d0023bfee55358ebb1a96f3d06e783a219c0d.tar.zst
feat: Add support for public lists (#1511)
* WIP: public lists * Drop viewing modes * Add the public endpoint for assets * regen the openapi spec * proper handling for different asset types * Add num bookmarks and a no bookmark banner * Correctly set page title * Add a not-found page * merge the RSS and public list endpoints * Add e2e tests for the public endpoints * Redesign the share list modal * Make NEXTAUTH_SECRET not required * propery render text bookmarks * rebase migration * fix public token tests * Add more tests
Diffstat (limited to 'apps/web/components/dashboard/lists/ShareListModal.tsx')
-rw-r--r--apps/web/components/dashboard/lists/ShareListModal.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/lists/ShareListModal.tsx b/apps/web/components/dashboard/lists/ShareListModal.tsx
index 5c7b060e..16668e67 100644
--- a/apps/web/components/dashboard/lists/ShareListModal.tsx
+++ b/apps/web/components/dashboard/lists/ShareListModal.tsx
@@ -14,6 +14,7 @@ import { DialogDescription } from "@radix-ui/react-dialog";
import { ZBookmarkList } from "@karakeep/shared/types/lists";
+import PublicListLink from "./PublicListLink";
import RssLink from "./RssLink";
export function ShareListModal({
@@ -52,7 +53,8 @@ export function ShareListModal({
<DialogHeader>
<DialogTitle>{t("lists.share_list")}</DialogTitle>
</DialogHeader>
- <DialogDescription className="mt-4 flex flex-col gap-2">
+ <DialogDescription className="mt-4 space-y-6">
+ <PublicListLink list={list} />
<RssLink listId={list.id} />
</DialogDescription>
<DialogFooter className="sm:justify-end">