You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the only way to associate a layer with a dataset is by matching the colors of dataset square with the color border of a layer panel. It would be nice to have a option in the layer panel to organize layers by dataset, display layers as childrens of the dataset it is based on.
Solution
Add a PanelViewListToggle component on top of the layer manager
Add layerPanelListView to uiState reducer. uiState.layerPanelListView = 'list' | 'sortByDataset'
Add toggleLayerPanelListView to uiStateActions
PanelViewListToggle component should render 2 view options listsortByDataset
PanelViewListToggle should call toggleLayerPanelListView to update uiState.layerPanelListView
Default uiStat.layerPanelListView value should be 'list'
Render layer panels group by dataset if layerPanelListView === 'sortByDataset'
UI Design
PanelViewListToggle Component
Organize layers by dataset
The text was updated successfully, but these errors were encountered:
FWIW, I would personally prefer if the datasets list at the top disappeared in the hierarchical view (and the dataset cards were moved into the tree, replacing the dataset headers).
That dataset list is a bit of a "design crutch" IMHO, it kind of bothers me that the first thing I see in the "layers" tab is a list of "datasets" (although I do understand why it is done this way and I agree that it has some value in the "flat" view).
Problem
Currently the only way to associate a layer with a dataset is by matching the colors of dataset square with the color border of a layer panel. It would be nice to have a option in the layer panel to organize layers by dataset, display layers as childrens of the dataset it is based on.
Solution
PanelViewListToggle
component on top of the layer managerlayerPanelListView
touiState
reducer.uiState.layerPanelListView = 'list' | 'sortByDataset'
toggleLayerPanelListView
touiStateActions
PanelViewListToggle
component should render 2 view optionslist
sortByDataset
PanelViewListToggle
should calltoggleLayerPanelListView
to updateuiState.layerPanelListView
uiStat.layerPanelListView
value should be'list'
layerPanelListView === 'sortByDataset'
UI Design
PanelViewListToggle Component
Organize layers by dataset
The text was updated successfully, but these errors were encountered: