⚡ Sangsakala Proxy 🏠 Home
Skip to content

Need warning to predictable errors. #152

Open

Description

@Minku-Koo

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?

Activity

  1. changed the title [-]Need to avoid predictable errors.[/-] [+]Need warning to predictable errors.[/+] on Jul 26, 2022
  2. minjk-bl commented on Aug 5, 2022

    @minjk-bl
    Collaborator

    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!

  3. Minku-Koo commented on Aug 5, 2022

    @Minku-Koo
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions