Development Activity # 1

  • The user should be able to click the appropriate mood indicator and mark the mood for the day. After clicking appropriate indicator the indicator value should get stored in the database

Implementation

  1. Page parameter(mood) created on the meditation page
  2. The mood value, which is stored in the widget state is passed from Homepage to the meditation page
  3. To store the value in firebase:
    1. Add the field in the firebase database
    2. Add the value on the firebase database on Flutterflow
    3. Deploy the firebase database on Flutterflow

Problem: The value of the notes is not getting stored in the session collection, infact I am not sure where the value is getting stored 🧐

  1. Found the record where the notes details are being overwritten. The issue here is that I have taken the reference of the sessions collection which is stored in a persisted app state. This approach is wrong one, I will have to take reference of the session created on the session originator page and then transfer that session reference through the page parameter to the notes page. In the notes page, the specific session will be updated by taking the reference of the session parameter.

Status: Resolved


Problem: Session date and session start time is being picked retroactively ie. session date is 30/01/2024

  1. The date and time of the session were picked incorrectly as the values were captured using wrong parameter

Status: Resolved


Development Activity # 2

  • The past values/mood faces of the mood indicator should be shown on the “Reflections” page

Implementation

  1. I have checked the app and I feel in the present mode the functionality to show mood emojis on the “Reflections” Page does not make much sense. Reflections is related to the notes that are created after the meditation is performed while the mood checkin is typically for a day
  2. Also, it would actually make sense to log some comments from the user in the mood checkin flow to know their physical and mental state while logging their mood and it would also make sense to show these bits separately
  3. I can probably use existing components to enhance this functionality
  4. The two pending points will have to be covered in the new scope
    1. Once the mood is registered by the user for the day, the faces should be visible on screen yet should remain uneditable by the user

    2. The mood board should be refreshed the next day and should become editable for the user

Plan

  • TODO UI changes for capturing Moods

    • TODO Mood Capture Entry on the “Homepage”

        
    • TODO Navigate the user to a new page where mood information can be captured

  • TODO UI changes for showing Mood information

    • TODO Combine this information with “Reflections” page by showing the information side by side in a tab view
  • TODO Backend changes

    • TODO “mood” field needs to be removed from the “sessions” collection
    • TODO A new collection “mood”, needs to be created that will be similar to the reflection’s and that will store mood related values


Additional Activities

  • Completed UI/UX improvements like adding box shadows, rounding the edges of the containers and forcing size constraints on some of the containers

Flutterflow update

  • Just saw a “Route Setting” option in the Properties panel on the page level. This setting allows me to define page routes and establish if the specific page requires authentication or not. This can be super helpful in defining the user flow at the end stage of the project