Open davelandry opened 3 years ago
@frabarz I'm okay closing this for now, and revisiting the sorting stuff if the need arises
I'm also experimenting with the use of context + hooks to better distribute these additional config params, the useTranslation hook gave me some ideas.
Currently, the annotations that are used to determine the first and second selectors in
SelectCube.jsx
aretopic
andsubtopic
.In the case where multiple cubes have identical
topic
andsubtopic
annotations, we need a 3rd selector that allows users to switch between the available cubes. An example of this is the OEC, where the following hierarchy is desired:trade_i_baci_a_92
(cube)trade_i_baci_a_96
(cube)trade_i_baci_a_02
(cube)trade_i_baci_a_07
(cube)trade_i_baci_a_12
(cube)trade_i_baci_a_17
(cube)Here are some specific behaviors that we need to catch for this new 3rd dropdown:
table
annotation if available, otherwise just show the cube namecubeSort
?)cubeDefault
?)