[PR #2644] [MERGED] feat: gql revamp #3957

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2644
Author: @anwarulislam
Created: 9/6/2022
Status: Merged
Merged: 8/22/2023
Merged by: @AndrewBastin

Base: release/2023.8.0Head: refactor/gql-revamp


📝 Commits (10+)

  • 2c02e51 refactor: setup script
  • ced5c5f feat: add tab to graphql page
  • 78fce78 feat: gql revamp
  • 3fafeeb feat: select operation to run query
  • 03a0b41 feat: add subscription for graphql query
  • 1040be1 refactor: gql subscription
  • 0df4488 refactor: rebase master
  • 8e0feb1 refactor: update for vue3 + vite
  • 463ad5e refactor: update for vue3 + vite
  • bb465b0 feat: add tab feature

📊 Changes

41 files changed (+2504 additions, -1703 deletions)

View changed files

📝 packages/hoppscotch-common/assets/scss/styles.scss (+8 -0)
📝 packages/hoppscotch-common/locales/en.json (+10 -0)
📝 packages/hoppscotch-common/src/components.d.ts (+12 -10)
📝 packages/hoppscotch-common/src/components/collections/SaveRequest.vue (+23 -22)
📝 packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue (+2 -2)
📝 packages/hoppscotch-common/src/components/collections/graphql/Request.vue (+3 -4)
📝 packages/hoppscotch-common/src/components/collections/graphql/index.vue (+5 -5)
📝 packages/hoppscotch-common/src/components/graphql/Authorization.vue (+48 -125)
packages/hoppscotch-common/src/components/graphql/Headers.vue (+431 -0)
packages/hoppscotch-common/src/components/graphql/Query.vue (+237 -0)
📝 packages/hoppscotch-common/src/components/graphql/Request.vue (+98 -29)
📝 packages/hoppscotch-common/src/components/graphql/RequestOptions.vue (+100 -714)
packages/hoppscotch-common/src/components/graphql/RequestTab.vue (+50 -0)
📝 packages/hoppscotch-common/src/components/graphql/Response.vue (+35 -21)
📝 packages/hoppscotch-common/src/components/graphql/Sidebar.vue (+22 -82)
packages/hoppscotch-common/src/components/graphql/SubscriptionLog.vue (+125 -0)
📝 packages/hoppscotch-common/src/components/graphql/Type.vue (+34 -37)
packages/hoppscotch-common/src/components/graphql/Variable.vue (+172 -0)
📝 packages/hoppscotch-common/src/components/history/graphql/Card.vue (+12 -16)
📝 packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue (+6 -2)

...and 21 more files

📄 Description

Description

We are adding new features to our GraphQL system and organizing the existing codebase.

Things added:

  • Tabs feature now available in GraphQL
  • Ability to write multiple operations in the same query field
  • GraphQL Subscription

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/2644 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 9/6/2022 **Status:** ✅ Merged **Merged:** 8/22/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.0` ← **Head:** `refactor/gql-revamp` --- ### 📝 Commits (10+) - [`2c02e51`](https://github.com/hoppscotch/hoppscotch/commit/2c02e5155bf157b0655bf839be887d555a829469) refactor: setup script - [`ced5c5f`](https://github.com/hoppscotch/hoppscotch/commit/ced5c5f026adf7b728e4b6357c8fc08675a68651) feat: add tab to graphql page - [`78fce78`](https://github.com/hoppscotch/hoppscotch/commit/78fce78be38f36a53da69b77706aecf0a02c2a4c) feat: gql revamp - [`3fafeeb`](https://github.com/hoppscotch/hoppscotch/commit/3fafeebf6dfe6d50e60dfe6e4e313c71c1986b0f) feat: select operation to run query - [`03a0b41`](https://github.com/hoppscotch/hoppscotch/commit/03a0b41b04709e12edb40af8309e758133f24f93) feat: add subscription for graphql query - [`1040be1`](https://github.com/hoppscotch/hoppscotch/commit/1040be189cc716ae032075d19d0e451cb6f5fe48) refactor: gql subscription - [`0df4488`](https://github.com/hoppscotch/hoppscotch/commit/0df4488d22d82f968b6e6ccba7d898d518d9a7dd) refactor: rebase master - [`8e0feb1`](https://github.com/hoppscotch/hoppscotch/commit/8e0feb13449a02ea45ae479760a0153164cdc883) refactor: update for vue3 + vite - [`463ad5e`](https://github.com/hoppscotch/hoppscotch/commit/463ad5e5164925048c593b56a460f4a9358b7460) refactor: update for vue3 + vite - [`bb465b0`](https://github.com/hoppscotch/hoppscotch/commit/bb465b057f797cfcb14641cccb3e101a22c252a5) feat: add tab feature ### 📊 Changes **41 files changed** (+2504 additions, -1703 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/assets/scss/styles.scss` (+8 -0) 📝 `packages/hoppscotch-common/locales/en.json` (+10 -0) 📝 `packages/hoppscotch-common/src/components.d.ts` (+12 -10) 📝 `packages/hoppscotch-common/src/components/collections/SaveRequest.vue` (+23 -22) 📝 `packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/components/collections/graphql/Request.vue` (+3 -4) 📝 `packages/hoppscotch-common/src/components/collections/graphql/index.vue` (+5 -5) 📝 `packages/hoppscotch-common/src/components/graphql/Authorization.vue` (+48 -125) ➕ `packages/hoppscotch-common/src/components/graphql/Headers.vue` (+431 -0) ➕ `packages/hoppscotch-common/src/components/graphql/Query.vue` (+237 -0) 📝 `packages/hoppscotch-common/src/components/graphql/Request.vue` (+98 -29) 📝 `packages/hoppscotch-common/src/components/graphql/RequestOptions.vue` (+100 -714) ➕ `packages/hoppscotch-common/src/components/graphql/RequestTab.vue` (+50 -0) 📝 `packages/hoppscotch-common/src/components/graphql/Response.vue` (+35 -21) 📝 `packages/hoppscotch-common/src/components/graphql/Sidebar.vue` (+22 -82) ➕ `packages/hoppscotch-common/src/components/graphql/SubscriptionLog.vue` (+125 -0) 📝 `packages/hoppscotch-common/src/components/graphql/Type.vue` (+34 -37) ➕ `packages/hoppscotch-common/src/components/graphql/Variable.vue` (+172 -0) 📝 `packages/hoppscotch-common/src/components/history/graphql/Card.vue` (+12 -16) 📝 `packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue` (+6 -2) _...and 21 more files_ </details> ### 📄 Description ### Description We are adding new features to our GraphQL system and organizing the existing codebase. Things added: - Tabs feature now available in GraphQL - Ability to write multiple operations in the same query field - GraphQL Subscription <!-- Add a brief description of the pull request --> <!-- 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 - [x] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] 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:31:48 +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#3957
No description provided.