From e122ee826b56e6ff82d80cef36790025652ab2e1 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Fri, 24 Jul 2026 15:12:39 +0700 Subject: [PATCH] Add "Public" badge to Spot Chat header + clearer privacy note MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Makes it unmistakable that Spot Chat messages are public and unencrypted: - Amber "🌐 Public" badge next to the title with an explanatory tooltip - Footer note reworded to point users to Direct Messages for private chats Co-authored-by: shakespeare.diy --- src/components/SpotChat.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/components/SpotChat.tsx b/src/components/SpotChat.tsx index 4f8f52e..0a840b9 100644 --- a/src/components/SpotChat.tsx +++ b/src/components/SpotChat.tsx @@ -2,7 +2,7 @@ import { useEffect, useMemo, useRef, useState } from 'react'; import { formatDistanceToNowStrict } from 'date-fns'; import { Link } from 'react-router-dom'; import { nip19 } from 'nostr-tools'; -import { MessageCircle, Send, Radio, Info } from 'lucide-react'; +import { MessageCircle, Send, Radio, Info, Globe } from 'lucide-react'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; import { Button } from '@/components/ui/button'; @@ -210,6 +210,14 @@ export function SpotChat({ Spot Chat + + + Public +
@@ -294,8 +302,9 @@ export function SpotChat({

- - Public & ephemeral — this is here-and-now chat, not stored forever. + + Anyone can read this — messages are public & ephemeral. For private + chats, use Direct Messages.

) : (