diff --git a/src/web/public/favicon.ico b/src/web/public/favicon.ico index a11777cc..eb40329c 100644 Binary files a/src/web/public/favicon.ico and b/src/web/public/favicon.ico differ diff --git a/src/web/public/logo192.png b/src/web/public/logo192.png index fc44b0a3..4c1fb45f 100644 Binary files a/src/web/public/logo192.png and b/src/web/public/logo192.png differ diff --git a/src/web/public/logo512.png b/src/web/public/logo512.png index a4e47a65..47fecdfd 100644 Binary files a/src/web/public/logo512.png and b/src/web/public/logo512.png differ diff --git a/src/web/src/views/workspace/WSEditorCommandArgumentsContent.tsx b/src/web/src/views/workspace/WSEditorCommandArgumentsContent.tsx index c5d72831..f1e967e2 100644 --- a/src/web/src/views/workspace/WSEditorCommandArgumentsContent.tsx +++ b/src/web/src/views/workspace/WSEditorCommandArgumentsContent.tsx @@ -1,11 +1,10 @@ import { - styled, Alert, Box, Button, - Checkbox, ButtonBase, CardContent, + Checkbox, Dialog, DialogActions, DialogContent, @@ -15,13 +14,23 @@ import { LinearProgress, Radio, RadioGroup, + styled, Switch, TextField, Typography, TypographyProps, } from "@mui/material"; +import { ChevronRight } from "@mui/icons-material"; +import AddIcon from "@mui/icons-material/Add"; +import ArrowBackIosIcon from "@mui/icons-material/ArrowBackIos"; +import CallSplitSharpIcon from "@mui/icons-material/CallSplitSharp"; +import EditIcon from "@mui/icons-material/Edit"; +import ImportExportIcon from "@mui/icons-material/ImportExport"; + import axios from "axios"; -import React, { useState, useEffect } from "react"; +import pluralize from "pluralize"; +import React, { useEffect, useState } from "react"; +import WSECArgumentSimilarPicker, { ArgSimilarTree, BuildArgSimilarTree } from "./argument/WSECArgumentSimilarPicker"; import { CardTitleTypography, ExperimentalTypography, @@ -34,13 +43,6 @@ import { StableTypography, SubtitleTypography, } from "./WSEditorTheme"; -import ArrowBackIosIcon from "@mui/icons-material/ArrowBackIos"; -import EditIcon from "@mui/icons-material/Edit"; -import ImportExportIcon from "@mui/icons-material/ImportExport"; -import CallSplitSharpIcon from "@mui/icons-material/CallSplitSharp"; -import AddIcon from "@mui/icons-material/Add"; -import WSECArgumentSimilarPicker, { ArgSimilarTree, BuildArgSimilarTree } from "./argument/WSECArgumentSimilarPicker"; -import pluralize from "pluralize"; function WSEditorCommandArgumentsContent(props: { commandUrl: string; @@ -1319,10 +1321,11 @@ function ArgumentDialog(props: { { @@ -1850,6 +1853,7 @@ function ArgumentPropsReviewer(props: { {arg.hide && ( {argOptionsString} )} + {arg.stage === "Preview" && ( @@ -2655,4 +2659,4 @@ const DecodeArgs = (argGroups: any[]): { args: CMDArg[]; clsArgDefineMap: ClsArg export default WSEditorCommandArgumentsContent; export { DecodeArgs }; -export type { CMDArg, ClsArgDefinitionMap }; +export type { ClsArgDefinitionMap, CMDArg }; diff --git a/src/web/src/views/workspace/WSEditorCommandContent.tsx b/src/web/src/views/workspace/WSEditorCommandContent.tsx index 266988a5..02997f3c 100644 --- a/src/web/src/views/workspace/WSEditorCommandContent.tsx +++ b/src/web/src/views/workspace/WSEditorCommandContent.tsx @@ -1053,10 +1053,11 @@ class CommandDialog extends React.Component { diff --git a/src/web/src/views/workspace/WSEditorCommandGroupContent.tsx b/src/web/src/views/workspace/WSEditorCommandGroupContent.tsx index f2bfebf2..f247c9f5 100644 --- a/src/web/src/views/workspace/WSEditorCommandGroupContent.tsx +++ b/src/web/src/views/workspace/WSEditorCommandGroupContent.tsx @@ -484,10 +484,11 @@ class CommandGroupDialog extends React.Component {