Skip to content

Commit

Permalink
Add links to intercept filter docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dstotijn committed Mar 29, 2022
1 parent 0e9fb0a commit d34258d
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions admin/src/features/settings/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
TextFieldProps,
Typography,
} from "@mui/material";
import MaterialLink from "@mui/material/Link";
import { SwitchBaseProps } from "@mui/material/internal/SwitchBase";
import { useEffect, useState } from "react";

Expand Down Expand Up @@ -217,7 +218,13 @@ export default function Settings(): JSX.Element {
onChange={(e) => setInterceptReqFilter(e.target.value)}
/>
<FormHelperText>
Filter expression to match incoming requests on. When set, only matching requests are intercepted.
Filter expression to match incoming requests on. When set, only matching requests are intercepted.{" "}
<MaterialLink
href="https://hetty.xyz/docs/guides/intercept?utm_source=hettyapp#request-filter"
target="_blank"
>
Read docs.
</MaterialLink>
</FormHelperText>
</FormControl>
<Button
Expand Down Expand Up @@ -266,7 +273,13 @@ export default function Settings(): JSX.Element {
onChange={(e) => setInterceptResFilter(e.target.value)}
/>
<FormHelperText>
Filter expression to match received responses on. When set, only matching responses are intercepted.
Filter expression to match received responses on. When set, only matching responses are intercepted.{" "}
<MaterialLink
href="https://hetty.xyz/docs/guides/intercept/?utm_source=hettyapp#response-filter"
target="_blank"
>
Read docs.
</MaterialLink>
</FormHelperText>
</FormControl>
<Button
Expand Down

0 comments on commit d34258d

Please sign in to comment.