[PR #2322] [CLOSED] Collections refactor to script setup #3732

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2322
Author: @kyteinsky
Created: 5/5/2022
Status: Closed

Base: mainHead: refactor/script-setup-ts


📝 Commits (3)

  • 79219d4 refactor: script setup for REST collections
  • bfacd33 refactor: script setup for Graphql collections
  • 7dffeef refactor: script setup for REST index

📊 Changes

23 files changed (+2162 additions, -1773 deletions)

View changed files

📝 packages/hoppscotch-app/components/collections/Add.vue (+30 -26)
📝 packages/hoppscotch-app/components/collections/AddFolder.vue (+44 -32)
📝 packages/hoppscotch-app/components/collections/AddRequest.vue (+5 -3)
📝 packages/hoppscotch-app/components/collections/Edit.vue (+38 -32)
📝 packages/hoppscotch-app/components/collections/EditFolder.vue (+38 -32)
📝 packages/hoppscotch-app/components/collections/EditRequest.vue (+39 -35)
📝 packages/hoppscotch-app/components/collections/ImportExport.vue (+1 -3)
📝 packages/hoppscotch-app/components/collections/SaveRequest.vue (+4 -55)
📝 packages/hoppscotch-app/components/collections/graphql/Add.vue (+35 -32)
📝 packages/hoppscotch-app/components/collections/graphql/AddFolder.vue (+35 -31)
📝 packages/hoppscotch-app/components/collections/graphql/Collection.vue (+84 -79)
📝 packages/hoppscotch-app/components/collections/graphql/Edit.vue (+49 -37)
📝 packages/hoppscotch-app/components/collections/graphql/EditFolder.vue (+50 -36)
📝 packages/hoppscotch-app/components/collections/graphql/EditRequest.vue (+54 -41)
📝 packages/hoppscotch-app/components/collections/graphql/Folder.vue (+81 -81)
📝 packages/hoppscotch-app/components/collections/graphql/Request.vue (+85 -87)
📝 packages/hoppscotch-app/components/collections/graphql/index.vue (+189 -171)
📝 packages/hoppscotch-app/components/collections/index.vue (+939 -653)
📝 packages/hoppscotch-app/components/collections/my/Collection.vue (+111 -87)
📝 packages/hoppscotch-app/components/collections/my/Folder.vue (+112 -93)

...and 3 more files

📄 Description

Description

Refactor all Vue components in components/collections to use Nuxt Composition API


🔄 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/2322 **Author:** [@kyteinsky](https://github.com/kyteinsky) **Created:** 5/5/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `refactor/script-setup-ts` --- ### 📝 Commits (3) - [`79219d4`](https://github.com/hoppscotch/hoppscotch/commit/79219d4e247995980c2e3dfe15e4cbaf6c87128d) refactor: script setup for REST collections - [`bfacd33`](https://github.com/hoppscotch/hoppscotch/commit/bfacd336d5a732b94ede44c54c476cc15b77f3e8) refactor: script setup for Graphql collections - [`7dffeef`](https://github.com/hoppscotch/hoppscotch/commit/7dffeef32a2f9e601393f7e6363878a4fa8ff275) refactor: script setup for REST index ### 📊 Changes **23 files changed** (+2162 additions, -1773 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/components/collections/Add.vue` (+30 -26) 📝 `packages/hoppscotch-app/components/collections/AddFolder.vue` (+44 -32) 📝 `packages/hoppscotch-app/components/collections/AddRequest.vue` (+5 -3) 📝 `packages/hoppscotch-app/components/collections/Edit.vue` (+38 -32) 📝 `packages/hoppscotch-app/components/collections/EditFolder.vue` (+38 -32) 📝 `packages/hoppscotch-app/components/collections/EditRequest.vue` (+39 -35) 📝 `packages/hoppscotch-app/components/collections/ImportExport.vue` (+1 -3) 📝 `packages/hoppscotch-app/components/collections/SaveRequest.vue` (+4 -55) 📝 `packages/hoppscotch-app/components/collections/graphql/Add.vue` (+35 -32) 📝 `packages/hoppscotch-app/components/collections/graphql/AddFolder.vue` (+35 -31) 📝 `packages/hoppscotch-app/components/collections/graphql/Collection.vue` (+84 -79) 📝 `packages/hoppscotch-app/components/collections/graphql/Edit.vue` (+49 -37) 📝 `packages/hoppscotch-app/components/collections/graphql/EditFolder.vue` (+50 -36) 📝 `packages/hoppscotch-app/components/collections/graphql/EditRequest.vue` (+54 -41) 📝 `packages/hoppscotch-app/components/collections/graphql/Folder.vue` (+81 -81) 📝 `packages/hoppscotch-app/components/collections/graphql/Request.vue` (+85 -87) 📝 `packages/hoppscotch-app/components/collections/graphql/index.vue` (+189 -171) 📝 `packages/hoppscotch-app/components/collections/index.vue` (+939 -653) 📝 `packages/hoppscotch-app/components/collections/my/Collection.vue` (+111 -87) 📝 `packages/hoppscotch-app/components/collections/my/Folder.vue` (+112 -93) _...and 3 more files_ </details> ### 📄 Description ### Description Refactor all Vue components in `components/collections` to use Nuxt Composition API --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:19:19 +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#3732
No description provided.