Skip to content

Need warning to predictable errors. #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Minku-Koo opened this issue Jul 26, 2022 · 2 comments
Open

Need warning to predictable errors. #152

Minku-Koo opened this issue Jul 26, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Minku-Koo
Copy link
Contributor

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 Minku-Koo added the enhancement New feature or request label Jul 26, 2022
@Minku-Koo Minku-Koo changed the title Need to avoid predictable errors. Need warning to predictable errors. Jul 26, 2022
@Minku-Koo Minku-Koo reopened this Jul 29, 2022
@minjk-bl
Copy link
Collaborator

minjk-bl commented Aug 5, 2022

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!

@Minku-Koo
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants