Skip to content

Allow copying of text from the AI Assistant chat panel#9739

Merged
akshay-joshi merged 2 commits intopgadmin-org:masterfrom
dpage:chat_copy
Mar 16, 2026
Merged

Allow copying of text from the AI Assistant chat panel#9739
akshay-joshi merged 2 commits intopgadmin-org:masterfrom
dpage:chat_copy

Conversation

@dpage
Copy link
Contributor

@dpage dpage commented Mar 11, 2026

Fixes #9738

Summary by CodeRabbit

  • Bug Fixes
    • Enhanced text selection in the AI Assistant chat panel so users can reliably select and copy conversation text. This improves usability when extracting snippets, saving quotes, or sharing chat content outside the app. No other visible behavior changes were introduced.

@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3d0a5433-ed7c-4aa8-99ad-634c04b92656

📥 Commits

Reviewing files that changed from the base of the PR and between b149cc1 and 31f0dc4.

📒 Files selected for processing (2)
  • docs/en_US/release_notes_9_14.rst
  • web/pgadmin/tools/sqleditor/static/js/components/sections/NLQChatPanel.jsx

Walkthrough

Enables text selection in the AI Assistant chat panel's messages area and documents the change in the 9.14 release notes.

Changes

Cohort / File(s) Summary
Documentation
docs/en_US/release_notes_9_14.rst
Adds a bug-fix bullet noting that text can be copied from the AI Assistant chat panel.
UI Styling
web/pgadmin/tools/sqleditor/static/js/components/sections/NLQChatPanel.jsx
Adds userSelect: 'text' to the MessagesArea styled component to allow text selection in chat messages.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title directly and clearly describes the main change: enabling text copying from the AI Assistant chat panel, which matches the primary objective.
Linked Issues check ✅ Passed The pull request implements the requirement from issue #9738 by adding userSelect: 'text' CSS property to enable text selection in the chat messages area.
Out of Scope Changes check ✅ Passed All changes are directly related to the stated objective of enabling text copying from the AI Assistant chat panel; no unrelated modifications are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.

Add a .trivyignore file to your project to customize which findings Trivy reports.

@akshay-joshi akshay-joshi merged commit 34aa360 into pgadmin-org:master Mar 16, 2026
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow copying of text from the AI Assistant chat panel

2 participants