[PR #3297] [MERGED] fix: graphql operation highlight issue on focus changed #4331

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3297
Author: @anwarulislam
Created: 8/28/2023
Status: Merged
Merged: 8/28/2023
Merged by: @AndrewBastin

Base: release/2023.8.0Head: fix/graphql-operation-focus


📝 Commits (1)

  • 7c17f04 fix: graphql query highlight issue on focus changed

📊 Changes

1 file changed (+0 additions, -2 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/graphql/Query.vue (+0 -2)

📄 Description

Closes HFE-191

Description

This PR fixes the issue of highlighting GraphQL Operation.
When multiple operations are in the same Tab we can highlight the operation with a cursor to run. If we run the request we basically defocused the cursor from the query editor. And after focusing on the query editor it doesn't update the operation name for the button. This PR fixed that issue.

  • Not Completed
  • Completed

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/3297 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 8/28/2023 **Status:** ✅ Merged **Merged:** 8/28/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.0` ← **Head:** `fix/graphql-operation-focus` --- ### 📝 Commits (1) - [`7c17f04`](https://github.com/hoppscotch/hoppscotch/commit/7c17f043f4ad1e63053f991485cbd3323491d7a8) fix: graphql query highlight issue on focus changed ### 📊 Changes **1 file changed** (+0 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/graphql/Query.vue` (+0 -2) </details> ### 📄 Description Closes HFE-191 ### Description This PR fixes the issue of highlighting GraphQL Operation. When multiple operations are in the same Tab we can highlight the operation with a cursor to run. If we run the request we basically defocused the cursor from the query editor. And after focusing on the query editor it doesn't update the operation name for the button. This PR fixed that issue. - [ ] Not Completed - [x] Completed ### Checks <!-- Make sure your pull request passes the CI checks and 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:52:44 +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#4331
No description provided.