[PR #4222] [MERGED] feat: hoppscotch-common & platform additions for ai experiments #4712

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4222
Author: @amk-dev
Created: 7/29/2024
Status: Merged
Merged: 7/30/2024
Merged by: @jamesgeorge007

Base: nextHead: feat/ai-experiments-platform-additions


📝 Commits (3)

  • 9f65377 feat: add hoppscotch-common & platform platforms for ai experiments
  • 3dc3dee chore: add the renaming to graphql
  • 7cc79b2 fix: disable request generation in the unauthenticated state

📊 Changes

12 files changed (+208 additions, -18 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+7 -1)
📝 packages/hoppscotch-common/src/components/collections/EditRequest.vue (+77 -7)
📝 packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue (+76 -8)
📝 packages/hoppscotch-common/src/components/collections/graphql/index.vue (+1 -0)
📝 packages/hoppscotch-common/src/components/collections/index.vue (+1 -0)
📝 packages/hoppscotch-common/src/newstore/settings.ts (+2 -0)
📝 packages/hoppscotch-common/src/pages/graphql.vue (+7 -0)
📝 packages/hoppscotch-common/src/pages/index.vue (+12 -2)
📝 packages/hoppscotch-common/src/pages/settings.vue (+12 -0)
packages/hoppscotch-common/src/platform/experiments.ts (+10 -0)
📝 packages/hoppscotch-common/src/platform/index.ts (+2 -0)
📝 packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts (+1 -0)

📄 Description

Changes

  1. This PR adds a new platform definition entry Experiments to add support for bringing ai experiments into hoppscotch platforms. right now the features are enabled only for our cloud instance. but these changes enable ai experiments to be enabled when needed across platforms.

  2. The initial feature we bring as part of our AI experiments is the ability to generate automatic names for any request. this PR also adds code that enables this feature to corresponding components.

note: there's duplication between the GQL & REST components currently. we could move the request rename logic into a seperate service. but differing this for now.


🔄 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/4222 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 7/29/2024 **Status:** ✅ Merged **Merged:** 7/30/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/ai-experiments-platform-additions` --- ### 📝 Commits (3) - [`9f65377`](https://github.com/hoppscotch/hoppscotch/commit/9f653775b77389396c5096112d79f51caadf7cf5) feat: add hoppscotch-common & platform platforms for ai experiments - [`3dc3dee`](https://github.com/hoppscotch/hoppscotch/commit/3dc3dee26e2dd98d66558b01d4d03c2da043d467) chore: add the renaming to graphql - [`7cc79b2`](https://github.com/hoppscotch/hoppscotch/commit/7cc79b2f8a42e6244c59d394dffbac063bf7730e) fix: disable request generation in the unauthenticated state ### 📊 Changes **12 files changed** (+208 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+7 -1) 📝 `packages/hoppscotch-common/src/components/collections/EditRequest.vue` (+77 -7) 📝 `packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue` (+76 -8) 📝 `packages/hoppscotch-common/src/components/collections/graphql/index.vue` (+1 -0) 📝 `packages/hoppscotch-common/src/components/collections/index.vue` (+1 -0) 📝 `packages/hoppscotch-common/src/newstore/settings.ts` (+2 -0) 📝 `packages/hoppscotch-common/src/pages/graphql.vue` (+7 -0) 📝 `packages/hoppscotch-common/src/pages/index.vue` (+12 -2) 📝 `packages/hoppscotch-common/src/pages/settings.vue` (+12 -0) ➕ `packages/hoppscotch-common/src/platform/experiments.ts` (+10 -0) 📝 `packages/hoppscotch-common/src/platform/index.ts` (+2 -0) 📝 `packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts` (+1 -0) </details> ### 📄 Description **Changes** 1. This PR adds a new platform definition entry `Experiments` to add support for bringing ai experiments into hoppscotch platforms. right now the features are enabled only for our cloud instance. but these changes enable ai experiments to be enabled when needed across platforms. 2. The initial feature we bring as part of our AI experiments is the ability to generate automatic names for any request. this PR also adds code that enables this feature to corresponding components. note: there's duplication between the GQL & REST components currently. we could move the request rename logic into a seperate service. but differing this for now. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:13:29 +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#4712
No description provided.