diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx
index 4f065e8a4..e5b128f56 100644
--- a/src/frontend/src/CustomNodes/GenericNode/index.tsx
+++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx
@@ -4,6 +4,7 @@ import ShadTooltip from "../../components/ShadTooltipComponent";
import Tooltip from "../../components/TooltipComponent";
import IconComponent from "../../components/genericIconComponent";
import InputComponent from "../../components/inputComponent";
+import { Button } from "../../components/ui/button";
import { Textarea } from "../../components/ui/textarea";
import { priorityFields } from "../../constants/constants";
import NodeToolbarComponent from "../../pages/FlowPage/components/nodeToolbarComponent";
@@ -320,8 +321,9 @@ export default function GenericNode({
)}
{showNode && (
-
{
setNode(data.id, (old) => ({
...old,
@@ -346,11 +348,12 @@ export default function GenericNode({
/>
-
+
)}
{showNode && (
- buildFlow(data.id)}
>
@@ -363,7 +366,7 @@ export default function GenericNode({
Build{" "}
{" "}
flow to validate status.
@@ -381,34 +384,37 @@ export default function GenericNode({
}
>
-
+
+ />
-
+
)}
diff --git a/src/frontend/src/components/newChatView/chatInput/index.tsx b/src/frontend/src/components/newChatView/chatInput/index.tsx
index 2a4d39f4b..777fb5d79 100644
--- a/src/frontend/src/components/newChatView/chatInput/index.tsx
+++ b/src/frontend/src/components/newChatView/chatInput/index.tsx
@@ -3,6 +3,9 @@ import IconComponent from "../../../components/genericIconComponent";
import { Textarea } from "../../../components/ui/textarea";
import { chatInputType } from "../../../types/components";
import { classNames } from "../../../utils/utils";
+import { Button } from "../../ui/button";
+import { Popover, PopoverContent, PopoverTrigger } from "../../ui/popover";
+import { Input } from "../../ui/input";
export default function ChatInput({
lockChat,
@@ -12,7 +15,7 @@ export default function ChatInput({
inputRef,
noInput,
}: chatInputType): JSX.Element {
- const [repeate, setRepeate] = useState(1);
+ const [repeat, setRepeat] = useState(1);
useEffect(() => {
if (!lockChat && inputRef.current) {
inputRef.current.focus();
@@ -22,9 +25,9 @@ export default function ChatInput({
function handleChange(value: number) {
console.log(value);
if (value > 0) {
- setRepeate(value);
+ setRepeat(value);
} else {
- setRepeate(1);
+ setRepeat(1);
}
}
@@ -36,90 +39,99 @@ export default function ChatInput({
}, [chatValue]);
return (
-
);
}
diff --git a/src/frontend/src/style/applies.css b/src/frontend/src/style/applies.css
index 908298c13..abaf9dc78 100644
--- a/src/frontend/src/style/applies.css
+++ b/src/frontend/src/style/applies.css
@@ -267,7 +267,7 @@
@apply relative flex flex-col justify-center bg-background;
}
.generic-node-div-title {
- @apply flex w-full items-center gap-4 border-b bg-muted p-4;
+ @apply flex w-full items-center gap-2 border-b bg-muted p-4;
}
.generic-node-title-arrangement {
@apply flex-max-width items-center truncate;
@@ -283,26 +283,26 @@
}
.generic-node-status-position {
- @apply relative top-[3px] h-5 w-5;
+ @apply h-5 w-5;
}
.generic-node-status-animation {
@apply hidden h-4 w-4 animate-spin rounded-full bg-ring opacity-0;
}
.generic-node-status {
- @apply h-4 w-4 rounded-full opacity-100;
+ @apply opacity-100;
}
.green-status {
- @apply generic-node-status bg-status-green;
+ @apply generic-node-status text-status-green fill-status-green;
}
.red-status {
- @apply generic-node-status bg-status-red;
+ @apply generic-node-status text-status-red fill-status-red;
}
.yellow-status {
- @apply generic-node-status bg-status-yellow;
+ @apply generic-node-status text-status-yellow fill-status-yellow;
}
.status-build-animation {
- @apply hidden h-4 w-4 animate-spin rounded-full bg-ring opacity-0;
+ @apply hidden animate-spin text-ring opacity-0;
}
.status-div {
@apply absolute w-4 duration-200 ease-in-out;
diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts
index 2ebb06509..23573129c 100644
--- a/src/frontend/src/utils/styleUtils.ts
+++ b/src/frontend/src/utils/styleUtils.ts
@@ -72,6 +72,7 @@ import {
Plus,
Redo,
RefreshCcw,
+ Repeat,
Rocket,
Save,
SaveAll,
@@ -385,5 +386,6 @@ export const nodeIconsLucide: iconsType = {
RefreshCcw,
Combine,
TerminalIcon,
+ Repeat,
io: ArrowDownUp,
};