From 1cf7205a81575f9cdc05c25cc26b653743418b2c Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Wed, 4 Feb 2026 18:54:59 +0200 Subject: [PATCH] Add clipboard utility with fallback and show selectable URLs --- .../public-chat-snapshot-row.tsx | 7 +++ surfsense_web/hooks/use-api-key.ts | 60 +++---------------- surfsense_web/lib/utils.ts | 41 +++++++++++++ 3 files changed, 57 insertions(+), 51 deletions(-) diff --git a/surfsense_web/components/public-chat-snapshots/public-chat-snapshot-row.tsx b/surfsense_web/components/public-chat-snapshots/public-chat-snapshot-row.tsx index 696d32466..5f0048100 100644 --- a/surfsense_web/components/public-chat-snapshots/public-chat-snapshot-row.tsx +++ b/surfsense_web/components/public-chat-snapshots/public-chat-snapshot-row.tsx @@ -38,6 +38,13 @@ export function PublicChatSnapshotRow({ {snapshot.message_count} + (e.target as HTMLInputElement).select()} + />