Publication administrators want to be able to re-order the display of publication style criteria.
Goal/What
An interface on the style criteria section of the publication details page should allow admins to reorder style criteria.
To Do / Acceptance Criteria
Backend
[ ] Add database field to store order information
[ ] Set new criteria items to the largest + 1 (bottom of the list)
[ ] Add mutation for updating the order of the style criteria (single mutation or additional field on updatePublication mutation, array of criteria ids in order of display)
[ ] Update style criteria model to order by the database field by default
Frontend
[ ] Add reordering mode, enabling drag and drop of style criteria order
[ ] Add reordering buttons (up/down, disabled as appropriate)
[ ] Save the reordering when the reorder mode is deactivated
Review Checklist
[ ] Criteria are reorderable
[ ] New criteria appear at the bottom of the list
Accessibility Checklist
[ ] New interface elements have correct and complete accessibility features.
Problem/Why
Publication administrators want to be able to re-order the display of publication style criteria.
Goal/What
An interface on the style criteria section of the publication details page should allow admins to reorder style criteria.
To Do / Acceptance Criteria
Backend
Frontend
Review Checklist
Accessibility Checklist