COVID-19-electronic-health-system / Corona-tracker

An easy-to-use PWA to monitor the user's wellness and learn about COVID-19.
https://coronatracker.me/
MIT License
235 stars 101 forks source link

[Health Log]: Combining Calendar.js and WeeklyTracker.js with Redux data flow #277

Closed awu556 closed 4 years ago

awu556 commented 4 years ago

Before attempting, check if issue #256, #266 , #271, #237 are resolved

Summary

The Health Log needs to be integrated with the Calendar.js and WeeklyTracker.js with functionality specific to each component. This is a complex issue, before taking this on, you will have to be familiarity with the @full-calendar and react-toastify packages, along with Redux in order to connect it all together.

Calendar Functionality:

WeeklyTracker.js (Includes WeeklyTrackerDay.js) Functionality

Updated HealthLog wireframe

SomeMoosery commented 4 years ago

I think this is ready to work on if anyone wants to pick this up. For each calendar date, we wouldn't populate the data through Redux (as Redux only stores current survey state), but with a database request, populating each calendar date with each associated observation.

I can take this on once I finish implement formatting, unless anybody else wants to

pavel-ilin commented 4 years ago

@SomeMoosery I can take on this one

SomeMoosery commented 4 years ago

Yup, sounds good! I'm looking at this ticket again, and do you think it would be worthwhile to break these up into two tickets - one for calendar and one for weeklyTracker? Or would you want to just try both at once? Up to you

pavel-ilin commented 4 years ago

I think I just going to do both.

SomeMoosery commented 4 years ago

Closing this as it's too broad, new issues have been added to encapsulate these