mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3235] [enhancement]: The Environment selection is contraintuitive and the current environment is not visible during request sending #1071
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1071
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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.

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
@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:
@dakujem commented on GitHub (Aug 4, 2023):
Yeah! That worked.... But ... Why did I have to hard reload? 🤔
@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.
@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).