[PR #1534] [CLOSED] Add the ability to export and import state as a file #3385

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1534
Author: @Earl-Brown
Created: 3/11/2021
Status: Closed

Base: mainHead: main


📝 Commits (10+)

  • 33dd854 workspace popover ui behaving but no implementation
  • ef57aed The workspace icons look nice now.
  • 5b3a0c6 code exists for file management, but save just downloads without prompting
  • ee67e60 File saving dialogs work correctly now.
  • 96f6947 updated to use $store for handling content
  • f013b54 state is saving and appears to be loading; on load, the 'save reqeust as' dialog is shown
  • 62df83d uses current configuration to fill in the gaps for saved configuration
  • acc4f65 Added a check for an empty 'editing request' before showing the 'save' dialog
  • 4b734b7 Updated config structure to not save application name 'Hoppscotch'
  • cfa7950 Updated documentation

📊 Changes

79 files changed (+51115 additions, -140 deletions)

View changed files

📝 CHANGELOG.md (+9 -0)
📝 README.md (+57 -16)
README.md.bak (+713 -0)
assets/scss/styles.scss.bak (+831 -0)
assets/scss/themes.scss.bak (+157 -0)
📝 babel.config.js (+1 -3)
babel.config.js.bak (+21 -0)
components/app/Contributors.vue.bak (+156 -0)
components/app/Footer.vue.bak (+77 -0)
📝 components/app/Header.vue (+13 -0)
components/app/Header.vue.bak (+332 -0)
components/app/Section.vue.bak (+104 -0)
components/app/Sidenav.vue.bak (+363 -0)
components/collections/Add.vue.bak (+76 -0)
components/collections/Collection.vue.bak (+172 -0)
components/collections/Edit.vue.bak (+82 -0)
components/collections/EditFolder.vue.bak (+77 -0)
components/collections/EditRequest.vue.bak (+88 -0)
components/collections/Folder.vue.bak (+174 -0)
components/collections/ImportExport.vue.bak (+385 -0)

...and 59 more files

📄 Description

In my workplace we use Postman, but we have issues sharing our tests between groups (dev, QA, IT) and automating execution of tests. (Basically, remembering to save environments and collections, as well as the complexity of importing them makes it unusable without prohibitive expense).

I have simplified this need greatly by adding the concept of "workspaces" so we can easily save and restore the entire state.

I fully expect a number of issues to be found with this implementation, and would love advice and assistance for resolving any such issues.

Deploy preview: https://deploy-preview-1534--hoppscotch.netlify.app


🔄 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/1534 **Author:** [@Earl-Brown](https://github.com/Earl-Brown) **Created:** 3/11/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`33dd854`](https://github.com/hoppscotch/hoppscotch/commit/33dd854ece4d21643e329774c0a62cf65e86bca2) workspace popover ui behaving but no implementation - [`ef57aed`](https://github.com/hoppscotch/hoppscotch/commit/ef57aed79ceb07c9e806b34f28cd655be33287c8) The workspace icons look nice now. - [`5b3a0c6`](https://github.com/hoppscotch/hoppscotch/commit/5b3a0c6b6772b0c1dcbb06c088237455ee6b632f) code exists for file management, but save just downloads without prompting - [`ee67e60`](https://github.com/hoppscotch/hoppscotch/commit/ee67e603fd56c8ae63c7bd550c95e08a45fd640f) File saving dialogs work correctly now. - [`96f6947`](https://github.com/hoppscotch/hoppscotch/commit/96f69471de54a5a5e719c4d913ab4d9d6a89878a) updated to use $store for handling content - [`f013b54`](https://github.com/hoppscotch/hoppscotch/commit/f013b544b82da1b173452843cdfec4a4f2677fe9) state is saving and appears to be loading; on load, the 'save reqeust as' dialog is shown - [`62df83d`](https://github.com/hoppscotch/hoppscotch/commit/62df83dcdca14436d6f0ce60ca4d0e2d55222583) uses current configuration to fill in the gaps for saved configuration - [`acc4f65`](https://github.com/hoppscotch/hoppscotch/commit/acc4f6545658a75ea8d19c531c83bc05d1b659cd) Added a check for an empty 'editing request' before showing the 'save' dialog - [`4b734b7`](https://github.com/hoppscotch/hoppscotch/commit/4b734b7b13d7658e136e15c6f33564ce9bb17b2a) Updated config structure to not save application name 'Hoppscotch' - [`cfa7950`](https://github.com/hoppscotch/hoppscotch/commit/cfa79508df8a97c28121f1ed7b73103f0118ad15) Updated documentation ### 📊 Changes **79 files changed** (+51115 additions, -140 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+9 -0) 📝 `README.md` (+57 -16) ➕ `README.md.bak` (+713 -0) ➕ `assets/scss/styles.scss.bak` (+831 -0) ➕ `assets/scss/themes.scss.bak` (+157 -0) 📝 `babel.config.js` (+1 -3) ➕ `babel.config.js.bak` (+21 -0) ➕ `components/app/Contributors.vue.bak` (+156 -0) ➕ `components/app/Footer.vue.bak` (+77 -0) 📝 `components/app/Header.vue` (+13 -0) ➕ `components/app/Header.vue.bak` (+332 -0) ➕ `components/app/Section.vue.bak` (+104 -0) ➕ `components/app/Sidenav.vue.bak` (+363 -0) ➕ `components/collections/Add.vue.bak` (+76 -0) ➕ `components/collections/Collection.vue.bak` (+172 -0) ➕ `components/collections/Edit.vue.bak` (+82 -0) ➕ `components/collections/EditFolder.vue.bak` (+77 -0) ➕ `components/collections/EditRequest.vue.bak` (+88 -0) ➕ `components/collections/Folder.vue.bak` (+174 -0) ➕ `components/collections/ImportExport.vue.bak` (+385 -0) _...and 59 more files_ </details> ### 📄 Description In my workplace we use Postman, but we have issues sharing our tests between groups (dev, QA, IT) and automating execution of tests. (Basically, remembering to save environments and collections, as well as the complexity of importing them makes it unusable without prohibitive expense). I have simplified this need greatly by adding the concept of "workspaces" so we can easily save and restore the entire state. I fully expect a number of issues to be found with this implementation, and would love advice and assistance for resolving any such issues. **Deploy preview:** https://deploy-preview-1534--hoppscotch.netlify.app --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:00:10 +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#3385
No description provided.