[PR #2241] [MERGED] feat: add New Request button for folder and collection #3687

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2241
Author: @kyteinsky
Created: 4/7/2022
Status: Merged
Merged: 4/14/2022
Merged by: @AndrewBastin

Base: mainHead: feat/new-request-in-collection


📝 Commits (8)

  • 5a54289 feat: add New Request button for folder and collection
  • d8114f6 fix: team collection and folders
  • 6d611c6 fix: use current session request and name
  • 819984b feat: add loading state to modal
  • baa957c fix: remove loading state from local mutations
  • 6c16018 fix: clone deep to avoid reference issues
  • 1324be5 fix: fetch name upon show without any reference issues
  • 71ece43 fix: do not use subcriptions, just one-time gets

📊 Changes

12 files changed (+390 additions, -3 deletions)

View changed files

packages/hoppscotch-app/components/collections/AddRequest.vue (+92 -0)
📝 packages/hoppscotch-app/components/collections/graphql/AddFolder.vue (+5 -1)
packages/hoppscotch-app/components/collections/graphql/AddRequest.vue (+87 -0)
📝 packages/hoppscotch-app/components/collections/graphql/Collection.vue (+17 -0)
📝 packages/hoppscotch-app/components/collections/graphql/Folder.vue (+15 -0)
📝 packages/hoppscotch-app/components/collections/graphql/index.vue (+34 -0)
📝 packages/hoppscotch-app/components/collections/index.vue (+74 -2)
📝 packages/hoppscotch-app/components/collections/my/Collection.vue (+17 -0)
📝 packages/hoppscotch-app/components/collections/my/Folder.vue (+15 -0)
📝 packages/hoppscotch-app/components/collections/teams/Collection.vue (+18 -0)
📝 packages/hoppscotch-app/components/collections/teams/Folder.vue (+15 -0)
📝 packages/hoppscotch-app/locales/en.json (+1 -0)

📄 Description

Description

New Request button is now available in the kabab menu
for both folders and collections in REST as well as
GraphQL.
It creates a new request, saves it to the store and
points to it.

Closes #2156


🔄 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/2241 **Author:** [@kyteinsky](https://github.com/kyteinsky) **Created:** 4/7/2022 **Status:** ✅ Merged **Merged:** 4/14/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `feat/new-request-in-collection` --- ### 📝 Commits (8) - [`5a54289`](https://github.com/hoppscotch/hoppscotch/commit/5a54289bbd6f51f14195b7e596e6cfa601fd5d99) feat: add `New Request` button for folder and collection - [`d8114f6`](https://github.com/hoppscotch/hoppscotch/commit/d8114f63b5e0fc6cf45ad87fbc5d2b5d8c466437) fix: team collection and folders - [`6d611c6`](https://github.com/hoppscotch/hoppscotch/commit/6d611c6ad356f58f018ca8e0a26e7964b98e9d31) fix: use current session request and name - [`819984b`](https://github.com/hoppscotch/hoppscotch/commit/819984b59d453768cd82f13be6e84539672ed738) feat: add loading state to modal - [`baa957c`](https://github.com/hoppscotch/hoppscotch/commit/baa957cf1cd78bf22b22b56642a4c39e54f84e59) fix: remove loading state from local mutations - [`6c16018`](https://github.com/hoppscotch/hoppscotch/commit/6c16018f29545b1e76685c4cc2c719b0708f7db6) fix: clone deep to avoid reference issues - [`1324be5`](https://github.com/hoppscotch/hoppscotch/commit/1324be533e5dc1ec90111d222797567a4f9528e5) fix: fetch name upon show without any reference issues - [`71ece43`](https://github.com/hoppscotch/hoppscotch/commit/71ece43087701683c69a2a0e69d382149264ef34) fix: do not use subcriptions, just one-time gets ### 📊 Changes **12 files changed** (+390 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `packages/hoppscotch-app/components/collections/AddRequest.vue` (+92 -0) 📝 `packages/hoppscotch-app/components/collections/graphql/AddFolder.vue` (+5 -1) ➕ `packages/hoppscotch-app/components/collections/graphql/AddRequest.vue` (+87 -0) 📝 `packages/hoppscotch-app/components/collections/graphql/Collection.vue` (+17 -0) 📝 `packages/hoppscotch-app/components/collections/graphql/Folder.vue` (+15 -0) 📝 `packages/hoppscotch-app/components/collections/graphql/index.vue` (+34 -0) 📝 `packages/hoppscotch-app/components/collections/index.vue` (+74 -2) 📝 `packages/hoppscotch-app/components/collections/my/Collection.vue` (+17 -0) 📝 `packages/hoppscotch-app/components/collections/my/Folder.vue` (+15 -0) 📝 `packages/hoppscotch-app/components/collections/teams/Collection.vue` (+18 -0) 📝 `packages/hoppscotch-app/components/collections/teams/Folder.vue` (+15 -0) 📝 `packages/hoppscotch-app/locales/en.json` (+1 -0) </details> ### 📄 Description ### Description New Request button is now available in the kabab menu for both folders and collections in REST as well as GraphQL. It creates a new request, saves it to the store and points to it. Closes #2156 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:16:51 +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#3687
No description provided.