Complex item set
Issue #178 (closed)
Server:
- create complex item sets table, add foreign key to complex item set id in question_versions table
- create model, controllers and api for creating, editing, fetching/filtering all or a single complex item set
- modify create question api to allow assigning a complex item set to a question from the start
- store reference to complex item set in question_versions table, add necessary resolvers for retrieving leading text
- there's some boilerplate setup for
lists
but it was not implemented since complex item sets are difference and will be stored separately
Client:
- create page to show all complex item sets
- interface to create new complex item sets
- view single complex item set information (title, leading content and associated questions)
- every logged in user can create sets, editors can edit them anytime, authors can edit their own sets until there is no submitted question for that set
- add checkbox and Select dropdown to metadata form in question creation page for choosing a complex item set
- show leading content on top of the editor if a set has been selected in the metadata form
- in Question page, editors get link to the complex item set edit page below the leading text when the question is in production
- filter published questions in discover page by complex item set
- show label in question list view if it belongs to a complex item set