equinor / webviz

Mozilla Public License 2.0
5 stars 6 forks source link

Persist selected field in Ensemble selector dialog box #626

Closed anders-kiaer closed 1 month ago

anders-kiaer commented 1 month ago

It is common that a user has access to several fields, but for a given webviz session he/she are often only working on a given field.

In the ensemble selector, the dropdown list of selected fields resets to first field in list every time the ensemble dialog box opens up when user is adding/removing ensembles.

One suggestion is to e.g. persist last selected field, and use that as default in the selected field dropdown?

Need to handle the case that the earlier persisted field might no longer be a valid selection in the dropdown (changes in SUMO and/or SUMO access), and e.g. fall back to first field as today in those cases.

anders-kiaer commented 1 month ago

Somewhat related to https://github.com/equinor/webviz/issues/500.