mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[PR #2974] [MERGED] refactor: add optional ids to environments #4167
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#4167
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/2974
Author: @amk-dev
Created: 4/8/2023
Status: ✅ Merged
Merged: 4/9/2023
Merged by: @AndrewBastin
Base:
staging← Head:refactor/add-ids-to-env-store📝 Commits (2)
2c86d1bfeat: add id field to Environmentd6788a9fix: do not explicitly use undefined for id📊 Changes
5 files changed (+98 additions, -12 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/environments/my/Details.vue(+15 -1)📝
packages/hoppscotch-common/src/components/environments/my/Environment.vue(+3 -2)📝
packages/hoppscotch-common/src/helpers/RequestRunner.ts(+1 -1)📝
packages/hoppscotch-common/src/newstore/environments.ts(+78 -8)📝
packages/hoppscotch-data/src/environment.ts(+1 -0)📄 Description
Before
The env store didn't have ids for environments, this created challenges when syncing these changes to the backend.
After
This PR adds ids to the environments store, so hoppscotch platform can use ids for syncing if needed. also this change is kept backward compatible.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.