FlexMeasures / flexmeasures

The intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.
https://flexmeasures.io
Apache License 2.0
133 stars 34 forks source link

Remove unused UI view #1110

Open nhoening opened 1 week ago

nhoening commented 1 week ago

The endpoint /sensors/<id>/chart (see here) is unused.

Right now, the sensor page uses https://URL/sensors/ID, and that uses https://URL/api/dev/sensor/ID/chart to get a chart.

We can remove this view, of course still check whether looking at sensor pages still works okay.

Flix6x commented 1 week ago

Just to note that the one feature that this page had which the sensor page did not have was to select a time range using url parameters.

https://github.com/FlexMeasures/flexmeasures/pull/1094 changed that, making this page completely surpassed, in terms of features, by the sensor page.