Skip to content

Environment config fails to save if JSON incorrectly formatted #305

@ZachG-LTK

Description

@ZachG-LTK

When updating an environment for a workspace, if the JSON body is malformed (for example, forgetting the comma at the end of a line), hitting the "Done" button closes the window as expected but the configuration is not saved. This can be frustrating when adding multiple lines to an environment with values that need to be copied and pasted from elsewhere.

The environment config panel should either:

  1. Display syntax errors live while editing the JSON body, or
  2. Display an error when trying to exit the panel with a malformed configuration

It would be a big help, thank you!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions