gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
31 stars 6 forks source link

Turn the status control into a full "experiment/simulation manager" #111

Open lesquoyb opened 9 months ago

lesquoyb commented 9 months ago

I'm opening an issue based on an old discussion, most of it already have been implemented but there are still some interesting ideas that were originally proposed.

Discussed in https://github.com/gama-platform/gama/discussions/100

Originally posted by **AlexisDrogoul** September 8, 2021 Right now, the status control is used to display information about the experiment and the simulations. It is not extremely practical but does the job of keeping a clean and compact UI. ![An… 2021-09-08 17-06-05](https://user-images.githubusercontent.com/579256/132490195-cbaee42e-5af8-4d69-a3d2-c46d9cc28c28.png) However, when multiple simulations are run, the limit of this small output become more obvious, especially if one wants to follow the execution of the simulations in parallel or easily jump from one simulation to the other. As a matter of fact, besides displaying the information, it doesn't play an active role in managing the experiment and the simulations. One could, for example, want to pause or destroy a simulation, etc. or change (like suggested in #2970) the parameters of one specific simulation, or display only this simulation and not the others, etc. So I propose that we rely on this drop-down (and probably redesign it, and reorganise a bit the toolbar and parameters view) to accomplish this: - selecting the experiment would display the experiment parameters (if any) and all the simulations+permanent outputs - selecting one simulation would display only this simulation, its parameters, its views, etc. - the parameters view would always correspond to the currently displayed experiment/simulation - at the top of the parameters view would be displayed the time/cycle information of the current exp/sim (and maybe, in the case of experiment, the information about all the simulations + controls over them, like stop/pause/goto...? ) - the controls in the toolbar would apply to the current exp/sim as well. i.e. pause or destroy it. Please share your thoughts about this @gama-platform/core !
AlexisDrogoul commented 2 months ago

This issue should be revisited in the light of the current drop-down menu, which now offers more or less exactly what is described here (in addition to the parameters + interactive console views which are now tied to the "current" top-level agent (either gama, the experiment or one of its simulations)).