mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5187] [MERGED] chore: resolve global env in team env and tooltip UI update #5100
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#5100
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5187
Author: @nivedin
Created: 6/23/2025
Status: ✅ Merged
Merged: 6/25/2025
Merged by: @jamesgeorge007
Base:
next← Head:fix/tooltip-env-bug📝 Commits (6)
b9d2cd6chore: resolve global env in team enva1c4543chore: improve environment tooltip UI99e2546chore: cleanupd4b820afix: predefined var tooltip UI updatece5a662chore: add initial current val in selector59e0729chore: cleanup📊 Changes
11 files changed (+303 additions, -135 deletions)
View changed files
📝
packages/hoppscotch-common/assets/scss/styles.scss(+1 -2)📝
packages/hoppscotch-common/locales/en.json(+2 -0)📝
packages/hoppscotch-common/src/components/environments/Selector.vue(+28 -6)📝
packages/hoppscotch-common/src/components/environments/teams/Details.vue(+10 -1)📝
packages/hoppscotch-common/src/components/smart/EnvInput.vue(+10 -6)📝
packages/hoppscotch-common/src/helpers/editor/extensions/HoppEnvironment.ts(+122 -41)📝
packages/hoppscotch-common/src/helpers/editor/extensions/HoppPredefinedVariables.ts(+43 -12)📝
packages/hoppscotch-common/src/newstore/environments.ts(+73 -43)📝
packages/hoppscotch-common/src/services/inspection/inspectors/__tests__/environment.inspector.spec.ts(+1 -1)📝
packages/hoppscotch-common/src/services/inspection/inspectors/environment.inspector.ts(+11 -9)📝
packages/hoppscotch-data/src/environment/index.ts(+2 -14)📄 Description
Closes HFE-906 #4723
This PR fixes the issue with global environments not getting resolve while using in a shared workspace environment as a nested environment (ref).
This PR also improves the UI of the environment tooltip by including initial and current environment value with proper info about the environment.
https://github.com/user-attachments/assets/b421f081-5f6c-4cd5-b79b-2691281330a6
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.