From 4b6a951714e7f85cd7dcff6eeaa420cab8ba8c05 Mon Sep 17 00:00:00 2001 From: paulobressan Date: Fri, 1 Sep 2023 15:12:33 -0300 Subject: [PATCH] feat: added terminal stage --- docs/components/configuration.jsx | 83 +++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/docs/components/configuration.jsx b/docs/components/configuration.jsx index 31eaaccf..ce66e979 100644 --- a/docs/components/configuration.jsx +++ b/docs/components/configuration.jsx @@ -92,6 +92,7 @@ export function Configuration() { [TYPES.SINKS]: { Stdout: , FileRotate: , + Terminal: , Redis: , AwsLambda: , AwsS3: , @@ -1733,6 +1734,88 @@ function KafkaStage({ onAdd }) { ); } +function TerminalStage({ onAdd }) { + const [throttleMinSpanMillis, setThrottleMinSpanMillis] = useState(); + const [adahandlePolicy, setAdahandlePolicy] = useState(); + const [wrap, setWrap] = useState(false); + + return ( + <> +
+
+ + setThrottleMinSpanMillis(e.target.value)} + /> +
+ +
+ + setAdahandlePolicy(e.target.value)} + /> +
+ +
+ setWrap(!wrap)} + /> + +
+
+ +
+ +
+ + ); +} + function StageCard({ value }) { return (