hasadna / reportit-agent

1 stars 1 forks source link

add "close report" button and script #61

Closed noamoss closed 4 years ago

noamoss commented 4 years ago

following pilot feedback, we would like to add the following usage scenario:

when an agent decides the report should be closed (become completed) they should bed able to click a button (see location below):

image

  1. a pop up shows up and with a "yes"/"no" question: "האם את/ה מעוניין לסגור את הפניה" + a free text field labled "סיבת הסגירה"? 2a. clicked "no": close the popup. 2b. clicked "yes": 2b1. add a new task "הטיפול בפניה הושלם". use the explanation field tet value as an update of the new task. mark the task as completed. 2b2. change report status to "completed".

image

noamoss commented 4 years ago

(all the questions/answers/labels strings should be translatable, of course)

akariv commented 4 years ago

Should all tasks be marked as completed as well?

noamoss commented 4 years ago

checked and approved, Saroj will make another check.