[PR #4422] [MERGED] fix: add full request as request context #4792

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4422
Author: @amk-dev
Created: 10/9/2024
Status: Merged
Merged: 10/10/2024
Merged by: @AndrewBastin

Base: patchHead: fix-request-rename-context


📝 Commits (2)

  • a238ee9 fix: add full request as request context
  • e9193a3 fix: exclude request-specific spotlight actions on response examples

📊 Changes

2 files changed (+9 additions, -2 deletions)

View changed files

📝 packages/hoppscotch-common/src/pages/index.vue (+4 -1)
📝 packages/hoppscotch-common/src/services/spotlight/searchers/request.searcher.ts (+5 -1)

📄 Description

Changes

PR #4382 introduced a change, where we were passing just the tab name as context instead of the full request to the request rename endpoint. This PR overwrites that change.
Also, spotlight actions specific to a request open under the active tab were in context even for response examples. This includes a fix for the same.


🔄 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/4422 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 10/9/2024 **Status:** ✅ Merged **Merged:** 10/10/2024 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `patch` ← **Head:** `fix-request-rename-context` --- ### 📝 Commits (2) - [`a238ee9`](https://github.com/hoppscotch/hoppscotch/commit/a238ee9806b3b02833d46c878eee450bb05d3237) fix: add full request as request context - [`e9193a3`](https://github.com/hoppscotch/hoppscotch/commit/e9193a3fd3863fd3cc0385f5acbd288460369d2e) fix: exclude request-specific spotlight actions on response examples ### 📊 Changes **2 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/pages/index.vue` (+4 -1) 📝 `packages/hoppscotch-common/src/services/spotlight/searchers/request.searcher.ts` (+5 -1) </details> ### 📄 Description **Changes** PR #4382 introduced a change, where we were passing just the tab name as context instead of the full request to the request rename endpoint. This PR overwrites that change. Also, spotlight actions specific to a request open under the active tab were in context even for response examples. This includes a fix for the same. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:17:51 +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#4792
No description provided.