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/nirasan/go-oauth-pkce-code-verifier v0.0.0-20170819232839-0fbfe93532da // indirect
|
||||
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
|
||||
golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce
|
||||
google.golang.org/api v0.65.0
|
||||
|
||||
@@ -109,7 +109,7 @@ const WelcomeForm = (props) => {
|
||||
const data = {
|
||||
"tutorial": "welcome",
|
||||
"firstname": name,
|
||||
"role": role,
|
||||
"company_role": role,
|
||||
"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.
|
||||
</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">
|
||||
We need some more information in order to understand how we best can help you find relevant Usecases in Shuffle.
|
||||
</Typography>
|
||||
@@ -326,6 +329,7 @@ const WelcomeForm = (props) => {
|
||||
required
|
||||
style={{width: "100%", marginTop: 0,}}
|
||||
placeholder="Name"
|
||||
autoFocus
|
||||
label="Name"
|
||||
type="name"
|
||||
id="standard-required"
|
||||
|
||||
@@ -2722,8 +2722,7 @@ const AngularWorkflow = (defaultprops) => {
|
||||
curaction.parameters[key].options.length > 0 &&
|
||||
curaction.parameters[key].value === ""
|
||||
) {
|
||||
curaction.parameters[key].value =
|
||||
curaction.parameters[key].options[0];
|
||||
curaction.parameters[key].value = curaction.parameters[key].options[0];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -2960,6 +2959,8 @@ const AngularWorkflow = (defaultprops) => {
|
||||
"uid",
|
||||
"uuid",
|
||||
"team id",
|
||||
"message id",
|
||||
"message_id",
|
||||
],
|
||||
title: ["title", "name", "message"],
|
||||
description: ["description", "explanation", "story", "details"],
|
||||
@@ -2980,7 +2981,7 @@ const AngularWorkflow = (defaultprops) => {
|
||||
};
|
||||
|
||||
// 1. Find the right synonym
|
||||
// 2.
|
||||
// 2. Replace with an autocomplete if it exists
|
||||
var selectedsynonyms = [paramname];
|
||||
for (const [key, value] of Object.entries(synonyms)) {
|
||||
if (key === paramname || value.includes(paramname)) {
|
||||
|
||||
@@ -3850,7 +3850,7 @@ const AppCreator = (defaultprops) => {
|
||||
Enable Fileupload
|
||||
</Button>
|
||||
) : null}
|
||||
{currentActionMethod === "GET" ? (
|
||||
{/*currentActionMethod === "GET" ? (
|
||||
<Button
|
||||
color="primary"
|
||||
variant={fileDownloadEnabled ? "contained" : "outlined"}
|
||||
@@ -3872,7 +3872,7 @@ const AppCreator = (defaultprops) => {
|
||||
>
|
||||
Download as file
|
||||
</Button>
|
||||
) : null}
|
||||
) : null*/}
|
||||
{fileUploadEnabled ? (
|
||||
<TextField
|
||||
required
|
||||
|
||||
Reference in New Issue
Block a user