New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 435 display sensor charts on asset page #449
Commits on Jun 23, 2022
-
Show updated sensor data and annotations together
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Show spinner while fetching new data
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Switch from id-based styling to class-based styling
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Move styling to css, and lower spinner
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Simplify and streamline datepicker fontsize
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add margins and side panel activated on hover
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Correct margins and padding of side panel to allow for custom ranges …
…at the bottom of the calendar Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Side panel rounded similar to buttons rather than similar to cards
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Align box shadows of cards and calendar
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Move chart actions buttons away from the card's corner (negative margin)
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Rotate y-axis labels to improve legibility
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Remove sensor chart title if the same information is already containe…
…d in the y-axis label Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Move unit to right side of tooltip
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Style predefined datetime ranges
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Raise column to top without requiring flex display
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Rename sidepanel class and separate styling specific to the sidepanel…
… being on the left Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Show spinner only while the promise is being fulfilled
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Cancel previous request when the user makes a new request
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Do not let spinner block the full page height, so the sensor table na…
…vigation can still be used Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Change header and label colors inside the sidepanel to contrast again…
…st the sidepanel background Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Style navbar logo to have a consistent height and adjust the width of…
… the navbar-header accordingly Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Enforce separation of time axis labels
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add return type annotation and docs: applying chart defaults returns …
…a dictionary with vega-lite specs Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Resolve hover glitch when exiting either the list of months or the li…
…st of years with the pointer. This stops the side panel from collapsing and reopening. Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Enable swiping for left sidepanel
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Stop using redundant litepicker plugin, which was messing with calend…
…ar styling Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Synchronize styling of user pages
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Allow passing a default to get_attribute
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add timezone and timerange properties to asset
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Expose asset properties pertaining to its sensor data as a new dev AP…
…I endpoint Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Speed up one case of belief searches
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Move loading of js scripts to base.html
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add chart specs for showing multiple sensors
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add methods to search beliefs for an asset's sensors and for creating…
… a chart of an asset's sensors Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add endpoints to retrieve an asset chart and chart data
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Make sensor data a first class citizen of the asset page
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Less margin around sensor listing on asset page
Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Jun 24, 2022
-
Use join instead of concat in order to handle non-unique join keys; t…
…hat is, when sensor A has data for an event that sensor B does not have data for, the resulting DataFrame should get a row for that event, with a NaN value in the column of sensor B. Also, return an empty frame with the expected columns and indices in case no sensor was passed. Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Refactor: avoid redundant join and filter in case account_name is None
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Allow showing public sensors, too
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Fix sidepanel text color for small screens
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add clickable sidepanel labels
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Refactor sidepanel script to base
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Keep all indices, instead of just those of the first sensor
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Resample to the smallest resolution
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Increase default height of vertically concatenated charts
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Show tooltip of the nearest data point when hovering over the chart
Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Jul 5, 2022
-
Sort sensors by the order given in sensor_ids, and avoid double senso…
…r listings for public assets Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Make sensors_to_show an asset property, and avoid getting redundant c…
…hart data Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Pass sensors to show if requesting a chart including data
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Cannot compute minimum event resolution without data
Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Jul 6, 2022
-
Fix the with_appcontext_if_needed decorator in case `flexmeasures run…
…` is used to set up a local development server Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Only start spinner upon loading data, not upon loading the page or th…
…e chart. Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Don't bother initializing the picker to specific dates in case of non…
…-existent sensor data Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Jul 8, 2022
-
Make timescale axis match the requested date range, by updating the c…
…hart specs upon picking a date Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Use separate traces for each source, color by source name, and add so…
…urce info to tooltip Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Avoid requiring new dependency
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Show previous results while waiting for new results
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Fix calendar tooltip visibility
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Custom date range styling in line with other button groups
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Apply default legend font size also to layered views like vertically …
…concatenated charts Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Sync legend position on sensor and asset page, and allow longer labels
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Jul 11, 2022
-
Merge remote-tracking branch 'origin/main' into Issue-435_Display_sen…
…sor_charts_on_asset_page # Conflicts: # documentation/changelog.rst # flexmeasures/data/models/charts/belief_charts.py # flexmeasures/data/models/charts/defaults.py # flexmeasures/data/models/time_series.py # flexmeasures/ui/static/css/flexmeasures.css # flexmeasures/ui/templates/views/sensors.html
-
Show tooltips using custom layer instead of voronoi
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Use shared smallest resolution rather than original sensor resolution
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Fix search_beliefs with significant speed-up
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Workaround for timely-beliefs issue #104
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Slice previous results to avoid a poorly scaled x-axis when going fro…
…m some time interval to a sub-interval. Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Do not show custom layer for NaN data
Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Jul 12, 2022
-
Merge remote-tracking branch 'origin/main' into Issue-435_Display_sen…
…sor_charts_on_asset_page # Conflicts: # flexmeasures/api/dev/sensors.py # flexmeasures/data/models/time_series.py
-
Base timerange on sensors to show only
Signed-off-by: F.N. Claessen <felix@seita.nl>