From d1f73461e87c454a1e981a3a97f030344f0df725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ng=C3=B4=20Xu=C3=A2n=20Minh?= <48543141+9a24f0@users.noreply.github.com> Date: Fri, 27 Nov 2020 08:48:18 +0700 Subject: [PATCH] Add notification use case --- docs/source/requirements/use-case-model.rst | 56 ++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/docs/source/requirements/use-case-model.rst b/docs/source/requirements/use-case-model.rst index 64721c0..8f171c3 100644 --- a/docs/source/requirements/use-case-model.rst +++ b/docs/source/requirements/use-case-model.rst @@ -18,6 +18,7 @@ Use-Case Model usecase Evaluate usecase "Create discussion thread" as Thread usecase "Add comment" as Comment + usecase "Receive notification" as Notification usecase Search usecase "Search student" as SearchS @@ -47,6 +48,7 @@ Use-Case Model Student --> Complete Student --> Thread Student --> Comment + Student --> Notification Student --> Authentication Search <-- Lecturer @@ -482,7 +484,7 @@ Basic Flow 1. User requests to add a new comment to the discussion thread. 2. System receives the request and requests user to enter **comment**. 3. User enters a comment. -4. System processes the data and create a new comment in the threa. +4. System processes the data and create a new comment in the thread. Alternative Flow """""""""""""""" @@ -511,6 +513,58 @@ Extension Points None. +Receive Notification +-------------------- + +Brief Description +^^^^^^^^^^^^^^^^^ + +This use case allows Student to receive notification from +both in-app system and email. + +Flow of Events +^^^^^^^^^^^^^^ + +Basic Flow +"""""""""" + +1. System sends notification to Student. +2. Student receives the notification, by mail or notification bar. + +Alternative Flow +"""""""""""""""" + +None. + +Special Requirements +^^^^^^^^^^^^^^^^^^^^ + +None. + +Pre-Conditions +^^^^^^^^^^^^^^ + +Student could receive notification from theses activities: + +- A person ask to join his/her project. +- His/her join request is approved. +- The deadline for his/her tasks is near. +- He/she is assigned to a task. +- His/her task is approved/evaluated. +- His/her project is evaluated +- There is a new reply in his/her watching discussion thread. + +Post-Conditions +^^^^^^^^^^^^^^^ + +A new unread notification is received. + +Extension Points +^^^^^^^^^^^^^^^^ + +None. + + Make Report -----------