Skip to content

Commit

Permalink
Add notification use case
Browse files Browse the repository at this point in the history
  • Loading branch information
9a24f0 authored Nov 27, 2020
1 parent 1180ce9 commit d1f7346
Showing 1 changed file with 55 additions and 1 deletion.
56 changes: 55 additions & 1 deletion docs/source/requirements/use-case-model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -47,6 +48,7 @@ Use-Case Model
Student --> Complete
Student --> Thread
Student --> Comment
Student --> Notification
Student --> Authentication

Search <-- Lecturer
Expand Down Expand Up @@ -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
""""""""""""""""
Expand Down Expand Up @@ -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
-----------

Expand Down

0 comments on commit d1f7346

Please sign in to comment.