From 949fe1aae35d0434dadd2689d7f200d71a058334 Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Thu, 17 Apr 2025 14:45:17 +0100 Subject: [PATCH] Adds a new entry in the help and feedback modal to request more feedback --- apps/webapp/app/components/Feedback.tsx | 19 +++++++++++++++++-- .../route.tsx | 4 ++-- apps/webapp/app/routes/resources.feedback.ts | 7 +++---- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/apps/webapp/app/components/Feedback.tsx b/apps/webapp/app/components/Feedback.tsx index 814f7bc047..cba709aba4 100644 --- a/apps/webapp/app/components/Feedback.tsx +++ b/apps/webapp/app/components/Feedback.tsx @@ -1,6 +1,6 @@ import { conform, useForm } from "@conform-to/react"; import { parse } from "@conform-to/zod"; -import { InformationCircleIcon } from "@heroicons/react/20/solid"; +import { InformationCircleIcon, ArrowUpCircleIcon } from "@heroicons/react/20/solid"; import { EnvelopeIcon } from "@heroicons/react/24/solid"; import { Form, useActionData, useLocation, useNavigation } from "@remix-run/react"; import { type ReactNode, useEffect, useState } from "react"; @@ -64,7 +64,9 @@ export function Feedback({ button, defaultValue = "bug" }: FeedbackProps) { How can we help? We read every message and will respond as quickly as we can. -
+ {!(type === "feature" || type === "help" || type === "concurrency") && ( +
+ )}
@@ -97,6 +99,19 @@ export function Feedback({ button, defaultValue = "bug" }: FeedbackProps) { )} + {type === "concurrency" && ( + + + How much extra concurrency do you need? You can add bundles of 50 for + $50/month each. To help us advise you, please let us know what your tasks do, + your typical run volume, and if your workload is spiky (many runs at once). + + + )}