Skip to content

Commit

Permalink
add feedback prompt after submitting transcript
Browse files Browse the repository at this point in the history
  • Loading branch information
kouloumos authored and Extheoisah committed Mar 1, 2024
1 parent 404da21 commit bb4dd29
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
22 changes: 18 additions & 4 deletions src/components/modals/SubmitTranscriptModal.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { discordInvites } from "@/utils";
import {
Box,
Divider,
Expand Down Expand Up @@ -68,10 +69,10 @@ const SubmitTranscriptModal = ({ submitState, onClose }: Props) => {
stepLoading
? "orange.400"
: stepCompleted
? "green.400"
: stepNotRun
? "gray.300"
: "red.400"
? "green.400"
: stepNotRun
? "gray.300"
: "red.400"
}
fontWeight={stepNotRun ? 300 : 600}
>
Expand Down Expand Up @@ -127,6 +128,19 @@ const SubmitTranscriptModal = ({ submitState, onClose }: Props) => {
</Link>
.
</Text>
<Divider marginY={2} />
<Text fontSize="sm" alignSelf='end'>
Help us improve!{" "}
<Link
href={discordInvites.feedback}
target="_blank"
color="blue.400"
data-umami-event="discord-feedback"
>
Tell us about your experience
</Link>
.
</Text>
</Flex>
</>
)}
Expand Down
1 change: 1 addition & 0 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,4 +366,5 @@ export const guidelinesReviewArray = [

export const discordInvites = {
review_guidelines: "https://discord.gg/jqj4maCs8p",
feedback: "https://discord.gg/W4cmWRhMnr"
};

0 comments on commit bb4dd29

Please sign in to comment.