Frontend merges

This commit is contained in:
Frikky
2025-01-13 14:26:03 +01:00
parent 09ab53f242
commit dc258d1497
3 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ require (
github.com/gorilla/mux v1.8.1
github.com/h2non/filetype v1.1.3
github.com/satori/go.uuid v1.2.0
github.com/shuffle/shuffle-shared v0.6.90
github.com/shuffle/shuffle-shared v0.6.94
golang.org/x/crypto v0.22.0
google.golang.org/api v0.176.1
google.golang.org/grpc v1.63.2
+10 -4
View File
@@ -1484,6 +1484,14 @@ const ParsedAction = (props) => {
const selectedAppIcon = selectedAction.large_image
var newAppname = selectedAction?.name?.charAt(0).toUpperCase() + selectedAction?.name?.substring(1)
if (newAppname === undefined || newAppname === null) {
newAppname = ""
} else {
newAppname = newAppname.replaceAll("_", " ")
}
return (
<div style={appApiViewStyle} id="parsed_action_view">
@@ -1506,11 +1514,9 @@ const ParsedAction = (props) => {
border: "2px solid rgba(255,255,255,0.3)",
}} />
</Tooltip>
<h3 style={{ }}>
{(
selectedAction?.app_name?.charAt(0).toUpperCase() +
selectedAction?.app_name?.substring(1)
)?.replaceAll("_", " ")}
{newAppname}
</h3>
</div>
<div style={{display: "flex", marginTop: 0, }}>
@@ -1843,7 +1843,10 @@ const CodeEditor = (props) => {
variant='body2'
color='textSecondary'
>
Output is based on the last VALID run of the node(s) you are referencing. Only updates when you refresh the Workflow Window.
Output is based on the last VALID run of the node(s) you are referencing. Refresh the page to get updated Variable values.&nbsp;
{selectedAction?.name === "execute_python" ?
"For Python: exit() to stop a python script ANYWHERE."
: null}
</Typography>
<Typography variant="body2" style={{ maxHeight: 150, overflow: "auto", marginTop: 20, }}>
No test output yet.