yalla-coop / nightingale

An app that aims to help students reflect on their emotions and work out what's affecting them at school
https://botnightingale.herokuapp.com/
MIT License
2 stars 1 forks source link

Start initial conv #122

Closed dupreesi closed 5 years ago

dupreesi commented 5 years ago

relates #104

indentifies first time log in by checking if user has already submitted all initial sign up parameters which are (besides name, pw etc): bday, favourite subject and least fave subject. For now, if not all values are being present the start event gets triggered and dialogflow responds with the initial welcome conversation for this user

RERUN DUMMYDATA

codecov[bot] commented 5 years ago

Codecov Report

Merging #122 into master will decrease coverage by 0.21%. The diff coverage is 80%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   87.05%   86.84%   -0.22%     
==========================================
  Files          43       43              
  Lines         340      342       +2     
  Branches       16       17       +1     
==========================================
+ Hits          296      297       +1     
- Misses         39       40       +1     
  Partials        5        5
Impacted Files Coverage Δ
server/router/controllers/index.js 100% <ø> (ø) :arrow_up:
server/database/dummy_data/user.js 100% <ø> (ø) :arrow_up:
server/router/controllers/login.js 86.66% <100%> (ø) :arrow_up:
server/database/models/User.js 100% <100%> (ø) :arrow_up:
server/database/queries/decideFlow.js 77.77% <66.66%> (-7.94%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4d53503...e408438. Read the comment docs.