cylc-ui
cylc-ui copied to clipboard
views: collect view options and make them configurable
See also: https://github.com/cylc/cylc-ui/issues/662#issuecomment-1303772166 and https://github.com/cylc/cylc-ui/pull/1108#discussion_r1031241403
Each view has some options associated with it, e.g. the graph view has a "transpose" option and the tree/table views have a "cycle point sort order" option (currently configured globally but should probably be separate).
#471 (view toolbar) will provide a standard way for these options to be presented to the user. We should also collect the defaults for these options so that they can be provided to the view in a standard way.
This issue is about:
- Collecting the default options for each component and allowing them to be provided to the view via a standard prop.
- Making these defaults configurable from the settings page, ideally using the same view toolbar component.
Pull requests welcome!