[PR #4377] [MERGED] feat: import to the current workspace from any team / personal workspace #4771

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4377
Author: @amk-dev
Created: 9/25/2024
Status: Merged
Merged: 9/30/2024
Merged by: @jamesgeorge007

Base: nextHead: feat/import-from-all-collections


📝 Commits (6)

  • 083dc4a feat: import to the current workspace from any team / personal workspace
  • 1c2c4d3 chore: fix copy
  • 9dc3582 chore: remove import from Personal Collections action
  • bda3930 chore: hide Import from Another Workspace action in unauthenticated state
  • 5317974 chore: remove expand widget from Import/Export modal
  • a1e1d82 chore: update copytext casing

📊 Changes

9 files changed (+447 additions, -77 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+8 -1)
📝 packages/hoppscotch-common/src/components.d.ts (+1 -0)
📝 packages/hoppscotch-common/src/components/collections/ImportExport.vue (+20 -16)
📝 packages/hoppscotch-common/src/components/importExport/ImportExportList.vue (+3 -17)
packages/hoppscotch-common/src/components/importExport/ImportExportSteps/AllCollectionImport.vue (+366 -0)
📝 packages/hoppscotch-common/src/helpers/teams/TeamCollection.ts (+21 -0)
📝 packages/hoppscotch-common/src/helpers/teams/TeamCollectionAdapter.ts (+1 -1)
📝 packages/hoppscotch-common/src/helpers/teams/TeamRequest.ts (+21 -0)
📝 packages/hoppscotch-common/src/helpers/teams/TeamsSearch.service.ts (+6 -42)

📄 Description

Fixs HFE-576

Description

This PR adds a new importer Import from Another Workspace, which allows the user to import collections between workspaces (hidden in the unauthenticated state). The Import from Personal Collections action has been removed in favour of the above. Also, the expand widget in the Import/Export collections/environments modal has been removed.

Preview

Import/Export collections/environments modal without the expand widget

image image

🔄 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/4377 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 9/25/2024 **Status:** ✅ Merged **Merged:** 9/30/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/import-from-all-collections` --- ### 📝 Commits (6) - [`083dc4a`](https://github.com/hoppscotch/hoppscotch/commit/083dc4a94cc4a6ebb705215d35e7b0e5f6ba7aff) feat: import to the current workspace from any team / personal workspace - [`1c2c4d3`](https://github.com/hoppscotch/hoppscotch/commit/1c2c4d39a05d8f376f7b4a6f6202ead7df29f7b5) chore: fix copy - [`9dc3582`](https://github.com/hoppscotch/hoppscotch/commit/9dc3582d75ad7e3504190b40a7816b436d49439f) chore: remove import from `Personal Collections` action - [`bda3930`](https://github.com/hoppscotch/hoppscotch/commit/bda3930b26db47a4130c371b81bea955978f8dba) chore: hide `Import from Another Workspace` action in unauthenticated state - [`5317974`](https://github.com/hoppscotch/hoppscotch/commit/531797401b01d297640572ff93f958bff9535157) chore: remove expand widget from `Import/Export` modal - [`a1e1d82`](https://github.com/hoppscotch/hoppscotch/commit/a1e1d82e951ef2f94e6437134006783ba83390f3) chore: update copytext casing ### 📊 Changes **9 files changed** (+447 additions, -77 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+8 -1) 📝 `packages/hoppscotch-common/src/components.d.ts` (+1 -0) 📝 `packages/hoppscotch-common/src/components/collections/ImportExport.vue` (+20 -16) 📝 `packages/hoppscotch-common/src/components/importExport/ImportExportList.vue` (+3 -17) ➕ `packages/hoppscotch-common/src/components/importExport/ImportExportSteps/AllCollectionImport.vue` (+366 -0) 📝 `packages/hoppscotch-common/src/helpers/teams/TeamCollection.ts` (+21 -0) 📝 `packages/hoppscotch-common/src/helpers/teams/TeamCollectionAdapter.ts` (+1 -1) 📝 `packages/hoppscotch-common/src/helpers/teams/TeamRequest.ts` (+21 -0) 📝 `packages/hoppscotch-common/src/helpers/teams/TeamsSearch.service.ts` (+6 -42) </details> ### 📄 Description Fixs HFE-576 **Description** This PR adds a new importer `Import from Another Workspace`, which allows the user to import collections between workspaces (hidden in the unauthenticated state). The `Import from Personal Collections` action has been removed in favour of the above. Also, the expand widget in the `Import/Export` collections/environments modal has been removed. ### Preview > Import/Export collections/environments modal without the expand widget <img width="461" alt="image" src="https://github.com/user-attachments/assets/7cac71f2-cbd7-41cf-bb88-ae948fc41f1b"> <img width="458" alt="image" src="https://github.com/user-attachments/assets/d2db589d-09c9-44df-a5fd-01dc5f218d06"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:16:45 +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#4771
No description provided.