[PR #2918] [MERGED] feat: rest revamp #4138

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2918
Author: @anwarulislam
Created: 2/4/2023
Status: Merged
Merged: 3/30/2023
Merged by: @AndrewBastin

Base: stagingHead: feat/rest-revamp


📝 Commits (10+)

📊 Changes

63 files changed (+2252 additions, -1914 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+2 -0)
📝 packages/hoppscotch-common/src/components.d.ts (+5 -0)
📝 packages/hoppscotch-common/src/components/app/PaneLayout.vue (+2 -0)
📝 packages/hoppscotch-common/src/components/collections/AddRequest.vue (+2 -2)
📝 packages/hoppscotch-common/src/components/collections/Collection.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/collections/MyCollections.vue (+18 -20)
📝 packages/hoppscotch-common/src/components/collections/Request.vue (+2 -16)
📝 packages/hoppscotch-common/src/components/collections/SaveRequest.vue (+53 -37)
📝 packages/hoppscotch-common/src/components/collections/TeamCollections.vue (+2 -3)
📝 packages/hoppscotch-common/src/components/collections/index.vue (+209 -216)
📝 packages/hoppscotch-common/src/components/history/index.vue (+6 -135)
📝 packages/hoppscotch-common/src/components/http/Authorization.vue (+39 -118)
📝 packages/hoppscotch-common/src/components/http/Body.vue (+38 -33)
📝 packages/hoppscotch-common/src/components/http/BodyParameters.vue (+16 -4)
📝 packages/hoppscotch-common/src/components/http/CodegenModal.vue (+4 -3)
📝 packages/hoppscotch-common/src/components/http/Headers.vue (+19 -21)
📝 packages/hoppscotch-common/src/components/http/ImportCurl.vue (+2 -2)
📝 packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue (+50 -67)
📝 packages/hoppscotch-common/src/components/http/Parameters.vue (+11 -4)
📝 packages/hoppscotch-common/src/components/http/PreRequestScript.vue (+9 -2)

...and 43 more files

📄 Description

Description

This PR introduces a new Tab feature for our Hoppscotch.io REST Platform. This Tab System has been long requested by our users and will greatly enhance their experience.

Before this feature, our platform lacked the ability to easily switch between different requests within a single view. With this new tab system, users can now navigate between multiple requests with ease, leading to a more organized and streamlined experience.

We are storing all tabs inside RESTSession.ts store. and each tab has request property containing request object for that tab.

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/2918 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 2/4/2023 **Status:** ✅ Merged **Merged:** 3/30/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `staging` ← **Head:** `feat/rest-revamp` --- ### 📝 Commits (10+) - [`3a473a3`](https://github.com/hoppscotch/hoppscotch/commit/3a473a3d51163a31b56ccc782359f65f47733704) feat: global workspace selector (#2922) - [`e01d042`](https://github.com/hoppscotch/hoppscotch/commit/e01d042e2cd8b3a9cf0ae5966b03944dedaf494c) feat: setup script on rest page - [`2a89775`](https://github.com/hoppscotch/hoppscotch/commit/2a89775361325c206b00b8c35c5f065e0c2e174f) feat: windows added - [`18611df`](https://github.com/hoppscotch/hoppscotch/commit/18611df3ac49ee26f853b09a6c92d3ba20bc1431) feat: rest tab setup - [`981339d`](https://github.com/hoppscotch/hoppscotch/commit/981339da92049115b93ceabb526fb1c8e5e75f0e) feat: tab features added - [`662bc1d`](https://github.com/hoppscotch/hoppscotch/commit/662bc1d0add874aefce9f11b03ae63b01d6b1e70) feat: store session on local persistence - [`0e80c11`](https://github.com/hoppscotch/hoppscotch/commit/0e80c1160c4ed18c6bb9a5029cb48abbfc57573d) fix: headers and params count - [`209d5b6`](https://github.com/hoppscotch/hoppscotch/commit/209d5b6aa8d88ebf5528f448748b56a4b7b7d9a7) feat: tab system refactor - [`31c798b`](https://github.com/hoppscotch/hoppscotch/commit/31c798b40e4d03c82a493a1dcda7551111241719) feat: selected response tab in state - [`cf5805b`](https://github.com/hoppscotch/hoppscotch/commit/cf5805b052e23b8e4266b4945bc6a7cb2c0dcfd6) feat: usevmodel ### 📊 Changes **63 files changed** (+2252 additions, -1914 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+2 -0) 📝 `packages/hoppscotch-common/src/components.d.ts` (+5 -0) 📝 `packages/hoppscotch-common/src/components/app/PaneLayout.vue` (+2 -0) 📝 `packages/hoppscotch-common/src/components/collections/AddRequest.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/components/collections/Collection.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/collections/MyCollections.vue` (+18 -20) 📝 `packages/hoppscotch-common/src/components/collections/Request.vue` (+2 -16) 📝 `packages/hoppscotch-common/src/components/collections/SaveRequest.vue` (+53 -37) 📝 `packages/hoppscotch-common/src/components/collections/TeamCollections.vue` (+2 -3) 📝 `packages/hoppscotch-common/src/components/collections/index.vue` (+209 -216) 📝 `packages/hoppscotch-common/src/components/history/index.vue` (+6 -135) 📝 `packages/hoppscotch-common/src/components/http/Authorization.vue` (+39 -118) 📝 `packages/hoppscotch-common/src/components/http/Body.vue` (+38 -33) 📝 `packages/hoppscotch-common/src/components/http/BodyParameters.vue` (+16 -4) 📝 `packages/hoppscotch-common/src/components/http/CodegenModal.vue` (+4 -3) 📝 `packages/hoppscotch-common/src/components/http/Headers.vue` (+19 -21) 📝 `packages/hoppscotch-common/src/components/http/ImportCurl.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue` (+50 -67) 📝 `packages/hoppscotch-common/src/components/http/Parameters.vue` (+11 -4) 📝 `packages/hoppscotch-common/src/components/http/PreRequestScript.vue` (+9 -2) _...and 43 more files_ </details> ### 📄 Description ### Description This PR introduces a new Tab feature for our Hoppscotch.io REST Platform. This Tab System has been long requested by our users and will greatly enhance their experience. Before this feature, our platform lacked the ability to easily switch between different requests within a single view. With this new tab system, users can now navigate between multiple requests with ease, leading to a more organized and streamlined experience. We are storing all tabs inside `RESTSession.ts` store. and each tab has `request` property containing request object for that tab. <!-- 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 - [ ] 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 - [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:05 +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#4138
No description provided.