mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #5744] feat(common): import global variables from postman #5335
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#5335
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/5744
Author: @AaronFortG
Created: 1/4/2026
Status: 🔄 Open
Base:
main← Head:feat/import-global-variables-from-postman📝 Commits (9)
3169f42fix: removed the default query value from the in parameter of the auth.apikey as it was empty4dce9eaMerge pull request #1 from AaronFortG/fix/auth-method-import3a397d2Merge branch 'hoppscotch:main' into maine3ce5cbfeat(globals): add support for import global variables from Postmane220f48feat(globals): hide import/export from/to Gist when using Global Variables, which does not existfba27b1fix(import): parse json file for insomnia v5 formata154c79fix(import): allow distinguish between global and normal environments when importing files03cf834fix(import): store globals and other environments separatelyb08facbfeat(import): allow updating current value when importing global variables📊 Changes
10 files changed (+362 additions, -88 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+3 -1)📝
packages/hoppscotch-common/src/components/environments/ImportExport.vue(+169 -25)📝
packages/hoppscotch-common/src/components/environments/index.vue(+13 -0)📝
packages/hoppscotch-common/src/components/environments/my/Details.vue(+31 -2)📝
packages/hoppscotch-common/src/components/environments/my/index.vue(+1 -0)📝
packages/hoppscotch-common/src/components/environments/teams/index.vue(+1 -0)📝
packages/hoppscotch-common/src/helpers/actions.ts(+10 -9)📝
packages/hoppscotch-common/src/helpers/import-export/import/hoppEnv.ts(+8 -1)📝
packages/hoppscotch-common/src/helpers/import-export/import/insomnia/insomniaEnv.ts(+100 -35)📝
packages/hoppscotch-common/src/helpers/import-export/import/postmanEnv.ts(+26 -15)📄 Description
Closes #5668
What's changed
Notes to reviewers
Summary by cubic
Add import/export for Global variables, including importing Postman globals and exporting Global as JSON. Updates all importers to separate globals from environments and merges imported globals safely into existing ones.
New Features
Bug Fixes
Written for commit
b08facb392. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.