cylc-ui icon indicating copy to clipboard operation
cylc-ui copied to clipboard

edit-runtime: sort non-null fields first

Open oliver-sanders opened this issue 1 year ago • 0 comments

Sort fields in edit-runtime primarily by null/non-null status, and secondarily by alphabetical order or whatever.

Problem

Most of the time task definitions use only a small subset of the available configurations.

Most of the time when we edit-runtime, we are changing something which was already set.

So when we edit-runtime, we end up scrolling around trying to find the small subset of configurations which have actually been set.

Proposed Solution

Sort the fields in edit-runtime so that the fields which have been set appear first, then the unset fields bellow.

It might be worth considering displaying unset fields differently (until something is added into them) to make the distinction clear (to help explain the sort order).

oliver-sanders avatar May 16 '23 15:05 oliver-sanders