Skip to content

Commit af6185a

Browse files
committed
Improved the messaging when selecting different options in the email form
1 parent a0f92db commit af6185a

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

apps/webapp/app/components/Feedback.tsx

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import { Label } from "./primitives/Label";
1616
import { Paragraph } from "./primitives/Paragraph";
1717
import { Select, SelectItem } from "./primitives/Select";
1818
import { TextArea } from "./primitives/TextArea";
19+
import { InformationCircleIcon } from "@heroicons/react/20/solid";
20+
import { TextLink } from "./primitives/TextLink";
1921

2022
type FeedbackProps = {
2123
button: ReactNode;
@@ -66,26 +68,30 @@ export function Feedback({ button, defaultValue = "bug" }: FeedbackProps) {
6668
<InputGroup className="max-w-full">
6769
{type === "feature" && (
6870
<InfoPanel
69-
icon={LightBulbIcon}
70-
title="Did you know?"
71-
panelClassName="w-full inline-flex mb-2"
72-
to="https://feedback.trigger.dev"
73-
buttonLabel="Submit feature request"
71+
icon={InformationCircleIcon}
72+
iconClassName="text-blue-500"
73+
panelClassName="w-full mb-2"
7474
>
75-
All our feature requests are public and voted on by the community. The best way
76-
to submit your feature request is to post it to our feedback forum.
75+
<Paragraph variant="small">
76+
All our feature requests are public and voted on by the community. The best
77+
way to submit your feature request is to{" "}
78+
<TextLink to="https://feedback.trigger.dev">
79+
post it to our feedback forum
80+
</TextLink>
81+
.
82+
</Paragraph>
7783
</InfoPanel>
7884
)}
7985
{type === "help" && (
8086
<InfoPanel
81-
icon={LightBulbIcon}
82-
title="Did you know?"
83-
panelClassName="w-full inline-flex mb-2"
84-
to="https://trigger.dev/discord"
85-
buttonLabel="Join our Discord"
87+
icon={InformationCircleIcon}
88+
iconClassName="text-blue-500"
89+
panelClassName="w-full mb-2"
8690
>
87-
Discord is the quickest way to get answers from the Trigger.dev team and
88-
community.
91+
<Paragraph variant="small">
92+
The quickest way to get answers from the Trigger.dev team and community is to{" "}
93+
<TextLink to="https://trigger.dev/discord">ask in our Discord</TextLink>.
94+
</Paragraph>
8995
</InfoPanel>
9096
)}
9197
<Select

0 commit comments

Comments
 (0)