[GH-ISSUE #3235] [enhancement]: The Environment selection is contraintuitive and the current environment is not visible during request sending #1071

Closed
opened 2026-03-16 18:23:08 +03:00 by kerem · 4 comments
Owner

Originally created by @dakujem on GitHub (Aug 4, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3235

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

It took me over a dozen of minutes to figure out how to "select an environment" in a new collection I have just created.

I would click the 3 dots on each environment, I would search the UI for a global toggle, and to no avail.
image

I would expect a global toggle, that is always visible in the UI, like the "Workspace" toggle.

I may be biased by Postman that I have been using for almost a decade now, but it really is important to me to be able to tell what environment I'm running the requests against. In fact, to see the Environemnt is more important to me than to see the workspace itself.

Steps to reproduce

Try to guess what environemnt is in use.
Then try to change the environment.

Environment

Production

Version

Cloud

Originally created by @dakujem on GitHub (Aug 4, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3235 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior It took me over a dozen of minutes to figure out how to "select an environment" in a new collection I have just created. I would click the 3 dots on each environment, I would search the UI for a global toggle, and to no avail. ![image](https://github.com/hoppscotch/hoppscotch/assets/443067/bb8b0927-9776-41e3-be1d-c7f89c875a63) I would expect a global toggle, that is **always visible in the UI**, like the "Workspace" toggle. I may be biased by Postman that I have been using for almost a decade now, but it really is **important** to me to be able to tell what environment I'm running the requests against. In fact, to see the Environemnt is more important to me than to see the workspace itself. ### Steps to reproduce Try to guess what environemnt is in use. Then try to change the environment. ### Environment Production ### Version Cloud
kerem 2026-03-16 18:23:08 +03:00
Author
Owner

@liyasthomas commented on GitHub (Aug 4, 2023):

It seems you're using an outdated version of Hoppscotch.
If you're on Hoppscotch Cloud instance do a hard refresh (CMD+Shift+R) to fetch the latest deployment.

Here's a screenshot of the latest Hoppscotch Cloud instance with an improved Global Environment Selector:

Screenshot 2023-08-03 at 9 15 07 PM copy
<!-- gh-comment-id:1665268499 --> @liyasthomas commented on GitHub (Aug 4, 2023): It seems you're using an outdated version of Hoppscotch. If you're on [Hoppscotch Cloud](https://hoppscotch.io) instance do a hard refresh (<kbd>CMD</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd>) to fetch the latest deployment. Here's a screenshot of the latest Hoppscotch Cloud instance with an improved Global Environment Selector: <img width="1470" alt="Screenshot 2023-08-03 at 9 15 07 PM copy" src="https://github.com/hoppscotch/hoppscotch/assets/10395817/b7ea420d-d18d-4583-8b2d-9b4d0dcc4bb3">
Author
Owner

@dakujem commented on GitHub (Aug 4, 2023):

Yeah! That worked.... But ... Why did I have to hard reload? 🤔

<!-- gh-comment-id:1665468886 --> @dakujem commented on GitHub (Aug 4, 2023): Yeah! That worked.... But ... Why did I have to hard reload? 🤔
Author
Owner

@liyasthomas commented on GitHub (Aug 4, 2023):

Hoppscotch is a PWA, with offline-cache capabilities. Hoppscotch will load the cache-first version of web app and after a refresh it fetches the latest version.

<!-- gh-comment-id:1665491595 --> @liyasthomas commented on GitHub (Aug 4, 2023): Hoppscotch is a [PWA](https://web.dev/progressive-web-apps), with offline-cache capabilities. Hoppscotch will load the cache-first version of web app and after a refresh it fetches the latest version.
Author
Owner

@dakujem commented on GitHub (Aug 8, 2023):

I know how it works, the question is, why does it not offer a way to reload to fetch the update? Some sites prompt for update (vue docs), other sites refresh when left inactive (toggle, messenger).

<!-- gh-comment-id:1670358344 --> @dakujem commented on GitHub (Aug 8, 2023): I know how it works, the question is, why does it not offer a way to reload to fetch the update? Some sites prompt for update (vue docs), other sites refresh when left inactive (toggle, messenger).
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#1071
No description provided.