[GH-ISSUE #3692] [feature]: set as variable popup appears on test window and wont close on "ESC" button press #1278

Closed
opened 2026-03-16 19:35:02 +03:00 by kerem · 3 comments
Owner

Originally created by @yvz5 on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3692

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I want to write tests and select a text it always shows me the "set as variable" popup window which is very annoying because it doesnt close on "ESC" button press. Furthermore, I don't want to set anything as variable when I am writing a test. I think this popup window should be disabled for the Tests.

Screenshot from 2023-12-22 10-54-27

Steps to reproduce

  1. Create a request
  2. Click on Tests
  3. Write a test
  4. Select a text inside the Tests window
  5. Watch Set as variable popup appear and annoy you

Environment

Production

Version

Local

Originally created by @yvz5 on GitHub (Dec 22, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3692 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I want to write tests and select a text it always shows me the "set as variable" popup window which is very annoying because it doesnt close on "ESC" button press. Furthermore, I don't want to set anything as variable when I am writing a test. I think this popup window should be disabled for the Tests. ![Screenshot from 2023-12-22 10-54-27](https://github.com/hoppscotch/hoppscotch/assets/439370/b711e2fb-f663-4cd4-87e6-1dbc4bee51f7) ### Steps to reproduce 1. Create a request 2. Click on `Tests` 3. Write a test 4. Select a text inside the `Tests` window 5. Watch `Set as variable` popup appear and annoy you ### Environment Production ### Version Local
kerem 2026-03-16 19:35:02 +03:00
Author
Owner

@liyasthomas commented on GitHub (Dec 22, 2023):

This doesn't seem to be a bug since this is an intended behavior. Selecting any text from editor instances asks the user to set the selected text as an environment variable.

It seems this UX can be improved hence, the ability to disable this pop-up in selective editor instances seems a good idea. Welcome to open discussions.

<!-- gh-comment-id:1867533171 --> @liyasthomas commented on GitHub (Dec 22, 2023): This doesn't seem to be a bug since this is an intended behavior. Selecting any text from editor instances asks the user to set the selected text as an environment variable. It seems this UX can be improved hence, the ability to disable this pop-up in selective editor instances seems a good idea. Welcome to open discussions.
Author
Owner

@yvz5 commented on GitHub (Dec 22, 2023):

yes, sorry for confusion. this might be a good feature request

<!-- gh-comment-id:1867616849 --> @yvz5 commented on GitHub (Dec 22, 2023): yes, sorry for confusion. this might be a good feature request
Author
Owner

@anwarulislam commented on GitHub (Mar 5, 2025):

This feature has already been implemented; therefore, I am closing the PR.

<!-- gh-comment-id:2700707522 --> @anwarulislam commented on GitHub (Mar 5, 2025): This feature has already been implemented; therefore, I am closing the PR.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1278
No description provided.