st2flow icon indicating copy to clipboard operation
st2flow copied to clipboard

No user visible error message is displayed when saving a workflow when sources are not configured

Open Kami opened this issue 6 years ago • 4 comments

If sources are not configured and you try to add / save new workflow definition, no visible error is displayed to the user (there is just an error in the console).

We should display error in the UI in such scenario and ask user to configure the sources.

And perhaps even grey out all the options until sources are configured?

Kami avatar Mar 12 '19 07:03 Kami

I'm not sure what you mean by this. What do you mean by "sources"?

bigmstone avatar Mar 13 '19 15:03 bigmstone

Sorry with sources I mean if no api, auth url and credentials are configured.

Kami avatar Mar 13 '19 15:03 Kami

If sources are not configured you shouldn't be able to log in, right?

bmomberger-bitovi avatar Mar 19 '19 02:03 bmomberger-bitovi

Correct.

Kami avatar Mar 19 '19 07:03 Kami