Added sample proxy server for testing with orborus

This commit is contained in:
frikky
2022-02-17 23:06:01 +01:00
parent f0bd2cafbf
commit 0df7bdd970
7 changed files with 120 additions and 60 deletions
+7 -3
View File
@@ -659,7 +659,8 @@ const AngularWorkflow = (defaultprops) => {
});
const newitem = removeParam("execution_id", cursearch);
props.history.push(curpath + newitem);
navigate(curpath + newitem)
//props.history.push(curpath + newitem);
}
}
}
@@ -3576,7 +3577,8 @@ const AngularWorkflow = (defaultprops) => {
) {
setExecutionModalOpen(true)
const newitem = removeParam("execution_highlight", cursearch);
props.history.push(curpath + newitem);
navigate(curpath + newitem)
//props.history.push(curpath + newitem);
}
const tmpView = new URLSearchParams(cursearch).get("view");
@@ -3588,7 +3590,9 @@ const AngularWorkflow = (defaultprops) => {
setExecutionModalOpen(true);
const newitem = removeParam("view", cursearch);
props.history.push(curpath + newitem);
navigate(curpath + newitem)
//navigate(`?execution_highlight=${parsed_url}`)
//props.history.push(curpath + newitem);
}
return;
}
+48 -46
View File
@@ -2226,53 +2226,55 @@ const GettingStarted = (props) => {
return (
<div style={viewStyle}>
<Dialog
open={videoViewOpen}
onClose={() => {
setVideoViewOpen(false)
}}
PaperProps={{
style: {
backgroundColor: surfaceColor,
color: "white",
minWidth: 560,
minHeight: 415,
textAlign: "center",
},
}}
>
<DialogTitle>
Welcome to Shuffle!
</DialogTitle>
<Tooltip
title="Close window"
placement="top"
style={{ zIndex: 10011 }}
>
<IconButton
style={{ zIndex: 5000, position: "absolute", top: 10, right: 34 }}
onClick={(e) => {
e.preventDefault();
setVideoViewOpen(false)
}}
>
<CloseIcon style={{ color: "white" }} />
</IconButton>
</Tooltip>
<iframe
width="560"
height="315"
style={{margin: "0px auto 0px auto", width: 560, height: 315,}}
src="https://www.youtube-nocookie.com/embed/rO7k9q3OgC0"
title="Introduction video"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
{isCloud ?
<Dialog
open={videoViewOpen}
onClose={() => {
setVideoViewOpen(false)
}}
PaperProps={{
style: {
backgroundColor: surfaceColor,
color: "white",
minWidth: 560,
minHeight: 415,
textAlign: "center",
},
}}
>
</iframe>
</Dialog>
<DialogTitle>
Welcome to Shuffle!
</DialogTitle>
<Tooltip
title="Close window"
placement="top"
style={{ zIndex: 10011 }}
>
<IconButton
style={{ zIndex: 5000, position: "absolute", top: 10, right: 34 }}
onClick={(e) => {
e.preventDefault();
setVideoViewOpen(false)
}}
>
<CloseIcon style={{ color: "white" }} />
</IconButton>
</Tooltip>
<iframe
width="560"
height="315"
style={{margin: "0px auto 0px auto", width: 560, height: 315,}}
src="https://www.youtube-nocookie.com/embed/rO7k9q3OgC0"
title="Introduction video"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
>
</iframe>
</Dialog>
: null}
<div style={workflowViewStyle}>
<Typography variant="h1" style={{fontSize: 30, marginTop: 25, }}>
Getting Started with Shuffle