Closed RamyAlshurafa closed 5 years ago
Merging #109 into master will decrease coverage by
5.37%
. The diff coverage is76%
.
@@ Coverage Diff @@
## master #109 +/- ##
==========================================
- Coverage 93.18% 87.81% -5.38%
==========================================
Files 36 42 +6
Lines 279 320 +41
Branches 8 10 +2
==========================================
+ Hits 260 281 +21
- Misses 19 37 +18
- Partials 0 2 +2
Impacted Files | Coverage Δ | |
---|---|---|
server/database/models/SupportKeyword.js | 100% <100%> (ø) |
|
server/database/dummy_data/support_keyword.js | 100% <100%> (ø) |
|
server/router/bot/storeMessages.js | 100% <100%> (+15.38%) |
:arrow_up: |
server/database/dummy_data/reset_DB.js | 100% <100%> (ø) |
:arrow_up: |
server/router/bot/mail_builder.js | 100% <100%> (ø) |
|
server/database/queries/get_threat_conversation.js | 100% <100%> (ø) |
|
server/database/queries/check_support_keywords.js | 100% <100%> (ø) |
|
server/database/dummy_data/index.js | 91.66% <100%> (+0.75%) |
:arrow_up: |
server/router/bot/support_keywords.js | 29.41% <29.41%> (ø) |
|
server/router/bot/dialogflowSessionClient.js | 16.66% <0%> (-83.34%) |
:arrow_down: |
... and 8 more |
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 eaa9176...f6422ea. Read the comment docs.
Relates #32 create a
SupportKeywords
collection and add a dummy data (need to be changed with real data after PO response) when the student sends a message that contains some words that means he/she need immediate support, the app will detect that threat and send an email to the staff with the student info and the threat details, also it will show a popup message to the student to encourage him/her to ask for help in the school mental health guidance. to test this branch locally you need to add these parameters into.env
file:@dupreesi @thejoefriel feel free to edit/change the email and messages context to improve the language structure.