[PR #631] [MERGED] Minor GraphQL page improvements #2756

Closed
opened 2026-03-17 00:26:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/631
Author: @dihmeetree
Created: 2/29/2020
Status: Merged
Merged: 2/29/2020
Merged by: @liyasthomas

Base: masterHead: gql/editor-updates


📝 Commits (5)

  • fc4d926 Merge remote-tracking branch 'liyasthomas/master'
  • e56fa73 Added some GraphQL page updates
  • 57950e2 Fixed default query
  • 88e7f35 Merge branch 'master' into gql/editor-updates
  • 898d703 Merge branch 'master' into gql/editor-updates

📊 Changes

3 files changed (+38 additions, -9 deletions)

View changed files

📝 lang/en-US.js (+2 -0)
📝 pages/graphql.vue (+29 -7)
📝 store/state.js (+7 -2)

📄 Description

  • Schema will show (waiting to receive schema) until the schema is actually requested. (There's no point to show the editor box if there's no schema)
    image

  • Added default values for the Query and Variables editors (Most people coming to this page might not even know what GraphQL is. So it's best to give them an example of a query and the correct variables to pass. They can go right to the GraphQL page and click the runQuery button)
    image

  • Response will show (waiting to receive response) (Similar to reasoning above)
    image

  • Decreased the minLines for variables to 10, minLines for variables to 5, and minLines for response to 10.


🔄 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/631 **Author:** [@dihmeetree](https://github.com/dihmeetree) **Created:** 2/29/2020 **Status:** ✅ Merged **Merged:** 2/29/2020 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `gql/editor-updates` --- ### 📝 Commits (5) - [`fc4d926`](https://github.com/hoppscotch/hoppscotch/commit/fc4d9260bf7138378376c3c5e49746e9df4d52fb) Merge remote-tracking branch 'liyasthomas/master' - [`e56fa73`](https://github.com/hoppscotch/hoppscotch/commit/e56fa732fa39774e01d466979a2f9f96d37ef9e9) Added some GraphQL page updates - [`57950e2`](https://github.com/hoppscotch/hoppscotch/commit/57950e26374ea0915bacfabf1d03ad76e74cb796) Fixed default query - [`88e7f35`](https://github.com/hoppscotch/hoppscotch/commit/88e7f359956f47dfc334292ab6f2fcdb2db54e1c) Merge branch 'master' into gql/editor-updates - [`898d703`](https://github.com/hoppscotch/hoppscotch/commit/898d703a671f3f11b176b32409ae0557e0c7e831) Merge branch 'master' into gql/editor-updates ### 📊 Changes **3 files changed** (+38 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `lang/en-US.js` (+2 -0) 📝 `pages/graphql.vue` (+29 -7) 📝 `store/state.js` (+7 -2) </details> ### 📄 Description - Schema will show `(waiting to receive schema)` until the schema is actually requested. (There's no point to show the editor box if there's no schema) ![image](https://user-images.githubusercontent.com/20114263/75611460-b7283700-5ae8-11ea-8a16-96a1750696f9.png) - Added default values for the Query and Variables editors (Most people coming to this page might not even know what GraphQL is. So it's best to give them an example of a query and the correct variables to pass. They can go right to the GraphQL page and click the `runQuery` button) ![image](https://user-images.githubusercontent.com/20114263/75611626-23576a80-5aea-11ea-9f3c-fdbac971a436.png) - Response will show `(waiting to receive response)` (Similar to reasoning above) ![image](https://user-images.githubusercontent.com/20114263/75611500-0706fe00-5ae9-11ea-9cb8-95d0effd773f.png) - Decreased the `minLines` for variables to 10, `minLines` for variables to 5, and `minLines` for response to 10. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:26:02 +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#2756
No description provided.