Skip to content
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

Convert Webpage to React from Python Dash #96

Open
keenanjohnson opened this issue Aug 24, 2022 · 0 comments
Open

Convert Webpage to React from Python Dash #96

keenanjohnson opened this issue Aug 24, 2022 · 0 comments
Labels
enhancement New feature or request front-end

Comments

@keenanjohnson
Copy link
Member

keenanjohnson commented Aug 24, 2022

In #95, an excellent start was made at converting the Python Dash Web App to a React App.

This seems to be a more scalable path forward for our web application and could enable us to more easily fix certain issues like #45 in the future!

Work Required

In order to deploy a React app, we don't want to lose any functionality from the existing web application.

The specific features are listed below:

Features

Interactive Map

The current map is interactive, meaning you can zoom and pan the map with the cursor.

Display specific sensors on map

The current dashboard displays sensors at their specific locations in the map
image

The sensors are color coded according to this key:

image

Cluster Sensors

The current dashboard has the ability to cluster sensors when you are zoomed out to avoid making the map look too overwhelming and increase rendering speed.

image

Sensor Selection Displays Plots

By selecting a given sensor in the map, the relevant plots are displayed for that sensor.

  • CO2 PPM
  • Temperature (C)
  • Barometric Pressure (mBar)
  • Humidity (%)

image

Plot Zooming

The plotly dash library allows you to select box in the plots and zoom in on that location.

Plot Options Selection

The current dashboard has selectors that allow the user to selection the duration of the plots, as well as the sampling average.

image

Data CSV Download

The current page has the ability to download data in a CSV that matches the currently display plots and sensor.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request front-end
Projects
None yet
Development

No branches or pull requests

1 participant