snac-cooperative / snac

SNAC Server with WebUI and RestAPI
Other
5 stars 3 forks source link

Improve the "Send for Review" form UI. #244

Closed glassjoseph closed 4 years ago

glassjoseph commented 4 years ago

Editors are accidentally sending reviews to the General Reviewer Pool. We need to change the button colors and layout so the "Send to General Reviewer Pool" button is a different color and less prominent than the "Send for Review" button.

Current Form UI image

glassjoseph commented 4 years ago

The form can be found by a user with an Editor Role checking out an constellation for editing and clicking "Send For Review" in the upper toolbar.

The form is duplicated in the four following files, and will need to be changed in all of them: edit_page.html, reporting.html, editor.html and dashboard.html.

The code in the four files is almost exactly the same, execept for edit_page.html:536 line (<textarea id="sendReviewMessage"...), which is slightly different from the others.

You could make the changes in each file, or extract the form into a template and render it with an include twig function.