Skip to content

Simplify correcting widget code errors #457

@LaCuneta

Description

@LaCuneta

The current state of NetLogo Web is that widgets with compiler errors (sliders, monitors, and buttons) will display with red highlighting and when clicked will display a popup that shows the compiler error. This functionality was added before NLW had authoring. The user then has to enter authoring mode and right-click or double-click the widget to edit it and correct the problem with no indication in the editor window what the error was.

A better future state would be to popup the authoring window for the widget when it is clicked with the compiler error given clearly at the top so the user can correct it.

For plots, they currently don't obey the "indicate an error, popup the error message" behavior. Instead they popup the error when the model recompile happens and then on each subsequent full-model recompile. The plot also doesn't show an indicator of the error (red text, etc), it's just a blank "New Plot" area that cannot be clicked on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions