Skip to content

Failure to generate config file results in "success" notification #89

Description

@yousefmoazzam

In the "Methods" page, even when the config file fails to be generated (for example, when clicking the "Get Config" button after a refresh of the page, so the page is completely blank), a notification pops up saying "Configuration file generated successfully", which is misleading.

See the screenshot below for an example:

Image

The error likely resides in the component in YamlGenerator.tsx, somewhere in the error-handling logic for when the snackbar should or shouldn't be displayed.

Activity

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

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions