Skip to content

Commit

Permalink
chore: Make avg response times more visible in support form (#24588)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Raquel Smith <[email protected]>
  • Loading branch information
3 people authored Aug 27, 2024
1 parent 8dde90a commit f4497a7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,30 @@ const SupportFormBlock = ({ onCancel }: { onCancel: () => void }): JSX.Element =

return (
<Section title="Email an engineer">
<div className="grid grid-cols-2 border rounded [&_>*]:px-2 [&_>*]:py-0.5 mb-4 bg-bg-light">
<SupportForm />
<LemonButton
form="support-modal-form"
htmlType="submit"
type="primary"
data-attr="submit"
fullWidth
center
className="mt-4"
>
Submit
</LemonButton>
<LemonButton
form="support-modal-form"
type="secondary"
onClick={onCancel}
fullWidth
center
className="mt-2 mb-4"
>
Cancel
</LemonButton>
<br />
<div className="grid grid-cols-2 border rounded [&_>*]:px-2 [&_>*]:py-0.5 mb-4 bg-bg-light pt-4">
<div className="col-span-full flex justify-between border-b bg-bg-white py-1">
<div>
<strong>Avg support response times</strong>
Expand Down Expand Up @@ -131,28 +154,6 @@ const SupportFormBlock = ({ onCancel }: { onCancel: () => void }): JSX.Element =
)
})}
</div>
<SupportForm />
<LemonButton
form="support-modal-form"
htmlType="submit"
type="primary"
data-attr="submit"
fullWidth
center
className="mt-4"
>
Submit
</LemonButton>
<LemonButton
form="support-modal-form"
type="secondary"
onClick={onCancel}
fullWidth
center
className="mt-2"
>
Cancel
</LemonButton>
</Section>
)
}
Expand Down

0 comments on commit f4497a7

Please sign in to comment.