Comments (3)
Question on the average temperature. Is that taking the temperatures tracked on Chart.js, for example, and calculating a number or will it be pulling from somewhere else?
from corona-tracker.
My guess is that we'll have a database entry temperature: Number
that will store the temperature of a specific user for each "checkup" they complete (each time they fill out the form).
I'll leave implementation details up to the those assigned to both Chart.js
and this ticket, as there's many ways to go about this. I haven't dug too deeply into how you're all implementing the UI code, but I'd imagine when rendering the DiagnosticComponent
component, you could do one API call and store an array of all checkup->temperature
s for a given user. You could pass this array into Chart.js
in order to plot each temperature, and then sum up the temperatures and pass the average into Temperature.js
.
This is just one idea though - you could just as easily do two API calls, one within 'Temperature.jsand another within
Chart.js` and manipulate the data within each component there.
from corona-tracker.
Closing as #85 created the component with a default value. I'll open a new ticket for getting this data associated with each user from the database now that we have the scaffolding merged into master
from corona-tracker.
Related Issues (20)
- [FEAT] Add Dialog on Survey Completion HOT 5
- [FEAT] Add Dialog on Quiz Completion HOT 1
- [FEAT] Enhance gsheet translations pull python script HOT 6
- [BUG] Update ntlk version HOT 1
- [FEAT] Abstract away depunctuation in python scripts HOT 2
- [FEAT] Add helpful dialog on low behavioral score HOT 1
- [FEAT] Reorganize the "/client" folder
- [DOCS] README for translations python script
- [FEAT] Further modularize translations python script
- [BUG] Multiple issues translating with i18next
- [FEAT] Update bottom nav to new UI flow HOT 3
- [FEAT] Create Pulse Monitor Disclaimer HOT 1
- [FEAT] Create pulse monitor page and top-level elements
- [FEAT] Refator NavBar.jsx
- [FEAT] Applying i18Next translations HOT 2
- [FEAT] Add react-i18next tag to HomePage page and components
- [FEAT] Add react-i18next tag to Layout components folder HOT 3
- [FEAT] Add react-i18next tag to Cards components and page HOT 7
- [FEAT] Default translationValue to english value if empty HOT 1
- [DOCS]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corona-tracker.