Skip to content

Display relevant information in focus sidebar #410

@mevionfamos

Description

@mevionfamos

Description

Currently we always display the same data (normal electricity tariff infos) in the sidebar when the user selects a municipality on the map. For sunshine, these values can be confusing and if we show something, it should correspond to what the user is currently looking at on the map.

Reproduction Steps

  1. Navigate to https://www.strompreis.abn.elcom.admin.ch/map?entity=operator&tab=sunshine
  2. Click on an operator
  3. Observe the sidebar displays tariff information (Total, H4, Standard) from the Energy Tariffs tab, along with the actual value for the network costs

Expected Behavior

Instead, we should display the filter state of the current query (e.g. Indicator: Netzkosten, Netzebene: NE7, Vergleichsgruppe etc) based on the current filter state

Additional Context

Image

When working on this, we should also review #361 (and #371 ) + possibly #370

Test Environment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions