mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4222] [MERGED] feat: hoppscotch-common & platform additions for ai experiments #4712
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4712
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
next← Head:feat/ai-experiments-platform-additions📝 Commits (3)
9f65377feat: add hoppscotch-common & platform platforms for ai experiments3dc3deechore: add the renaming to graphql7cc79b2fix: 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
This PR adds a new platform definition entry
Experimentsto 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.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.