Skip to content

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

Open
dpage wants to merge 1 commit intopgadmin-org:masterfrom
dpage:chat_copy
Open

Allow copying of text from the AI Assistant chat panel#9739
dpage wants to merge 1 commit intopgadmin-org:masterfrom
dpage:chat_copy

Conversation

@dpage
Copy link
Contributor

@dpage dpage commented Mar 11, 2026

Fixes #9738

Summary by CodeRabbit

Release Notes

  • Bug Fixes
    • Enhanced text selection in the AI Assistant chat panel, allowing users to easily copy text from conversations.

@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 16904431-9095-41ab-b979-ba49f6e31dc1

📥 Commits

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

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

Walkthrough

This pull request adds the ability to copy text from the AI Assistant chat panel by enabling text selection in the chat messages area and documents this capability in the release notes.

Changes

Cohort / File(s) Summary
Documentation
docs/en_US/release_notes_9_14.rst
Adds a new bullet under Bug fixes describing the ability to copy text from the AI Assistant chat panel.
UI Styling
web/pgadmin/tools/sqleditor/static/js/components/sections/NLQChatPanel.jsx
Enables text selection in the MessagesArea styled component by adding userSelect: 'text' CSS property.

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

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.

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

1 participant