mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2512] [MERGED] feat: team environments #3861
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#3861
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/2512
Author: @nivedin
Created: 7/14/2022
Status: ✅ Merged
Merged: 10/7/2022
Merged by: @AndrewBastin
Base:
main← Head:feat/team-environment📝 Commits (10+)
ae005b8feat: added team-environment graphQl mutationsce0ef53feat: added team-environment graphQl queriesfa51ee4feat: added team-environment graphQl subscriptions7d417e4feat: added team-environment adapter93beda1feat: added new myEnvironment and teamEnvironment UIb4e31b8fix: reset active environment tab when logout13e86a3fix: remove console statement1430978feat: store team environments in the store6d2ebc2refactor: update env query to fetch teamID3d2621crefactor: update environment store to load current team env📊 Changes
28 files changed (+1883 additions, -224 deletions)
View changed files
📝
packages/hoppscotch-app/assets/scss/styles.scss(+9 -0)📝
packages/hoppscotch-app/locales/en.json(+7 -0)📝
packages/hoppscotch-app/src/components.d.ts(+7 -3)➕
packages/hoppscotch-app/src/components/environments/ChooseType.vue(+149 -0)📝
packages/hoppscotch-app/src/components/environments/ImportExport.vue(+97 -10)📝
packages/hoppscotch-app/src/components/environments/index.vue(+248 -121)📝
packages/hoppscotch-app/src/components/environments/my/Details.vue(+17 -25)📝
packages/hoppscotch-app/src/components/environments/my/Environment.vue(+15 -11)➕
packages/hoppscotch-app/src/components/environments/my/index.vue(+121 -0)➕
packages/hoppscotch-app/src/components/environments/teams/Details.vue(+340 -0)➕
packages/hoppscotch-app/src/components/environments/teams/Environment.vue(+176 -0)➕
packages/hoppscotch-app/src/components/environments/teams/index.vue(+177 -0)📝
packages/hoppscotch-app/src/components/http/TestResult.vue(+9 -7)📝
packages/hoppscotch-app/src/helpers/RequestRunner.ts(+25 -6)➕
packages/hoppscotch-app/src/helpers/backend/gql/mutations/CreateDuplicateEnvironment.graphql(+8 -0)➕
packages/hoppscotch-app/src/helpers/backend/gql/mutations/CreateTeamEnvironment.graphql(+7 -0)➕
packages/hoppscotch-app/src/helpers/backend/gql/mutations/DeleteTeamEnvironment.graphql(+3 -0)➕
packages/hoppscotch-app/src/helpers/backend/gql/mutations/UpdateTeamEnvironment.graphql(+7 -0)➕
packages/hoppscotch-app/src/helpers/backend/gql/queries/GetTeamEnvironments.graphql(+10 -0)➕
packages/hoppscotch-app/src/helpers/backend/gql/subscriptions/TeamEnvironmentCreated.graphql(+8 -0)...and 8 more files
📄 Description
Closes hoppscotch/internal-issues#2 #2429
Description
This PR introduces a feature that allows users to create team environments. The environment UI is divided into two 'My Environments' and 'Team Environments' same as the collections UI. Users can select the team that they are part of and create, delete, and update the environment variables.
Checks
Additional Information
TODO
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.