[PR #4609] [MERGED] feat: enhance collection runner functionality #4868

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4609
Author: @anwarulislam
Created: 12/11/2024
Status: Merged
Merged: 12/19/2024
Merged by: @jamesgeorge007

Base: nextHead: feat/collection-runner-enhancements


📝 Commits (8)

  • 65247fe feat: add selected request path to test runner
  • 05a027c feat: request headers tab added
  • 2db2a36 feat: delay before closing modal
  • 292873c feat: run again the collection
  • 1de8e35 fix: collection duplication issue
  • c4e287a feat: persist env variables
  • 49caecb fix: add support for inheritedProperties for team collection
  • 73394ff chore: resolve conflicts alongside merging latest changes

📊 Changes

19 files changed (+244 additions, -49 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+3 -0)
📝 packages/hoppscotch-common/src/components.d.ts (+1 -1)
📝 packages/hoppscotch-common/src/components/collections/TeamCollections.vue (+16 -3)
📝 packages/hoppscotch-common/src/components/collections/index.vue (+24 -3)
📝 packages/hoppscotch-common/src/components/http/test/Response.vue (+26 -3)
📝 packages/hoppscotch-common/src/components/http/test/ResultRequest.vue (+2 -1)
📝 packages/hoppscotch-common/src/components/http/test/Runner.vue (+47 -13)
📝 packages/hoppscotch-common/src/components/http/test/RunnerModal.vue (+13 -6)
📝 packages/hoppscotch-common/src/components/http/test/RunnerResult.vue (+6 -3)
📝 packages/hoppscotch-common/src/components/lenses/ResponseBodyRenderer.vue (+20 -6)
📝 packages/hoppscotch-common/src/helpers/RequestRunner.ts (+33 -3)
📝 packages/hoppscotch-common/src/helpers/auth/index.ts (+2 -1)
📝 packages/hoppscotch-common/src/helpers/backend/helpers.ts (+5 -2)
📝 packages/hoppscotch-common/src/helpers/preRequest.ts (+3 -1)
📝 packages/hoppscotch-common/src/helpers/rest/document.ts (+12 -0)
packages/hoppscotch-common/src/helpers/runner/temp_envs.ts (+20 -0)
📝 packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts (+1 -0)
📝 packages/hoppscotch-common/src/services/test-runner/test-runner.service.ts (+4 -1)
📝 packages/hoppscotch-selfhost-web/src/platform/collections/collections.platform.ts (+6 -2)

📄 Description

Closes HFE-667

This PR addresses several key issues and introduces improvements to enhance the overall user experience.

Key Changes:

  • Highlight Selected Request: Improved request selection highlighting for better visibility.
  • Show Request Headers: Added functionality to display request headers.
  • Fix Empty Response Decode Error: Resolved the error that occurred when decoding empty responses.
  • Persist Env Variables: Environment variables are now persisted correctly.

Bug Fixes:

  • Collection Duplication: Resolved a problem where duplicating a collection (root/child) under a personal workspace and initiating a run would reflect updates to the original collection. This issue only affected SH.
  • Collection Run Delay: Addressed a delay when initiating a collection run in team workspaces, which caused the runner modal to close slowly and resulted in multiple test runner tabs opening upon multiple clicks.

🔄 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/4609 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 12/11/2024 **Status:** ✅ Merged **Merged:** 12/19/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/collection-runner-enhancements` --- ### 📝 Commits (8) - [`65247fe`](https://github.com/hoppscotch/hoppscotch/commit/65247fef7c06d3146fd34ef78ef5d56285f582e4) feat: add selected request path to test runner - [`05a027c`](https://github.com/hoppscotch/hoppscotch/commit/05a027cc13beccaa7cd1bc89d087461493bc0fa1) feat: request headers tab added - [`2db2a36`](https://github.com/hoppscotch/hoppscotch/commit/2db2a36d515deb51023f6d342fc538eccf0d2656) feat: delay before closing modal - [`292873c`](https://github.com/hoppscotch/hoppscotch/commit/292873c73e725fed2e151916fb50d05cbc199fd6) feat: run again the collection - [`1de8e35`](https://github.com/hoppscotch/hoppscotch/commit/1de8e359b32837224aa765e6b69952c431dd4903) fix: collection duplication issue - [`c4e287a`](https://github.com/hoppscotch/hoppscotch/commit/c4e287a86ef4719643f0e8d07e50424b4575628c) feat: persist env variables - [`49caecb`](https://github.com/hoppscotch/hoppscotch/commit/49caecb97a4e8a28c69a4f9520aed62f3f994259) fix: add support for inheritedProperties for team collection - [`73394ff`](https://github.com/hoppscotch/hoppscotch/commit/73394ffc9b98bf144e9d546171f4a319e62de60f) chore: resolve conflicts alongside merging latest changes ### 📊 Changes **19 files changed** (+244 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+3 -0) 📝 `packages/hoppscotch-common/src/components.d.ts` (+1 -1) 📝 `packages/hoppscotch-common/src/components/collections/TeamCollections.vue` (+16 -3) 📝 `packages/hoppscotch-common/src/components/collections/index.vue` (+24 -3) 📝 `packages/hoppscotch-common/src/components/http/test/Response.vue` (+26 -3) 📝 `packages/hoppscotch-common/src/components/http/test/ResultRequest.vue` (+2 -1) 📝 `packages/hoppscotch-common/src/components/http/test/Runner.vue` (+47 -13) 📝 `packages/hoppscotch-common/src/components/http/test/RunnerModal.vue` (+13 -6) 📝 `packages/hoppscotch-common/src/components/http/test/RunnerResult.vue` (+6 -3) 📝 `packages/hoppscotch-common/src/components/lenses/ResponseBodyRenderer.vue` (+20 -6) 📝 `packages/hoppscotch-common/src/helpers/RequestRunner.ts` (+33 -3) 📝 `packages/hoppscotch-common/src/helpers/auth/index.ts` (+2 -1) 📝 `packages/hoppscotch-common/src/helpers/backend/helpers.ts` (+5 -2) 📝 `packages/hoppscotch-common/src/helpers/preRequest.ts` (+3 -1) 📝 `packages/hoppscotch-common/src/helpers/rest/document.ts` (+12 -0) ➕ `packages/hoppscotch-common/src/helpers/runner/temp_envs.ts` (+20 -0) 📝 `packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts` (+1 -0) 📝 `packages/hoppscotch-common/src/services/test-runner/test-runner.service.ts` (+4 -1) 📝 `packages/hoppscotch-selfhost-web/src/platform/collections/collections.platform.ts` (+6 -2) </details> ### 📄 Description Closes HFE-667 This PR addresses several key issues and introduces improvements to enhance the overall user experience. Key Changes: * Highlight Selected Request: Improved request selection highlighting for better visibility. * Show Request Headers: Added functionality to display request headers. * Fix Empty Response Decode Error: Resolved the error that occurred when decoding empty responses. * Persist Env Variables: Environment variables are now persisted correctly. Bug Fixes: * Collection Duplication: Resolved a problem where duplicating a collection (root/child) under a personal workspace and initiating a run would reflect updates to the original collection. This issue only affected SH. * Collection Run Delay: Addressed a delay when initiating a collection run in team workspaces, which caused the runner modal to close slowly and resulted in multiple test runner tabs opening upon multiple clicks. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:21:57 +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#4868
No description provided.