Fixed issues with app generation, welcome form and other parts
This commit is contained in:
@@ -24,7 +24,7 @@ require (
|
|||||||
github.com/h2non/filetype v1.1.3
|
github.com/h2non/filetype v1.1.3
|
||||||
github.com/nirasan/go-oauth-pkce-code-verifier v0.0.0-20170819232839-0fbfe93532da // indirect
|
github.com/nirasan/go-oauth-pkce-code-verifier v0.0.0-20170819232839-0fbfe93532da // indirect
|
||||||
github.com/satori/go.uuid v1.2.0
|
github.com/satori/go.uuid v1.2.0
|
||||||
github.com/shuffle/shuffle-shared v0.2.74
|
github.com/shuffle/shuffle-shared v0.2.77
|
||||||
go4.org v0.0.0-20201209231011-d4a079459e60 // indirect
|
go4.org v0.0.0-20201209231011-d4a079459e60 // indirect
|
||||||
golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce
|
golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce
|
||||||
google.golang.org/api v0.65.0
|
google.golang.org/api v0.65.0
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ const WelcomeForm = (props) => {
|
|||||||
const data = {
|
const data = {
|
||||||
"tutorial": "welcome",
|
"tutorial": "welcome",
|
||||||
"firstname": name,
|
"firstname": name,
|
||||||
"role": role,
|
"company_role": role,
|
||||||
"user_id": userId,
|
"user_id": userId,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -318,6 +318,9 @@ const WelcomeForm = (props) => {
|
|||||||
This data will be used within the product and NOT be shared unless <a href="https://shuffler.io/docs/organizations#cloud_synchronization" target="_blank" rel="norefferer" style={{color: "#f86a3e", textDecoration: "none"}}>cloud synchronization</a> is configured.
|
This data will be used within the product and NOT be shared unless <a href="https://shuffler.io/docs/organizations#cloud_synchronization" target="_blank" rel="norefferer" style={{color: "#f86a3e", textDecoration: "none"}}>cloud synchronization</a> is configured.
|
||||||
</Typography>
|
</Typography>
|
||||||
*/}
|
*/}
|
||||||
|
<Typography variant="h6" style={{marginLeft: 8, marginTop: 10, marginRight: 30, }} color="textSecondary">
|
||||||
|
Welcome to Shuffle!
|
||||||
|
</Typography>
|
||||||
<Typography variant="body1" style={{marginLeft: 8, marginTop: 10, marginRight: 30, }} color="textSecondary">
|
<Typography variant="body1" style={{marginLeft: 8, marginTop: 10, marginRight: 30, }} color="textSecondary">
|
||||||
We need some more information in order to understand how we best can help you find relevant Usecases in Shuffle.
|
We need some more information in order to understand how we best can help you find relevant Usecases in Shuffle.
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -326,6 +329,7 @@ const WelcomeForm = (props) => {
|
|||||||
required
|
required
|
||||||
style={{width: "100%", marginTop: 0,}}
|
style={{width: "100%", marginTop: 0,}}
|
||||||
placeholder="Name"
|
placeholder="Name"
|
||||||
|
autoFocus
|
||||||
label="Name"
|
label="Name"
|
||||||
type="name"
|
type="name"
|
||||||
id="standard-required"
|
id="standard-required"
|
||||||
|
|||||||
@@ -2722,8 +2722,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
curaction.parameters[key].options.length > 0 &&
|
curaction.parameters[key].options.length > 0 &&
|
||||||
curaction.parameters[key].value === ""
|
curaction.parameters[key].value === ""
|
||||||
) {
|
) {
|
||||||
curaction.parameters[key].value =
|
curaction.parameters[key].value = curaction.parameters[key].options[0];
|
||||||
curaction.parameters[key].options[0];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -2960,6 +2959,8 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
"uid",
|
"uid",
|
||||||
"uuid",
|
"uuid",
|
||||||
"team id",
|
"team id",
|
||||||
|
"message id",
|
||||||
|
"message_id",
|
||||||
],
|
],
|
||||||
title: ["title", "name", "message"],
|
title: ["title", "name", "message"],
|
||||||
description: ["description", "explanation", "story", "details"],
|
description: ["description", "explanation", "story", "details"],
|
||||||
@@ -2980,7 +2981,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 1. Find the right synonym
|
// 1. Find the right synonym
|
||||||
// 2.
|
// 2. Replace with an autocomplete if it exists
|
||||||
var selectedsynonyms = [paramname];
|
var selectedsynonyms = [paramname];
|
||||||
for (const [key, value] of Object.entries(synonyms)) {
|
for (const [key, value] of Object.entries(synonyms)) {
|
||||||
if (key === paramname || value.includes(paramname)) {
|
if (key === paramname || value.includes(paramname)) {
|
||||||
|
|||||||
@@ -3850,7 +3850,7 @@ const AppCreator = (defaultprops) => {
|
|||||||
Enable Fileupload
|
Enable Fileupload
|
||||||
</Button>
|
</Button>
|
||||||
) : null}
|
) : null}
|
||||||
{currentActionMethod === "GET" ? (
|
{/*currentActionMethod === "GET" ? (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="primary"
|
||||||
variant={fileDownloadEnabled ? "contained" : "outlined"}
|
variant={fileDownloadEnabled ? "contained" : "outlined"}
|
||||||
@@ -3872,7 +3872,7 @@ const AppCreator = (defaultprops) => {
|
|||||||
>
|
>
|
||||||
Download as file
|
Download as file
|
||||||
</Button>
|
</Button>
|
||||||
) : null}
|
) : null*/}
|
||||||
{fileUploadEnabled ? (
|
{fileUploadEnabled ? (
|
||||||
<TextField
|
<TextField
|
||||||
required
|
required
|
||||||
|
|||||||
Reference in New Issue
Block a user