From b149cc1666885d2baf3a46ffba38c75f6d3d1034 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 11 Mar 2026 16:11:33 +0000 Subject: [PATCH] Allow copying of text from the AI Assistant chat panel Fixes #9738 --- docs/en_US/release_notes_9_14.rst | 1 + .../sqleditor/static/js/components/sections/NLQChatPanel.jsx | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/en_US/release_notes_9_14.rst b/docs/en_US/release_notes_9_14.rst index f841dcd5cd5..36e829014ac 100644 --- a/docs/en_US/release_notes_9_14.rst +++ b/docs/en_US/release_notes_9_14.rst @@ -31,3 +31,4 @@ Bug fixes | `Issue #9279 `_ - Fixed an issue where OAuth2 authentication fails with 'object has no attribute' if OAUTH2_AUTO_CREATE_USER is False. | `Issue #9392 `_ - Ensure that the Geometry Viewer refreshes when re-running queries or switching geometry columns, preventing stale data from being displayed. | `Issue #9721 `_ - Fixed an issue where permissions page is not completely accessible on full scroll. + | `Issue #9738 `_ - Allow copying of text from the AI Assistant chat panel. diff --git a/web/pgadmin/tools/sqleditor/static/js/components/sections/NLQChatPanel.jsx b/web/pgadmin/tools/sqleditor/static/js/components/sections/NLQChatPanel.jsx index 5bbd2c413bd..44437ff7e9a 100644 --- a/web/pgadmin/tools/sqleditor/static/js/components/sections/NLQChatPanel.jsx +++ b/web/pgadmin/tools/sqleditor/static/js/components/sections/NLQChatPanel.jsx @@ -65,6 +65,7 @@ const MessagesArea = styled('div')(({ theme }) => ({ display: 'flex', flexDirection: 'column', gap: theme.spacing(1), + userSelect: 'text', })); const MessageBubble = styled(Paper)(({ theme, isuser }) => ({