Skip to content

Commit

Permalink
feat: add button to file wizard request issue
Browse files Browse the repository at this point in the history
  • Loading branch information
theSuess committed May 7, 2024
1 parent 513e08d commit 3f5cd47
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import {
Checkbox,
Field,
Input,
LinkButton,
Modal,
Toggletip,
VerticalGroup,
} from "@grafana/ui";
import { Controller, FormProvider, useForm } from "react-hook-form";
Expand Down Expand Up @@ -90,6 +92,27 @@ const BasicConfiguration = ({
stepNo={3}
>
<SourcesInput />
<Toggletip
content={
<div>
We're sorry to hear that. Please{" "}
<LinkButton
icon="external-link-alt"
fill="outline"
size="md"
href="https://github.com/grafana/alloy-configurator/issues/new?assignees=&labels=enhancement%2C+wizard&projects=&template=request-wizard-source.md&title="
target="_blank"
>
file an issue
</LinkButton>{" "}
describing which source you would like to see.
</div>
}
>
<Button fill="text" icon="question-circle">
Missing a source?
</Button>
</Toggletip>
</Step>
<Modal.ButtonRow>
<Button variant="secondary" fill="outline" onClick={dismiss}>
Expand Down

0 comments on commit 3f5cd47

Please sign in to comment.