This introduces grouping of the AdvancedDataView layers in the frontend.
If an corpus/endpoint provides more than one layer for a single result then the layers will be grouped with a small, visible line. If all results of a corpus/endpoint only provide a single layer then no line is shown.
I'm a bit unsure how to test the src/main/resources/assets/js/pages/aggregatorpage.jsx code. Theoretically, it should be sound but a test might be good. Or console log outputs.
Exports seem to work fine.
Examples
#### Example without line:
![grafik](https://user-images.githubusercontent.com/1648294/176925794-cf416044-4b6f-477f-b079-a7f2c055264b.png)
#### Example with line:
![grafik](https://user-images.githubusercontent.com/1648294/176925845-6a544dbb-1e11-4e8c-8641-ad5a069f6c91.png)
This introduces grouping of the AdvancedDataView layers in the frontend. If an corpus/endpoint provides more than one layer for a single result then the layers will be grouped with a small, visible line. If all results of a corpus/endpoint only provide a single layer then no line is shown.
I'm a bit unsure how to test the
src/main/resources/assets/js/pages/aggregatorpage.jsx
code. Theoretically, it should be sound but a test might be good. Or console log outputs. Exports seem to work fine.Examples
#### Example without line: ![grafik](https://user-images.githubusercontent.com/1648294/176925794-cf416044-4b6f-477f-b079-a7f2c055264b.png) #### Example with line: ![grafik](https://user-images.githubusercontent.com/1648294/176925845-6a544dbb-1e11-4e8c-8641-ad5a069f6c91.png)