|
|
|
|
|
## Implementation (from development)
|
|
## Implementation (from development)
|
|
|
|
|
|
## Cases when we send notifications
|
|
## Cases when we send notifications
|
... | @@ -11,7 +10,7 @@ Generic notifications have their own view. They have only subject and message wh |
... | @@ -11,7 +10,7 @@ Generic notifications have their own view. They have only subject and message wh |
|
|
|
|
|
This can be done from admin view:
|
|
This can be done from admin view:
|
|
|
|
|
|
**Steps**: fill out the form on view, the subject is what user fills out in subject, the message is fill out information + hardcoded<span dir="">`"<hr>\\\\ This message was sent by the`</span> `#{<span dir="">@course_edition</span>.display_name}<span dir="">course staff through Project Forum.\\\\ You are receiving this email because you are involved with a proposal in the</span>#{<span dir="">@course_edition</span>.display_name}<span dir="">course."</span>`
|
|
**Steps**: fill out the form on view, the subject is what user fills out in subject, the message is fill out information + hardcoded<span dir="">`"<hr>\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ This message was sent by the`</span> `#{<span dir="">@course_edition</span>.display_name}<span dir="">course staff through Project Forum.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ You are receiving this email because you are involved with a proposal in the</span>#{<span dir="">@course_edition</span>.display_name}<span dir="">course."</span>`
|
|
|
|
|
|
2. **Project is imported**
|
|
2. **Project is imported**
|
|
|
|
|
... | @@ -19,17 +18,44 @@ We notify clients and employees of the project. Subject and message are taken fr |
... | @@ -19,17 +18,44 @@ We notify clients and employees of the project. Subject and message are taken fr |
|
|
|
|
|
### All other notifications
|
|
### All other notifications
|
|
|
|
|
|
|
|
##### Groups
|
|
|
|
|
|
Message and subject are specifically hardcoded in translation with parameters.
|
|
Message and subject are specifically hardcoded in translation with parameters.
|
|
|
|
|
|
1. **Groups are imported** : inform all members (_group_imports_controller_)
|
|
1. **Groups are imported** : inform all members (_group_imports_controller_)
|
|
|
|
* Setting: <span dir="">_Assigned a group_</span>
|
|
2. **Groups are imported**: copy specific roles -> send to users with specific roles (supervisers) (_group_imports_controller_)
|
|
2. **Groups are imported**: copy specific roles -> send to users with specific roles (supervisers) (_group_imports_controller_)
|
|
* we build a message here from the form, we do not keep it in translation
|
|
* we build a message here from the form, we do not keep it in translation
|
|
|
|
* Setting: <span dir="">_Assigned a role in a group_</span>
|
|
3. **Roles in groups are assigned**: send to everyone who has a role assigned **if a group is approved** (_group_role_import_controller_)
|
|
3. **Roles in groups are assigned**: send to everyone who has a role assigned **if a group is approved** (_group_role_import_controller_)
|
|
* we build a message here from the form, we do not keep it in translation
|
|
* we build a message here from the form, we do not keep it in translation
|
|
4. **Group status changed to locked/approved**: send to client
|
|
* Setting: _Assigned a role in a group_
|
|
5. **Group status changed**: send to students
|
|
4. **Group status changed to locked/approved**: send to client (_admin/groups_controller_)
|
|
6. **Group status changed to approved**: send to superviser
|
|
* Settings: <span dir="">_Group pending approval_</span>_, Group was approved_
|
|
|
|
5. **Group status changed**: send to students (_admin/groups_controller_)
|
|
|
|
* Settings: <span dir="">_Group was approved by client_</span>_, <span dir="">Group was rejected by client</span>, <span dir="">Group was approved by coordinator</span>, <span dir="">Group was rejected by coordinator</span>_
|
|
|
|
6. **Group status changed to approved**: send to superviser (_admin/groups_controller_)
|
|
|
|
* Setting: <span dir="">_Assigned a role in a group_</span>
|
|
|
|
7. **Group status is changed** from open to locked or from locked to approved: send to client (_projects/groups_controller_)
|
|
|
|
* Settings: <span dir="">_Group pending approval_</span>_, Group was approved_
|
|
|
|
8. **Group status changed**: send to students (_projects/groups_controller_)
|
|
|
|
* Settings: <span dir="">_Group was approved by client_</span>_, <span dir="">Group was rejected by client</span>, <span dir="">Group was approved by coordinator</span>, <span dir="">Group was rejected by coordinator</span>_
|
|
|
|
|
|
|
|
##### Themes
|
|
|
|
|
|
|
|
1. **Reject student's interest**: send to student (_admin/theme_interest_controller_)
|
|
|
|
* Setting: <span dir="">_Rejected for Theme_</span>
|
|
|
|
|
|
|
|
##### Thesis
|
|
|
|
|
|
|
|
1. **Reject student to thesis project**: send to student (_admin/thesis_project_interests_controller_)
|
|
|
|
* Setting: <span dir="">_Rejected for Thesis Project_</span>
|
|
|
|
|
|
|
|
##### Role invitations
|
|
|
|
|
|
|
|
1. **Invite user to a company**: send to invited user (_companies/role_invitations_controller_)
|
|
|
|
* Setting: <span dir="">_Invited to join company_</span>
|
|
|
|
|
|
### New design proposal
|
|
New design proposal
|
|
|
|
|
|
1. Main view we have notifications icon (as a bell), and when we click on it we have a dropdown of 5 notifications. Each of them has title and link to notification itself. There is also subsection of new notifications (nnread ones). At the end of this 5 notifications, we have view all button. Titles need to be changed in order that user can understand what notification is about (summary of subject). Smth like ![Screenshot_3](uploads/10047a5956ce6d8f25e01b0eb841422c/Screenshot_3.jpg) |
|
1. Main view we have notifications icon (as a bell), and when we click on it we have a dropdown of 5 notifications. Each of them has title and link to notification itself. There is also subsection of new notifications (nnread ones). At the end of this 5 notifications, we have view all button. Titles need to be changed in order that user can understand what notification is about (summary of subject). Smth like ![Screenshot_3](uploads/10047a5956ce6d8f25e01b0eb841422c/Screenshot_3.jpg) |
|
|
|
\ No newline at end of file |