Hello!
This week I worked on the applications data table and submission/edit page. I also added some placeholders for when data is loading on the server. At this point I just have to work on the finishing touches of the application, we are almost done!
The major thing I worked on this week was the ability to view and edit a single observation. I accomplished this by embedding buttons that accomplish these tasks directly into the application. From here, I can set the id of the datatable rows and use that ID to edit or view a specific observation. For the view, I just display data in some text components. For the edit, I added a new state which holds a to be edited observation. If this state is set, we know we are in edit mode. I use this with ternary operators to modify the submit page into an edit page.
At this point the application should essentially be feature complete. My group needs to work on the overall visual style of the application, and we need to do some debugging. Other than that, we are pretty much done. I am happy with what we have so far and think the final product will be great.
See you next time!