Skip to content
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

Feature request: Drop-down menu for choosing model to simulate #145

Open
CSchoel opened this issue Aug 17, 2020 · 1 comment
Open

Feature request: Drop-down menu for choosing model to simulate #145

CSchoel opened this issue Aug 17, 2020 · 1 comment
Labels
feature a new feature ui User Interface/frontend related

Comments

@CSchoel
Copy link
Member

CSchoel commented Aug 17, 2020

The usability of Webmodelica could be greatly improved if we could provide users with a Drop-down menu of "simulateable" models in a project. This could be implemented in the UI by changing the entry field for the model name in the simulation tab to a combo box.

In the backend this would actually also be quite simple: Just load all model files in the project (or if that would lead to problems provide a project-wide setting to choose packages to load) and look for models which have an experiment() annotation. Only select the models that have such an annotation and gather their fully qualified names as list of options for the combo box.

@CSchoel CSchoel changed the title Feature requrest: Drop-down menu for choosing model to simulate Feature request: Drop-down menu for choosing model to simulate Aug 17, 2020
@njustus
Copy link
Member

njustus commented Sep 5, 2020

This is not at all quite simple because we don't know the project's models. But we could provide auto completion in the text field, by reusing the complete API.

@njustus njustus added ui User Interface/frontend related enhancement New feature or request feature a new feature and removed enhancement New feature or request labels Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a new feature ui User Interface/frontend related
Projects
None yet
Development

No branches or pull requests

2 participants