[PR #2922] [MERGED] feat: global workspace selector #4145

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2922
Author: @nivedin
Created: 2/13/2023
Status: Merged
Merged: 2/24/2023
Merged by: @AndrewBastin

Base: stagingHead: feat/workspace-selector


📝 Commits (10+)

  • a21fe4b chore: add fonts to ui package [skip ci]
  • e6f29b0 chore: replace material-icons with lucide-icons
  • 45a6bbf feat: workspace selector
  • a2cf668 chore: workspace selector btn UI change
  • 3d4b4bf chore: added component for current workspace
  • 787cb0b chore: minor changes
  • f101a28 refactor: fixed some the coll/env workspace flow
  • ea77dfa chore: removed the reduntend code
  • 59dffad chore: minor ui improvements
  • 33ef242 refactor: current workspace label

📊 Changes

35 files changed (+1126 additions, -804 deletions)

View changed files

📝 packages/hoppscotch-common/assets/scss/styles.scss (+2 -1)
📝 packages/hoppscotch-common/locales/en.json (+10 -1)
📝 packages/hoppscotch-common/src/components.d.ts (+156 -153)
📝 packages/hoppscotch-common/src/components/app/Footer.vue (+2 -2)
📝 packages/hoppscotch-common/src/components/app/Header.vue (+216 -38)
packages/hoppscotch-common/src/components/app/Navigation.vue (+33 -0)
📝 packages/hoppscotch-common/src/components/collections/TeamCollections.vue (+2 -2)
packages/hoppscotch-common/src/components/collections/TeamSelect.vue (+0 -167)
📝 packages/hoppscotch-common/src/components/collections/index.vue (+101 -134)
packages/hoppscotch-common/src/components/environments/ChooseType.vue (+0 -169)
📝 packages/hoppscotch-common/src/components/environments/index.vue (+77 -16)
📝 packages/hoppscotch-common/src/components/environments/teams/index.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/history/index.vue (+49 -46)
📝 packages/hoppscotch-common/src/components/http/CodegenModal.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/http/Sidebar.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/profile/Picture.vue (+3 -3)
📝 packages/hoppscotch-common/src/components/smart/ChangeLanguage.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/tab/Primary.vue (+5 -3)
📝 packages/hoppscotch-common/src/components/tab/Secondary.vue (+2 -2)
packages/hoppscotch-common/src/components/teams/MemberStack.vue (+94 -0)

...and 15 more files

📄 Description

Description

This PR adds a feature in the REST section which enables the user to switch between the Personal/ Team workspace globally. So the user can work on a particular workspace efficiently.

Before

image

Previously there was a tab to select Personal and Team collection/ environments and a dropdown for selecting teams.

After

image

Introduce a global selector where users can either select Personal or Team 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/2922 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 2/13/2023 **Status:** ✅ Merged **Merged:** 2/24/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `staging` ← **Head:** `feat/workspace-selector` --- ### 📝 Commits (10+) - [`a21fe4b`](https://github.com/hoppscotch/hoppscotch/commit/a21fe4bca51cf5a1283decd9da21cd248e906397) chore: add fonts to ui package [skip ci] - [`e6f29b0`](https://github.com/hoppscotch/hoppscotch/commit/e6f29b0e84cb29582abce41bae597f1b6bb7f59c) chore: replace material-icons with lucide-icons - [`45a6bbf`](https://github.com/hoppscotch/hoppscotch/commit/45a6bbff877919290371ae958d08770d8eb32bac) feat: workspace selector - [`a2cf668`](https://github.com/hoppscotch/hoppscotch/commit/a2cf66898d2b389109d38dfa9be738e3045db37b) chore: workspace selector btn UI change - [`3d4b4bf`](https://github.com/hoppscotch/hoppscotch/commit/3d4b4bf0f631f2d37cf12f7e73c8de0500ba5ecc) chore: added component for current workspace - [`787cb0b`](https://github.com/hoppscotch/hoppscotch/commit/787cb0b3ee859c8d32c669a978adaec1eb4b4ce0) chore: minor changes - [`f101a28`](https://github.com/hoppscotch/hoppscotch/commit/f101a283dd26e7e8df528561ff57aad19cef6ad0) refactor: fixed some the coll/env workspace flow - [`ea77dfa`](https://github.com/hoppscotch/hoppscotch/commit/ea77dfa1b1ce1527e2a06120d07ac8bbde8dcbf5) chore: removed the reduntend code - [`59dffad`](https://github.com/hoppscotch/hoppscotch/commit/59dffad1d81f641719c34bb46beafbc05f60aa2c) chore: minor ui improvements - [`33ef242`](https://github.com/hoppscotch/hoppscotch/commit/33ef2425c641609a3b7b0947195cc699a48424e3) refactor: current workspace label ### 📊 Changes **35 files changed** (+1126 additions, -804 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/assets/scss/styles.scss` (+2 -1) 📝 `packages/hoppscotch-common/locales/en.json` (+10 -1) 📝 `packages/hoppscotch-common/src/components.d.ts` (+156 -153) 📝 `packages/hoppscotch-common/src/components/app/Footer.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/components/app/Header.vue` (+216 -38) ➕ `packages/hoppscotch-common/src/components/app/Navigation.vue` (+33 -0) 📝 `packages/hoppscotch-common/src/components/collections/TeamCollections.vue` (+2 -2) ➖ `packages/hoppscotch-common/src/components/collections/TeamSelect.vue` (+0 -167) 📝 `packages/hoppscotch-common/src/components/collections/index.vue` (+101 -134) ➖ `packages/hoppscotch-common/src/components/environments/ChooseType.vue` (+0 -169) 📝 `packages/hoppscotch-common/src/components/environments/index.vue` (+77 -16) 📝 `packages/hoppscotch-common/src/components/environments/teams/index.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/history/index.vue` (+49 -46) 📝 `packages/hoppscotch-common/src/components/http/CodegenModal.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/http/Sidebar.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/profile/Picture.vue` (+3 -3) 📝 `packages/hoppscotch-common/src/components/smart/ChangeLanguage.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/tab/Primary.vue` (+5 -3) 📝 `packages/hoppscotch-common/src/components/tab/Secondary.vue` (+2 -2) ➕ `packages/hoppscotch-common/src/components/teams/MemberStack.vue` (+94 -0) _...and 15 more files_ </details> ### 📄 Description ### Description This PR adds a feature in the REST section which enables the user to switch between the Personal/ Team workspace globally. So the user can work on a particular workspace efficiently. #### Before ![image](https://user-images.githubusercontent.com/53208152/218536077-e3811fb5-02ae-4ab2-a686-3e68e0f41ae7.png) Previously there was a tab to select Personal and Team collection/ environments and a dropdown for selecting teams. #### After ![image](https://user-images.githubusercontent.com/53208152/218536276-9004d01c-c6d0-4e56-82b8-3eff90e02442.png) Introduce a global selector where users can either select Personal or Team 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:42:21 +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#4145
No description provided.