Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feeling Tracker #1

Open
ThirdEyeRose opened this issue Apr 3, 2018 · 0 comments · May be fixed by #2
Open

Feeling Tracker #1

ThirdEyeRose opened this issue Apr 3, 2018 · 0 comments · May be fixed by #2
Assignees
Labels
enhancement New feature or request

Comments

@ThirdEyeRose
Copy link
Owner

ThirdEyeRose commented Apr 3, 2018

Objective

The goal of this feature is to prompt the user to report how they are feeling at regular intervals in a quantitative and a qualitative way and then allow the user to download a report highlighting their feelings over a select period of time.

Requirements

  • The user should be able to opt into this service. It is not on by default.
  • The user should be able to opt out of the service again whenever they want.
  • Upon setting up this service, the user should be able to select how frequently they are prompted to report their feelings.
  • The user should be able to change the frequency of prompting after setting it initially.
  • Each prompt should contain a required quantitative question such as a sliding scale of how the user is feeling and an optional quantitative question of whether or not they want to talk about it.
  • The user should be able to download a short report summarizing the quantitative data or a long report giving all data for a select period of time.
  • The user should be able to erase their history at any time.

Database schema

Field Type Key
created_at DATETIME --
owner TEXT FK
rating INTEGER --
description TEXT --
Field Type Key
owner TEXT PK
frequency TEXT --
time_pref TEXT --

UI Flow

Set initial configuration by using /starttrackingfeelings command. This should then tell the user that Feeling Tracking has started and ask them how frequently they would like to be prompted and if they prefer a particular time of day (Morning, Afternoon, Evening, No Preference)

When Feeling Tracking is enabled, Executive Function Bot will prompt them at the specified interval saying:

How are you feeling?

This will show an inline keyboard allowing the user to select a number between 1 and 5. After the user selects an option, Executive Function Bot will ask them if they want to share more by saying:

Would you like to tell me about it?

If the user responds with no or No, Executive Function Bot will say Not a problem. Have a great day!. If the user responds with anything else, Executive Function Bot will say Thanks for talking to me about it. Is there anything else you want to say? which will cycle this step.

@ThirdEyeRose ThirdEyeRose added the enhancement New feature or request label Apr 3, 2018
@ThirdEyeRose ThirdEyeRose self-assigned this Apr 3, 2018
@ThirdEyeRose ThirdEyeRose linked a pull request Apr 3, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant