[PR #2262] [MERGED] feat: import collections from URL #3692

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2262
Author: @amk-dev
Created: 4/13/2022
Status: Merged
Merged: 5/3/2022
Merged by: @AndrewBastin

Base: mainHead: feat/import-collection-from-url


📝 Commits (10+)

  • 1ab5f78 feat: define importer for url import
  • cb04678 fix: update icon for url importer
  • ee8a346 feat: support single collections and collections array in url import
  • 1272ee3 feat: add page for url import
  • f956955 feat: add basic validations for url import
  • 239918e fix: update type for gist importer
  • 503d24f feat: add url import support for postman, insomnia, openapi
  • 35822ad refactor: move url.ts to hopp.ts
  • 9502cf2 refactor: move getting router params to mounted hook
  • b7b6a51 refactor: make applicableTo and id mandatory

📊 Changes

13 files changed (+239 additions, -59 deletions)

View changed files

📝 packages/hoppscotch-app/helpers/functional/object.ts (+10 -38)
packages/hoppscotch-app/helpers/functional/primtive.ts (+34 -0)
packages/hoppscotch-app/helpers/functional/taskEither.ts (+13 -0)
📝 packages/hoppscotch-app/helpers/import-export/import/gist.ts (+3 -1)
📝 packages/hoppscotch-app/helpers/import-export/import/hopp.ts (+46 -13)
📝 packages/hoppscotch-app/helpers/import-export/import/importers.ts (+7 -0)
📝 packages/hoppscotch-app/helpers/import-export/import/index.ts (+11 -2)
📝 packages/hoppscotch-app/helpers/import-export/import/insomnia.ts (+2 -0)
📝 packages/hoppscotch-app/helpers/import-export/import/myCollections.ts (+1 -0)
📝 packages/hoppscotch-app/helpers/import-export/import/openapi.ts (+3 -4)
📝 packages/hoppscotch-app/helpers/import-export/import/postman.ts (+2 -0)
📝 packages/hoppscotch-app/locales/en.json (+5 -1)
packages/hoppscotch-app/pages/import.vue (+102 -0)

📄 Description

Description

resolves #2020

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

Additional Information


🔄 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/2262 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 4/13/2022 **Status:** ✅ Merged **Merged:** 5/3/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `feat/import-collection-from-url` --- ### 📝 Commits (10+) - [`1ab5f78`](https://github.com/hoppscotch/hoppscotch/commit/1ab5f783850bab1166d8cb26378b123088294f9b) feat: define importer for url import - [`cb04678`](https://github.com/hoppscotch/hoppscotch/commit/cb046786ec46b3f6a88cafc390aeaf117eab26c6) fix: update icon for url importer - [`ee8a346`](https://github.com/hoppscotch/hoppscotch/commit/ee8a346d9ebbfe09365e6dbbed4af8dabb94a2f6) feat: support single collections and collections array in url import - [`1272ee3`](https://github.com/hoppscotch/hoppscotch/commit/1272ee31e1eb69dc4498451f97b6d0c4cfdf5e16) feat: add page for url import - [`f956955`](https://github.com/hoppscotch/hoppscotch/commit/f956955cc62f9dd198487c9b167bfccb686059f4) feat: add basic validations for url import - [`239918e`](https://github.com/hoppscotch/hoppscotch/commit/239918e995555bdd936b0a0cee72abe5f1fda456) fix: update type for gist importer - [`503d24f`](https://github.com/hoppscotch/hoppscotch/commit/503d24f06470b6cb8e0bdbf90a89dfd4789c859a) feat: add url import support for postman, insomnia, openapi - [`35822ad`](https://github.com/hoppscotch/hoppscotch/commit/35822adc2ac806c4be41e10b27bd174c93163232) refactor: move url.ts to hopp.ts - [`9502cf2`](https://github.com/hoppscotch/hoppscotch/commit/9502cf2fa03c26a6b6dec6b4497bc0d497ae9964) refactor: move getting router params to mounted hook - [`b7b6a51`](https://github.com/hoppscotch/hoppscotch/commit/b7b6a5122bb9b2c62f0d76e6c417606ef3ab8f88) refactor: make applicableTo and id mandatory ### 📊 Changes **13 files changed** (+239 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/helpers/functional/object.ts` (+10 -38) ➕ `packages/hoppscotch-app/helpers/functional/primtive.ts` (+34 -0) ➕ `packages/hoppscotch-app/helpers/functional/taskEither.ts` (+13 -0) 📝 `packages/hoppscotch-app/helpers/import-export/import/gist.ts` (+3 -1) 📝 `packages/hoppscotch-app/helpers/import-export/import/hopp.ts` (+46 -13) 📝 `packages/hoppscotch-app/helpers/import-export/import/importers.ts` (+7 -0) 📝 `packages/hoppscotch-app/helpers/import-export/import/index.ts` (+11 -2) 📝 `packages/hoppscotch-app/helpers/import-export/import/insomnia.ts` (+2 -0) 📝 `packages/hoppscotch-app/helpers/import-export/import/myCollections.ts` (+1 -0) 📝 `packages/hoppscotch-app/helpers/import-export/import/openapi.ts` (+3 -4) 📝 `packages/hoppscotch-app/helpers/import-export/import/postman.ts` (+2 -0) 📝 `packages/hoppscotch-app/locales/en.json` (+5 -1) ➕ `packages/hoppscotch-app/pages/import.vue` (+102 -0) </details> ### 📄 Description ### Description <!-- Add a brief description of the pull request --> resolves #2020 <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [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 - [ ] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:17:08 +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#3692
No description provided.