diff --git a/packages/frontend-2/components/feedback/Dialog.vue b/packages/frontend-2/components/feedback/Dialog.vue index e64a202196..208c4be2a4 100644 --- a/packages/frontend-2/components/feedback/Dialog.vue +++ b/packages/frontend-2/components/feedback/Dialog.vue @@ -47,6 +47,7 @@ const props = withDefaults( title?: string intro?: string hideSuppport?: boolean + metadata?: Record }>(), { type: 'general' @@ -92,7 +93,8 @@ const onSubmit = handleSubmit(async () => { mixpanel.track('Feedback Sent', { message: feedback.value, - feedbackType: props.type + feedbackType: props.type, + ...props.metadata }) await sendWebhook(defaultZapierWebhookUrl, { diff --git a/packages/frontend-2/components/viewer/gendo/Dialog.vue b/packages/frontend-2/components/viewer/gendo/Dialog.vue index 758e2bea0a..a1595cea89 100644 --- a/packages/frontend-2/components/viewer/gendo/Dialog.vue +++ b/packages/frontend-2/components/viewer/gendo/Dialog.vue @@ -9,39 +9,98 @@ > -
+
-
- - Download - - - Close - +
+
+ + Download + + Close +
+
+

+ What do you think about this render? +

+ + Thumbs up + + + Thumbs down + +
+
+

Thanks for your feedback!

+ + Give detailed feedback + +
+ diff --git a/packages/frontend-2/components/viewer/gendo/Panel.vue b/packages/frontend-2/components/viewer/gendo/Panel.vue index db32561b15..bdfd410bd3 100644 --- a/packages/frontend-2/components/viewer/gendo/Panel.vue +++ b/packages/frontend-2/components/viewer/gendo/Panel.vue @@ -15,7 +15,7 @@
-
+
@@ -49,11 +49,9 @@ size="lg" :placeholder="randomPlaceholder" color="foundation" - :disabled="isLoading || timeOutWait || isOutOfCredits" + :disabled="textAreaDisabled" textarea-classes="sm:!min-h-24" - @keypress.enter.prevent=" - !isLoading && !timeOutWait && !isOutOfCredits && prompt && enqueMagic() - " + @keypress.enter.prevent="!buttonDisabled && enqueMagic()" />
- + Generate +
+
+ Generate
-
-