diff --git a/backend/go-app/codegen.go b/backend/go-app/codegen.go index a2c0ca5c..90460ad1 100644 --- a/backend/go-app/codegen.go +++ b/backend/go-app/codegen.go @@ -601,8 +601,6 @@ func generateYaml(swagger *openapi3.Swagger, newmd5 string) (*openapi3.Swagger, actualPath = strings.Replace(actualPath, "\\", "", -1) // FIXME: Handle everything behind questionmark (?) with dots as well. - log.Printf("ActualPath: %s", actualPath) - // https://godoc.org/github.com/getkin/kin-openapi/openapi3#PathItem if path.Get != nil { action, curCode := handleGet(swagger, api, extraParameters, path, actualPath) diff --git a/backend/go-app/walkoff.go b/backend/go-app/walkoff.go index 9620a140..60a903f8 100644 --- a/backend/go-app/walkoff.go +++ b/backend/go-app/walkoff.go @@ -120,6 +120,8 @@ type WorkflowApp struct { } `json:"contact_info" datastore:"contact_info" yaml:"contact_info" required:false` Actions []WorkflowAppAction `json:"actions" yaml:"actions" required:true datastore:"actions,noindex"` Authentication Authentication `json:"authentication" yaml:"authentication" required:false datastore:"authentication"` + Tags []string `json:"tags" yaml:"tags" required:false datastore:"activated"` + Category []string `json:"category" yaml:"category" required:false datastore:"category"` } type WorkflowAppActionParameter struct { diff --git a/frontend/src/views/AngularWorkflow.jsx b/frontend/src/views/AngularWorkflow.jsx index 64b85d30..69269842 100644 --- a/frontend/src/views/AngularWorkflow.jsx +++ b/frontend/src/views/AngularWorkflow.jsx @@ -29,6 +29,7 @@ import Menu from '@material-ui/core/Menu'; import Input from '@material-ui/core/Input'; import FormGroup from '@material-ui/core/FormGroup'; import FormControlLabel from '@material-ui/core/FormControlLabel'; +import Typography from '@material-ui/core/Typography'; import Checkbox from '@material-ui/core/Checkbox'; import Breadcrumbs from '@material-ui/core/Breadcrumbs'; import CircularProgress from '@material-ui/core/CircularProgress'; @@ -106,6 +107,7 @@ const AngularWorkflow = (props) => { const { globalUrl, isLoggedIn, isLoaded } = props; const referenceUrl = globalUrl+"/api/v1/hooks/" const alert = useAlert() + const borderRadius = 3 const [bodyWidth, bodyHeight] = useWindowSize(); const appBarSize = 74 @@ -1575,6 +1577,7 @@ const AngularWorkflow = (props) => { } const paperAppStyle = { + borderRadius: borderRadius, minHeight: "100px", maxHeight: "100px", minWidth: "100%", @@ -1587,6 +1590,7 @@ const AngularWorkflow = (props) => { } const paperVariableStyle = { + borderRadius: borderRadius, minHeight: "50px", maxHeight: "50px", minWidth: "100%", @@ -2207,6 +2211,7 @@ const AngularWorkflow = (props) => {
{/* {
-
+
@@ -2644,7 +2649,7 @@ const AngularWorkflow = (props) => { var datafield = { ))} { selectedAction.parameters[count].value = selectedActionParameters[count].value console.log("TARGET: ", selectedActionParameters) setSelectedAction(selectedAction) - setUpdate("action"+e.target.value.name) + setUpdate(Math.random()) setShowDropdown(false) }} @@ -2928,7 +2933,7 @@ const AngularWorkflow = (props) => { selectedAction.parameters[count].value = selectedActionParameters[count].value console.log("TARGET: ", selectedActionParameters) setSelectedAction(selectedAction) - setUpdate("action"+e.target.value.name) + setUpdate(Math.random()) setShowDropdown(false) }} @@ -3016,8 +3021,8 @@ const AngularWorkflow = (props) => { flexDirection: "column", backgroundColor: "#1F2023", color: "white", - paddingRight: 10, - paddingLeft: 10, + paddingRight: 15, + paddingLeft: 15, minHeight: "100%", zIndex: 1000, resize: "vertical", @@ -3080,7 +3085,7 @@ const AngularWorkflow = (props) => {

{selectedAction.app_name}

- What are actions? + What are actions? {selectedAction.errors !== null && selectedAction.errors.length > 0 ?
Errors: {selectedAction.errors.join("\n")} @@ -3095,17 +3100,17 @@ const AngularWorkflow = (props) => {
-
+ Name -
+ { selectedAction.selectedAuthentication = e.target.value selectedAction.authentication_id = e.target.value.id setSelectedAction(selectedAction) - setUpdate("update auth") + setUpdate(Math.random()) }} style={{backgroundColor: inputColor, color: "white", height: "50px"}} > @@ -3175,12 +3180,15 @@ const AngularWorkflow = (props) => { : null} {environments !== undefined && environments !== null && environments.length > 1 ?
- Environment + + Environment +