[PR #4637] [MERGED] feat: UI for test scripts generation under AI experiments #4887

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4637
Author: @Govind-S-B
Created: 12/20/2024
Status: Merged
Merged: 12/20/2024
Merged by: @jamesgeorge007

Base: nextHead: HCB-148


📝 Commits (5)

  • dee420d added ai experiment dependencies
  • 68f7683 chore: add missing imports
  • 9b47140 chore: fix type error
  • 284b271 chore: extract and format buildRequestInfoString
  • db3b2d7 chore: add req.body into context, instead of req.body.body

📊 Changes

8 files changed (+549 additions, -3 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+4 -1)
📝 packages/hoppscotch-common/src/components.d.ts (+2 -0)
packages/hoppscotch-common/src/components/aiexperiments/ModifyPreRequestModal.vue (+159 -0)
packages/hoppscotch-common/src/components/aiexperiments/ModifyTestScriptModal.vue (+159 -0)
📝 packages/hoppscotch-common/src/components/http/PreRequestScript.vue (+46 -1)
📝 packages/hoppscotch-common/src/components/http/Tests.vue (+46 -1)
📝 packages/hoppscotch-common/src/composables/ai-experiments.ts (+121 -0)
📝 packages/hoppscotch-common/src/platform/experiments.ts (+12 -0)

📄 Description

Implements the accompanying front end changes to integrate https://github.com/hoppscotch/hoppscotch-backend/pull/133

What's changed
added modify with AI button to generate pre request and test scripts

related : https://github.com/hoppscotch/central/pull/88

Ref: HCB-148.


🔄 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/4637 **Author:** [@Govind-S-B](https://github.com/Govind-S-B) **Created:** 12/20/2024 **Status:** ✅ Merged **Merged:** 12/20/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `HCB-148` --- ### 📝 Commits (5) - [`dee420d`](https://github.com/hoppscotch/hoppscotch/commit/dee420d77f53991ce430022bfb61eac65bb4b77e) added ai experiment dependencies - [`68f7683`](https://github.com/hoppscotch/hoppscotch/commit/68f768319d8da19a5e0282a131cbc7db81c505f5) chore: add missing imports - [`9b47140`](https://github.com/hoppscotch/hoppscotch/commit/9b471406b96c4ab9b8fd61f81be5e947ba713da0) chore: fix type error - [`284b271`](https://github.com/hoppscotch/hoppscotch/commit/284b271aa5afbd8e4e837296dfd018c6e7aa6c86) chore: extract and format buildRequestInfoString - [`db3b2d7`](https://github.com/hoppscotch/hoppscotch/commit/db3b2d7494ddd9b139819e7d1a4f8dd43160dc3f) chore: add req.body into context, instead of req.body.body ### 📊 Changes **8 files changed** (+549 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+4 -1) 📝 `packages/hoppscotch-common/src/components.d.ts` (+2 -0) ➕ `packages/hoppscotch-common/src/components/aiexperiments/ModifyPreRequestModal.vue` (+159 -0) ➕ `packages/hoppscotch-common/src/components/aiexperiments/ModifyTestScriptModal.vue` (+159 -0) 📝 `packages/hoppscotch-common/src/components/http/PreRequestScript.vue` (+46 -1) 📝 `packages/hoppscotch-common/src/components/http/Tests.vue` (+46 -1) 📝 `packages/hoppscotch-common/src/composables/ai-experiments.ts` (+121 -0) 📝 `packages/hoppscotch-common/src/platform/experiments.ts` (+12 -0) </details> ### 📄 Description Implements the accompanying front end changes to integrate https://github.com/hoppscotch/hoppscotch-backend/pull/133 What's changed added modify with AI button to generate pre request and test scripts related : https://github.com/hoppscotch/central/pull/88 Ref: HCB-148. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:23: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#4887
No description provided.