diff --git a/packages/app/src/components/content/NostrDMs.vue b/packages/app/src/components/content/NostrDMs.vue new file mode 100644 index 00000000..eb9adb86 --- /dev/null +++ b/packages/app/src/components/content/NostrDMs.vue @@ -0,0 +1,209 @@ + + + + + + + + + + + + {{ activeThread.contactName }} + {{ activeThread.contactPubkey }} + + + + + + + {{ msg.content }} + {{ formatTime(msg.created_at) }} + + + + + + + + + + Send + + + + + + + + + + Messages + + {{ showNewDM ? 'Cancel' : 'New' }} + + + + + + + + Start conversation + + + + + + + Sign in with Nostr to use DMs + + + + Loading messages... + + + + No messages yet + + + + + + {{ thread.contactName.charAt(0).toUpperCase() }} + + + + + {{ thread.contactName }} + + + {{ formatTime(thread.lastMessage.created_at) }} + + + + {{ thread.lastMessage.content }} + + + + + + + + + + diff --git a/packages/app/src/components/content/NostrGrid.vue b/packages/app/src/components/content/NostrGrid.vue index f3ceaabd..08847073 100644 --- a/packages/app/src/components/content/NostrGrid.vue +++ b/packages/app/src/components/content/NostrGrid.vue @@ -1,5 +1,25 @@ + + + + {{ tab.label }} + + + + + + + + @@ -164,11 +184,13 @@ No notes match your search +
{{ activeThread.contactName }}
{{ activeThread.contactPubkey }}
{{ msg.content }}
{{ formatTime(msg.created_at) }}
Sign in with Nostr to use DMs
Loading messages...
No messages yet
+ {{ thread.lastMessage.content }} +
No notes match your search