app-flutter-openemr icon indicating copy to clipboard operation
app-flutter-openemr copied to clipboard

Clean up telehealth screen code

Open amlannandy opened this issue 4 years ago • 1 comments

Description

The telehealth section code was split into multiple components to make it more readable and maintainable.

  1. Chats and Directors section were moved into separate files and now use StreamBuilder to fetch and display data.
  2. Rest of the screens and other sections were split up into separate components in the same file.

Testing Methods

N/A

Screenshots/Videos

N/A

New Packages Added

N/A

Closing Issues

closes #45

amlannandy avatar Feb 07 '21 14:02 amlannandy

I am not really sure about this one as we still have ~500 lines on that file and now we have another file that only has ~80 lines of code and this makes things hard to import. I f we are doing a split then let's do it in a production fashion. Move constants in one, create a structure for the ones who don't have one, and add such basic improvement as well.

im-Amitto avatar Feb 16 '21 06:02 im-Amitto