Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Adding a button “‘Send a Reminder”

    1. Only if isSendReminderEnable: true in the config of collection, we’ll show the button “Send a Reminder” on the nomination page at question set level.

    2. On click of this button we’ll open a modal which will have UI as given below:
      https://docs.google.com/presentation/d/13_KfHUE53_jqaGS6WBpDactC4b9KK7UT/edit#slide=id.g13681ada685_0_155135

  2. Fetching User Details

    1. To have a list of users, we’ll have the data from following API on click of Send Reminder button.
      Nomination list(Existing API):

      1. API: program/v1/nomination/list
        We are already hitting this API on opening of nomination page.

    2. This API has Key: result[0].rolemapping, which will give us the userIds of contribution org contributors and reviewers.

    3. For the complete details of users we will hit following API:
      API: program/v1/contributor/search
      With the help of the above mentioned API we will show 2 fields as contribution org contributors and reviewers on UI.
      This checkbox will be disabled if users aren’t assigned to the project yet.

  3. Sending Message

    1. On selecting at least one checkbox out of contributor and reviewer, a button to send a message will be enabled on modal.

    2. On click of that button a template mail/SMS will be sent to selected users.
      For above mentioned functionality first we will hit search API to get the template of message and then SMS/Email API will get hit.

    3. Send SMS API:

      API: user/v1/notification/email
      Doc: http://docs.sunbird.org/latest/apis/notificationapi/#section/Authentication