ita-social-projects/GreenCity

Editing the notification body for platforms

Opened this issue · 0 comments

As a Super Admin, I want to be able to change the body of notifications so messages is sent with different text

User Flow
Main UBS menu -> Choose "Повідомлення” (Notifications) -> Choose necessary notifications -> ‘’Edit’’ mark in the field of the platforms

Preconditions
The user should be logged in as a Super Admin

Acceptance Criteria

  1. GIVEN the User want to change the text in the notification for necessary platforms
    WHEN the User push the “Edit” mark in the field of the necessary platforms
    THEN the popup window appears and the User could edit the text of the notification.

  2. Acceptance Criteria of the popup window for editing:

Field title Field type Condition Validation for fields
Редагувати повідомлення для <платформа>(Edit the notification for <name of the platform) text mandatory Topic
1.Українською Text.
Drop down field
mandatory Topic.
The field is open by default
1.1. Обрати (Chose) Text.
Drop down field
mandatory GIVEN the User want to add the text template necessary ”name”, ”mail”, ”id” of clients.
WHEN the User push the “Обрати” (Chose) mark. 
THEN the drop down list appears and the User could add to the text of the notification ”name”, ”mail” or/and ”id” of the clients
1.2. Текст повідомлення Editable mandatory Pre-filled text “(Name of the notification), текст для (platform)” ((Name of the notification), text for (platform)”)
2.Англійською TextDrop down field mandatory Topic.
The field is hidden by default
2.1. Обрати (Chose) Text.
Drop down field
mandatory GIVEN the User want to add the text template necessary ”name”, ”mail”, ”id” of clients.
WHEN the User push the “Обрати” (Chose) mark. 
THEN the drop down list appears and the User could add to the text of the notification ”name”, ”mail” or/and ”id” of the clients
2.2. Текст повідомлення Editable mandatory Pre-filled text “(Name of the notification), text for (platform)”
  1. GIVEN the User want to save changes in the notification text
    WHEN the User clicks the button “Змінити" (Change) in the field of the notification editing
    THEN changes are saved
    AND the user will see the previous view of the notification page.

The button “Змінити" (Change) is inactive by default and active after any changes in editing window.

  1. GIVEN the User does not want to save changes in the notification text
    WHEN the User clicks the button “Скасувати" (Cancel) in the field of the notification text editing
    THEN changes are not saved
    AND the user will see the previous view of the notification page.

Impact of Change
This change request affects 1 existing user story #4643, change request #5645
Epic:
UBS courier #2195