mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4216] [MERGED] refactor: make global environment a versioned entity #4709
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#4709
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/4216
Author: @ipalakchopra
Created: 7/28/2024
Status: ✅ Merged
Merged: 9/23/2024
Merged by: @AndrewBastin
Base:
next← Head:main📝 Commits (4)
cd6a24erefactor: created versioned entities for global environmentsed00739chore: schema updates and extend consumptionfea2dc7refactor: update global environment format kept in store9349cd6chore: cleanup📊 Changes
17 files changed (+336 additions, -137 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/environments/Selector.vue(+21 -19)📝
packages/hoppscotch-common/src/components/environments/index.vue(+5 -5)📝
packages/hoppscotch-common/src/components/environments/my/Details.vue(+36 -22)📝
packages/hoppscotch-common/src/components/http/TestResult.vue(+12 -15)📝
packages/hoppscotch-common/src/helpers/RequestRunner.ts(+8 -5)📝
packages/hoppscotch-common/src/newstore/environments.ts(+49 -22)📝
packages/hoppscotch-common/src/services/persistence/__tests__/__mocks__/index.ts(+5 -3)📝
packages/hoppscotch-common/src/services/persistence/__tests__/index.spec.ts(+1 -1)📝
packages/hoppscotch-common/src/services/persistence/index.ts(+11 -11)📝
packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts(+0 -2)➕
packages/hoppscotch-data/src/global-environment/index.ts(+33 -0)➕
packages/hoppscotch-data/src/global-environment/v/0.ts(+25 -0)➕
packages/hoppscotch-data/src/global-environment/v/1.ts(+46 -0)📝
packages/hoppscotch-data/src/index.ts(+1 -0)📝
packages/hoppscotch-selfhost-web/package.json(+1 -0)📝
packages/hoppscotch-selfhost-web/src/platform/environments/environments.platform.ts(+15 -4)📝
pnpm-lock.yaml(+67 -28)📄 Description
This PR introduces a new versioned entity for the global environment.
Partly addresses #4160.
Closes HFE-429.
Schema reference
What's changed
global-environmentdirectory withinhoppscotch-data.verzodas a dependency underhoppscotch-selfhost-web.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.