diff --git a/gui/src/components/gui/StepContainer.tsx b/gui/src/components/gui/StepContainer.tsx index 0a85810d5..a13aa1e41 100644 --- a/gui/src/components/gui/StepContainer.tsx +++ b/gui/src/components/gui/StepContainer.tsx @@ -90,7 +90,10 @@ function StepContainer(props: StepContainerProps) { isUserInput={isUserInput} fontSize={getFontSize()} > - + {(isHovered || typeof feedback !== "undefined") && !active && (
void; + onClick?: () => void; + hidden?: boolean; } function InputToolbar(props: InputToolbarProps) { return ( -
+ {active ? ( + <> +
+
+ + ) : state.history.length > 0 ? ( + { + saveSession(); + }} + className="mr-auto" + > + New Session ({getMetaKeyLabel()} {isJetBrains() ? "J" : "M"}) + + ) : null} {active && ( (values: &mut[T]) { let len = values.len(); for i in 0..len { @@ -84,8 +81,8 @@ fn bubble_sort(values: &mut[T]) { } } \`\`\`\nIs there anything else I can answer?`, - name: "Rust Bubble Sort", - depth: 0, + }, + contextItems: [], }, ];