Publishing things: state vs published
genesys-pgr/genesys-server#286 (closed) adds
state to datasets, descriptors and descriptor lists. State is one of
DRAFT corresponds to
published = false, PUBLISHED to
published = true.
Update Status column to use the
state property of dataset, descriptor or descriptor list to render:
- "In progress" (DRAFT), orange.
- "In review" (REVIEWING),
- "Published" (
state == PUBLISHED), green.
Add "Status" filter to dashboard with three checkboxes:
- "In progress" (DRAFT)
- "In review" (REVIEWING)
- "Published" (PUBLISHED
This may require updates of relevant filters in the backend.