[PR #4244] [MERGED] chore: add ai renames at more places #4723

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

📋 Pull Request Information

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

Base: patchHead: feat/ai-rename-at-more-places


📝 Commits (3)

  • dcc5184 chore: add ai rename at more request rename places
  • 537aec5 chore: add AI request rename while creating a GQL request
  • 0c012fc chore: resolve pre-existing type error

📊 Changes

9 files changed (+221 additions, -144 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/collections/AddRequest.vue (+33 -7)
📝 packages/hoppscotch-common/src/components/collections/EditRequest.vue (+8 -58)
📝 packages/hoppscotch-common/src/components/collections/SaveRequest.vue (+43 -8)
📝 packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue (+34 -8)
📝 packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue (+14 -63)
📝 packages/hoppscotch-common/src/components/collections/graphql/index.vue (+5 -0)
📝 packages/hoppscotch-common/src/components/collections/index.vue (+5 -0)
packages/hoppscotch-common/src/composables/ai-experiments.ts (+78 -0)
📝 packages/hoppscotch-common/src/helpers/import-export/import/insomnia.ts (+1 -0)

📄 Description

What's changed

  1. move the rename logic to a composable useRequestNameGeneration to remove duplication among multiple components having the rename logic
  2. adds rename with ai sparkle icons to
    • adding a new request from the sidebar
    • save as request modal
  3. detect if the rename is triggered from graphql / rest using the current route the user is in

🔄 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/4244 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 8/7/2024 **Status:** ✅ Merged **Merged:** 8/7/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `feat/ai-rename-at-more-places` --- ### 📝 Commits (3) - [`dcc5184`](https://github.com/hoppscotch/hoppscotch/commit/dcc51849351d7fe9a47abf94265ac6bb4dbec84a) chore: add ai rename at more request rename places - [`537aec5`](https://github.com/hoppscotch/hoppscotch/commit/537aec5d1edd1c7358112f940d4ee35b7a6d9814) chore: add AI request rename while creating a GQL request - [`0c012fc`](https://github.com/hoppscotch/hoppscotch/commit/0c012fc16e7d8bd6ef0634b703a3a0e85935a451) chore: resolve pre-existing type error ### 📊 Changes **9 files changed** (+221 additions, -144 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/collections/AddRequest.vue` (+33 -7) 📝 `packages/hoppscotch-common/src/components/collections/EditRequest.vue` (+8 -58) 📝 `packages/hoppscotch-common/src/components/collections/SaveRequest.vue` (+43 -8) 📝 `packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue` (+34 -8) 📝 `packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue` (+14 -63) 📝 `packages/hoppscotch-common/src/components/collections/graphql/index.vue` (+5 -0) 📝 `packages/hoppscotch-common/src/components/collections/index.vue` (+5 -0) ➕ `packages/hoppscotch-common/src/composables/ai-experiments.ts` (+78 -0) 📝 `packages/hoppscotch-common/src/helpers/import-export/import/insomnia.ts` (+1 -0) </details> ### 📄 Description ### What's changed 1. move the rename logic to a composable `useRequestNameGeneration` to remove duplication among multiple components having the rename logic 2. adds rename with ai sparkle icons to - adding a new request from the sidebar - save as request modal 3. detect if the rename is triggered from graphql / rest using the current route the user is in --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:14: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#4723
No description provided.