"In Production" status for questions
Closes #111 (closed) Add "In Production" questions for questions
- add migration to add new column
inProduction
in QuestionVersion table - create mutation, resolver, controller to update the field value
- read
inProduction
value from question and dashboard queries - add "In Production" ui state in Question component
- comes after "Under Review"
- question is editable only when it's in production
- show the publish button when question is in production
- modify QuestionItem to reflect "In Production" status in the Dashboard
- tweak Question and QuestionItem stories to show the new status
Additional fix:
- read
rejected
value in author dashboard query, to properly label rejected questions in author dashboard