Git Product home page Git Product logo

executive-function-bot's People

Contributors

thirdeyerose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

executive-function-bot's Issues

Feeling Tracker

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.