Goal / Objective
Combinatory metrics are shown when the user selects multiple metrics from the sidebar on the left. When a single metric is selected, there are two drop-downs under the map giving information about the data. However, when multiple metrics are selected, the "About this data" and "About this dataset" dropdowns only give information about the first dataset selected, rather than all datasets. The goal is to make it so that information for all datasets are shown.
Architectural Scope
- Target Subsystem: Frontend only (no backend)
- Affected Directory: /frontend/src/
- Relevant Files/Interfaces: - Possibly MultiDataSelector, DataSelector
Current Behavior vs. Expected Behavior
- Current State: Currently, when multiple metrics are selected, the "About this data" and "About this dataset" dropdowns only give information about the first dataset selected, rather than all datasets.
- Expected State: When multiple metrics are selected, the website should show multiple "About this data" and "About this dataset" dropdowns, one set for each metric. There should be a title above the two dropdowns illustrating what metric is being shown (e.g. "Water Stress" or "Wildfire Risk"). The title and the dropdowns for each metric should be grouped together in a rounded box in the color gray, to make it clear which dropdowns belong to which dataset.
Goal / Objective
Combinatory metrics are shown when the user selects multiple metrics from the sidebar on the left. When a single metric is selected, there are two drop-downs under the map giving information about the data. However, when multiple metrics are selected, the "About this data" and "About this dataset" dropdowns only give information about the first dataset selected, rather than all datasets. The goal is to make it so that information for all datasets are shown.
Architectural Scope
Current Behavior vs. Expected Behavior