sartography / cr-connect

0 stars 0 forks source link

Additional Study Statuses #562

Closed calexh-sar closed 2 years ago

calexh-sar commented 2 years ago

Add the following Study Statues so they can be set by the set_study_status() script.

None of these should be available as selections on the Main Dashboard page in the Actions for each Study:

image.png

cullerton commented 2 years ago

@calexh-sar These should be displayed on the home page, right? Screen Shot Status column.png

cullerton commented 2 years ago

@calexh-sar If a study has one of these new statuses, they should not show up on the home page, correct?

calexh-sar commented 2 years ago

@cullerton all Statuses should show up in the Status column on the Main Dashboard *home) page. The ones being added should just not show up in the Actions column as options to manually set.

cullerton commented 2 years ago

I was confusing these with Review Type that determines whether we display them :)

Some work will need to be done on the front end to display the new statuses.

calexh-sar commented 2 years ago

Implemented as:

submitted_for_pre_review = 'submitted_for_pre_review'
in_pre_review = 'in_pre_review'
returned_from_pre_review = 'returned_from_pre_review'
pre_review_complete = 'pre_review_complete'
agenda_date_set = 'agenda_date_set'
approved = 'approved'
approved_with_conditions = 'approved_with_conditions'
deferred = 'deferred'
disapproved = 'disapproved'
calexh-sar commented 2 years ago

set_study_progress_status(), get_study_progress_status(), set_study_status() and get_study_status() working as designed.