mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
Add links to intercept filter docs
This commit is contained in:
@ -16,6 +16,7 @@ import {
|
|||||||
TextFieldProps,
|
TextFieldProps,
|
||||||
Typography,
|
Typography,
|
||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
|
import MaterialLink from "@mui/material/Link";
|
||||||
import { SwitchBaseProps } from "@mui/material/internal/SwitchBase";
|
import { SwitchBaseProps } from "@mui/material/internal/SwitchBase";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
|
|
||||||
@ -217,7 +218,13 @@ export default function Settings(): JSX.Element {
|
|||||||
onChange={(e) => setInterceptReqFilter(e.target.value)}
|
onChange={(e) => setInterceptReqFilter(e.target.value)}
|
||||||
/>
|
/>
|
||||||
<FormHelperText>
|
<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>
|
</FormHelperText>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<Button
|
<Button
|
||||||
@ -266,7 +273,13 @@ export default function Settings(): JSX.Element {
|
|||||||
onChange={(e) => setInterceptResFilter(e.target.value)}
|
onChange={(e) => setInterceptResFilter(e.target.value)}
|
||||||
/>
|
/>
|
||||||
<FormHelperText>
|
<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>
|
</FormHelperText>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<Button
|
<Button
|
||||||
|
Reference in New Issue
Block a user