Eating History

Displays a list of food consumed on the selected date. Default date set to current day.

The list of consumed foods belong to the user, and is obtained through a GET request to the API end point.

The user can also click on the individual consumed items and carry out actions such as:

  • Edit calories of the consumed food

  • Remove consumed food

There is a minor issue with this page, as the Date picker modal adapts to the device's appearance theme. If the user's device is on Dark mode, the words on the picker turns out to be the same colour as its container, which is white. The words are then not visible in the date picker. We have tackled this issue by going to the root file of the date picker modal, but when the dependencies are rebuilt, the file is overridden to its original copy.

Last updated