visualpython icon indicating copy to clipboard operation
visualpython copied to clipboard

Need warning to predictable errors.

Open Minku-Koo opened this issue 3 years ago • 2 comments

When creating code (with Apps or Logic Block), there are simple errors that can be predicted.

[Example] When declare a Python function, 'default value parameter' should always follow 'non-default value parameter'. If not, error.

vp_issue_1

But visual python is possible this situation on Logic Block.

[I think] When user creates function, if error is expected, it is better to show a 'warning message'.

[Question to Maintainers] I wonder that if you don't care about this kind of problem. Are you going to ignore all predicted error? for increasing user's freedom?

Minku-Koo avatar Jul 26 '22 11:07 Minku-Koo

For logic blocks, we didn't consider predictable errors yet... I agree with adding alert message for those errors.

[Steps needed]

  1. Make a list of predictable errors on each app
  2. Prevent errors by choosing one of following methods method 1. alert message
    • showing alert on predictable errors method 2. interacting user interface
    • show and hide some input areas to prevent errors

So, we need steps to think about "how" we prevent errors. Always welcome for further suggestions :) Thanks!

minjk-bl avatar Aug 05 '22 03:08 minjk-bl

There are many interactions for prevention in all predictable errors.

It is difficult to choose the best one method.

Therefor... I suggest ways to show warning messages, and make them freely modifiable by users.

If the warning message is modularized, it is expected to be easy to apply to other apps.

Minku-Koo avatar Aug 05 '22 08:08 Minku-Koo