File tree Expand file tree Collapse file tree
apple-notes/(notes)/@modal/[note_id]
(messages)/@modal/[message_id]
chats/(chats)/@modal/[chat_id] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export function NoteDrawer({ note }: Props) {
5353 Pinned
5454 </ div >
5555 ) }
56+ < InfoRow label = "Note ID" value = { String ( note . noteId ) } copyable />
5657 { folderName && < InfoRow label = "Folder" value = { folderName } /> }
5758 { accountName && < InfoRow label = "Account" value = { accountName } /> }
5859 < InfoRow
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export function MessageDrawer({ message }: Props) {
7474 return (
7575 < Drawer title = "Message Details" >
7676 < div className = "space-y-4" >
77+ < InfoRow label = "Message ID" value = { message . id } copyable />
7778 < DemoBlur >
7879 < InfoRow label = "Contact" value = { decryptedContact } copyable />
7980 </ DemoBlur >
Original file line number Diff line number Diff line change 11"use client"
22
33import { useRouter } from "next/navigation"
4- import { NavTabs } from "@/ui/NavTabs"
4+ import { NavTabs } from "@/ui/indices/ NavTabs"
55import { PageHeader } from "@/ui/indices/PageHeader"
66import { deleteAllIMessages } from "./(messages)/actions"
77
Original file line number Diff line number Diff line change 11"use client"
22
33import { useEffect , useState } from "react"
4+ import { CopyButton } from "@/ui/CopyButton"
45import { DemoBlur } from "@/ui/DemoBlur"
56import { Drawer } from "@/ui/drawers/Drawer"
67import { GroupIcon } from "@/ui/icons"
@@ -99,13 +100,19 @@ function ChatInfo({
99100 ) }
100101 </ div >
101102 </ div >
102- < div className = "mt-3 flex gap-4 text-xs text-secondary" >
103- < span > { chat . messageCount . toLocaleString ( ) } messages</ span >
104- { chat . lastMessageDate && (
105- < span >
106- Last: { new Date ( chat . lastMessageDate ) . toLocaleDateString ( ) }
107- </ span >
108- ) }
103+ < div className = "mt-3 space-y-1 text-xs text-secondary" >
104+ < div className = "flex gap-4" >
105+ < span > { chat . messageCount . toLocaleString ( ) } messages</ span >
106+ { chat . lastMessageDate && (
107+ < span >
108+ Last: { new Date ( chat . lastMessageDate ) . toLocaleDateString ( ) }
109+ </ span >
110+ ) }
111+ </ div >
112+ < div className = "flex items-center gap-1.5 font-mono text-secondary" >
113+ { chat . chatId }
114+ < CopyButton text = { chat . chatId } size = { 12 } />
115+ </ div >
109116 </ div >
110117 </ div >
111118 )
Original file line number Diff line number Diff line change 11"use client"
22
33import { useRouter } from "next/navigation"
4- import { NavTabs } from "@/ui/NavTabs"
4+ import { NavTabs } from "@/ui/indices/ NavTabs"
55import { PageHeader } from "@/ui/indices/PageHeader"
66import { deleteAllWhatsappMessages } from "./(messages)/actions"
77
File renamed without changes.
You can’t perform that action at this time.
0 commit comments