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

# Eating History

The list of consumed foods belong to the user, and is obtained through a `GET` request to the [API end point](https://freshieorbital.gitbook.io/team-fitbob/backend/api#get-history-of-meals-consumed).

{% embed url="https://imgur.com/Q6ZbzXe" %}

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

![Popup of actions after pressing on a consumed meal](https://3179615718-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mdp_sk85p1yTf6sMtXe%2F-Mf2iGb2FMGkijiJ7-8W%2F-Mf3BYMxBJjZLc4d5U_I%2FIMG_F125E68374AB-1.jpeg?alt=media\&token=6429ec74-aa51-470b-8e65-ee90ce77ce4c)

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.
