[PR #3039] [MERGED] fix: reset envs when user switches workspaces #4195

Closed
opened 2026-03-17 01:45:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3039
Author: @nivedin
Created: 5/8/2023
Status: Merged
Merged: 5/10/2023
Merged by: @AndrewBastin

Base: release/2023.4.2Head: fix/switch-workspace-env-bug


📝 Commits (4)

  • f04149d docs: updated screenshots (#3046)
  • a52ef2d refactor: move env selector to a component
  • 252fe9e fix: reset env when workspace change
  • 44ef516 chore: fix type issues

📊 Changes

6 files changed (+192 additions, -181 deletions)

View changed files

📝 packages/hoppscotch-common/public/banner.png (+0 -0)
📝 packages/hoppscotch-common/public/images/banner-dark.png (+0 -0)
📝 packages/hoppscotch-common/public/images/banner-light.png (+0 -0)
📝 packages/hoppscotch-common/src/components.d.ts (+1 -0)
packages/hoppscotch-common/src/components/environments/Selector.vue (+174 -0)
📝 packages/hoppscotch-common/src/components/environments/index.vue (+17 -181)

📄 Description

Closes HFE-39

Description

This PR fixes the issue where the selected environment was not resetting while changing the workspace.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3039 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 5/8/2023 **Status:** ✅ Merged **Merged:** 5/10/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.4.2` ← **Head:** `fix/switch-workspace-env-bug` --- ### 📝 Commits (4) - [`f04149d`](https://github.com/hoppscotch/hoppscotch/commit/f04149d9719c593e0468b74669b778f2b15de5e7) docs: updated screenshots (#3046) - [`a52ef2d`](https://github.com/hoppscotch/hoppscotch/commit/a52ef2de9ac6525875a2a0b6a570144fd3556579) refactor: move env selector to a component - [`252fe9e`](https://github.com/hoppscotch/hoppscotch/commit/252fe9e5d61995dd720ae55f2ec8b244349b4781) fix: reset env when workspace change - [`44ef516`](https://github.com/hoppscotch/hoppscotch/commit/44ef51644ee83bb75a5e9a1c47fdb3fe63e9dbea) chore: fix type issues ### 📊 Changes **6 files changed** (+192 additions, -181 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/public/banner.png` (+0 -0) 📝 `packages/hoppscotch-common/public/images/banner-dark.png` (+0 -0) 📝 `packages/hoppscotch-common/public/images/banner-light.png` (+0 -0) 📝 `packages/hoppscotch-common/src/components.d.ts` (+1 -0) ➕ `packages/hoppscotch-common/src/components/environments/Selector.vue` (+174 -0) 📝 `packages/hoppscotch-common/src/components/environments/index.vue` (+17 -181) </details> ### 📄 Description Closes HFE-39 ### Description This PR fixes the issue where the selected environment was not resetting while changing the workspace. ### Checks - [X] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:45:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4195
No description provided.