Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: show loading spinner while submitting prompt generation feedback
jamesgeorge007ebb7eeade4c9
diff --git a/packages/hoppscotch-common/src/components/collections/AddRequest.vue b/packages/hoppscotch-common/src/components/collections/AddRequest.vueindex 1f8df8824..d3066b744 100644--- a/packages/hoppscotch-common/src/components/collections/AddRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/AddRequest.vue@@ -73,9 +73,9 @@:icon="IconThumbsDown"outline@click="- () => {+ async () => {if (lastTraceID) {- submitFeedback('negative', lastTraceID)+ await submitFeedback('negative', lastTraceID)submittedFeedback = true}}diff --git a/packages/hoppscotch-common/src/components/collections/EditRequest.vue b/packages/hoppscotch-common/src/components/collections/EditRequest.vueindex 6f9a7c48a..0bd1f0223 100644--- a/packages/hoppscotch-common/src/components/collections/EditRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/EditRequest.vue@@ -73,9 +73,9 @@:icon="IconThumbsDown"outline@click="- () => {+ async () => {if (lastTraceID) {- submitFeedback('negative', lastTraceID)+ await submitFeedback('negative', lastTraceID)submittedFeedback = true}}diff --git a/packages/hoppscotch-common/src/components/collections/SaveRequest.vue b/packages/hoppscotch-common/src/components/collections/SaveRequest.vueindex 21b67ae4f..a597cd956 100644--- a/packages/hoppscotch-common/src/components/collections/SaveRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/SaveRequest.vue@@ -95,9 +95,9 @@:icon="IconThumbsDown"outline@click="- () => {+ async () => {if (lastTraceID) {- submitFeedback('negative', lastTraceID)+ await submitFeedback('negative', lastTraceID)submittedFeedback = true}}diff --git a/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue b/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vueindex dc5e52e78..e51449cb0 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue@@ -72,9 +72,9 @@:icon="IconThumbsDown"outline@click="- () => {+ async () => {if (lastTraceID) {- submitFeedback('negative', lastTraceID)+ await submitFeedback('negative', lastTraceID)submittedFeedback = true}}diff --git a/packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue b/packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vueindex 01a07ea41..f7345f3b6 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue@@ -72,9 +72,9 @@:icon="IconThumbsDown"outline@click="- () => {+ async () => {if (lastTraceID) {- submitFeedback('negative', lastTraceID)+ await submitFeedback('negative', lastTraceID)submittedFeedback = true}}