[PR #3282] [MERGED] feat: cleaner save context handling for graphql #4324

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3282
Author: @AndrewBastin
Created: 8/23/2023
Status: Merged
Merged: 8/24/2023
Merged by: @AndrewBastin

Base: release/2023.8.0Head: feat/gql-coll-sessions


📝 Commits (8)

  • 9e0da12 feat: assign collection request opens with proper save context and tab switching
  • 98c2c31 feat: handle session resets for folder and collection deletions
  • 3cbab39 feat: save automatically if save context is available
  • ef8dc26 chore: cleaner handling of session on siderbar request creation
  • 3e964f8 fix: save context preserved when opening collection from spotlight
  • a7b9961 feat: graphql tabs tab head
  • 05d99db fix: options tab header sticky issue
  • 569dfba feat: introduce save context pulse animation on the request tree

📊 Changes

16 files changed (+365 additions, -42 deletions)

View changed files

📝 packages/hoppscotch-common/src/components.d.ts (+3 -1)
📝 packages/hoppscotch-common/src/components/collections/graphql/Collection.vue (+18 -0)
📝 packages/hoppscotch-common/src/components/collections/graphql/Folder.vue (+25 -5)
📝 packages/hoppscotch-common/src/components/collections/graphql/Request.vue (+62 -11)
📝 packages/hoppscotch-common/src/components/collections/graphql/index.vue (+6 -1)
📝 packages/hoppscotch-common/src/components/graphql/Authorization.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/graphql/Headers.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/graphql/Query.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/graphql/RequestOptions.vue (+20 -2)
packages/hoppscotch-common/src/components/graphql/TabHead.vue (+118 -0)
📝 packages/hoppscotch-common/src/components/graphql/Variable.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/http/TabHead.vue (+1 -1)
📝 packages/hoppscotch-common/src/helpers/actions.ts (+2 -0)
📝 packages/hoppscotch-common/src/helpers/graphql/tab.ts (+27 -0)
📝 packages/hoppscotch-common/src/pages/graphql.vue (+71 -11)
📝 packages/hoppscotch-common/src/services/spotlight/searchers/collections.searcher.ts (+8 -6)

📄 Description

Closes HFE-140 HFE-174

Description

  • Added Tab Head Right Click Entries for the GraphQL Tab heads
  • Save Context is Preserved when opening a GraphQL collection from Spotlight
  • Proper Session Handling when the GraphQL request is opened from the Collections Tree
  • Fixes Request Options tab sticky header issue

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/3282 **Author:** [@AndrewBastin](https://github.com/AndrewBastin) **Created:** 8/23/2023 **Status:** ✅ Merged **Merged:** 8/24/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.0` ← **Head:** `feat/gql-coll-sessions` --- ### 📝 Commits (8) - [`9e0da12`](https://github.com/hoppscotch/hoppscotch/commit/9e0da1233fc360529552c3974e0c51d0d2da1c36) feat: assign collection request opens with proper save context and tab switching - [`98c2c31`](https://github.com/hoppscotch/hoppscotch/commit/98c2c31e10db422f7be559eebed790215559c6d8) feat: handle session resets for folder and collection deletions - [`3cbab39`](https://github.com/hoppscotch/hoppscotch/commit/3cbab39f284baf5358cbc933267a48f89e2fdc03) feat: save automatically if save context is available - [`ef8dc26`](https://github.com/hoppscotch/hoppscotch/commit/ef8dc26733bc5b9948abb1fa7ed256cbea9a894b) chore: cleaner handling of session on siderbar request creation - [`3e964f8`](https://github.com/hoppscotch/hoppscotch/commit/3e964f8fb49d14d350e891d6acb8e5357dcc2490) fix: save context preserved when opening collection from spotlight - [`a7b9961`](https://github.com/hoppscotch/hoppscotch/commit/a7b99611f554269628055f5ec825d617a891ca91) feat: graphql tabs tab head - [`05d99db`](https://github.com/hoppscotch/hoppscotch/commit/05d99dbfb6426b5f8e22965645ea1498a6046648) fix: options tab header sticky issue - [`569dfba`](https://github.com/hoppscotch/hoppscotch/commit/569dfbab6e58fc40d023024a729abb5859e1c8eb) feat: introduce save context pulse animation on the request tree ### 📊 Changes **16 files changed** (+365 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components.d.ts` (+3 -1) 📝 `packages/hoppscotch-common/src/components/collections/graphql/Collection.vue` (+18 -0) 📝 `packages/hoppscotch-common/src/components/collections/graphql/Folder.vue` (+25 -5) 📝 `packages/hoppscotch-common/src/components/collections/graphql/Request.vue` (+62 -11) 📝 `packages/hoppscotch-common/src/components/collections/graphql/index.vue` (+6 -1) 📝 `packages/hoppscotch-common/src/components/graphql/Authorization.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/graphql/Headers.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/graphql/Query.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/graphql/RequestOptions.vue` (+20 -2) ➕ `packages/hoppscotch-common/src/components/graphql/TabHead.vue` (+118 -0) 📝 `packages/hoppscotch-common/src/components/graphql/Variable.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/http/TabHead.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/helpers/actions.ts` (+2 -0) 📝 `packages/hoppscotch-common/src/helpers/graphql/tab.ts` (+27 -0) 📝 `packages/hoppscotch-common/src/pages/graphql.vue` (+71 -11) 📝 `packages/hoppscotch-common/src/services/spotlight/searchers/collections.searcher.ts` (+8 -6) </details> ### 📄 Description Closes HFE-140 HFE-174 ### Description - Added Tab Head Right Click Entries for the GraphQL Tab heads - Save Context is Preserved when opening a GraphQL collection from Spotlight - Proper Session Handling when the GraphQL request is opened from the Collections Tree - Fixes Request Options tab sticky header issue ### Checks - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [x] 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:12 +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#4324
No description provided.