From 6f945361665cd267d4af382b6d38ea97bfa69dc1 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Mon, 8 Dec 2025 20:41:16 +0100 Subject: [PATCH] add ... to sections of publications merge menus on publication headers --- .../PublicationIndex/PublicationIndex.tsx | 93 ++++++++++--------- 1 file changed, 47 insertions(+), 46 deletions(-) diff --git a/src/components/Note/PublicationIndex/PublicationIndex.tsx b/src/components/Note/PublicationIndex/PublicationIndex.tsx index ff9791c..492760c 100644 --- a/src/components/Note/PublicationIndex/PublicationIndex.tsx +++ b/src/components/Note/PublicationIndex/PublicationIndex.tsx @@ -9,13 +9,14 @@ import { generateBech32IdFromATag } from '@/lib/tag' import client from '@/services/client.service' import logger from '@/lib/logger' import { Button } from '@/components/ui/button' -import { MoreVertical, RefreshCw, ArrowUp } from 'lucide-react' +import { RefreshCw, ArrowUp } from 'lucide-react' import indexedDb from '@/services/indexed-db.service' import { isReplaceableEvent } from '@/lib/event' import { useSecondaryPage } from '@/PageManager' import { extractBookMetadata } from '@/lib/bookstr-parser' import { dTagToTitleCase } from '@/lib/event-metadata' import Image from '@/components/Image' +import NoteOptions from '@/components/NoteOptions' interface PublicationReference { coordinate?: string @@ -1329,15 +1330,6 @@ export default function PublicationIndex({ )} - {metadata.summary && (
@@ -1558,18 +1550,21 @@ export default function PublicationIndex({ const effectiveParentImageUrl = !isNested ? metadata.image : parentImageUrl return (
- {!isNested && ( - - )} +
+ {!isNested && ( + + )} + +
) @@ -1580,18 +1575,21 @@ export default function PublicationIndex({ const effectiveParentImageUrl = !isNested ? metadata.image : parentImageUrl return (
- {!isNested && ( - - )} +
+ {!isNested && ( + + )} + +
) @@ -1602,18 +1600,21 @@ export default function PublicationIndex({ const effectiveParentImageUrl = !isNested ? metadata.image : parentImageUrl return (
- {!isNested && ( - - )} +
+ {!isNested && ( + + )} + +
)