Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query manager - copy functionality copies entire JSON component instead of key-value #9615

Open
GrowwithNaveen opened this issue May 6, 2024 · 1 comment

Comments

@GrowwithNaveen
Copy link
Collaborator

Description:
This bug occurs when attempting to copy the text of a JSON key from data within the Query Manager. Instead of copying just the key, the entire component containing the key-value pair is copied. When pasted, the entire JSON object is pasted, requiring manual extraction of the desired key-value pair.

Current behavior:
Copying a JSON key from the Query Manager results in the entire component (instead of key-value pair) being copied.

Expected behavior:
Only the selected JSON key text should be copied, allowing for easy pasting of the specific key without the associated value.

Steps to reproduce:

  1. Open a query containing JSON data within the Query Manager.
  2. Select a specific JSON key within the data.
  3. Copy the selected key (using keyboard shortcut or right-click menu).
  4. Paste the copied content into other code editor input.
  5. Observe that the entire component containing the key-value pair is pasted, not just the key itself.

Attaching a video grab for reference:

Screenshare.-.2024-05-06.3_21_31.PM.mp4
@GrowwithNaveen GrowwithNaveen changed the title Query manager - copy functionality copies entire JSON Component instead of key-value Query manager - copy functionality copies entire JSON component instead of key-value May 6, 2024
@Sadaf-A
Copy link
Contributor

Sadaf-A commented May 6, 2024

Hey @GrowwithNaveen !
I would like to work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants