Create a ManageVocab page that has the same functionality as ManageLessons and ManageUnits:
Selecting and unselecting vocab items
Deleting vocab items
Reordering vocab items
Steps
Client:
Duplicate the functionality from the ManageLessons and ManageUnits pages. You'll have to create a new ManageVocab page.
Add the necessary functionality to LessonHome to only show selected vocab items.
API:
We'll have to add a selected field to the VocabItem Mongoose Schema in api/src/models/language.js. This selected field will be used on the ManageVocab page. Also make sure to update the vocab endpoints with this new change if necessary.
Extra
There will have to be a good amount of testing done with this issue. Make sure to consider all edge cases and mess around with selecting/unselected vocab items and seeing if the changes are reflected on the LessonHome page.
Goals
Create a
ManageVocab
page that has the same functionality asManageLessons
andManageUnits
:Steps
Client:
ManageLessons
andManageUnits
pages. You'll have to create a newManageVocab
page.LessonHome
to only show selected vocab items.API:
selected
field to the VocabItem Mongoose Schema inapi/src/models/language.js
. This selected field will be used on theManageVocab
page. Also make sure to update the vocab endpoints with this new change if necessary.Extra There will have to be a good amount of testing done with this issue. Make sure to consider all edge cases and mess around with selecting/unselected vocab items and seeing if the changes are reflected on the
LessonHome
page.