Update Quiz creation to reference unique questions by way of the item
property
#12127
Labels
help wanted
Open source contributors welcome
P0 - critical
Priority: Release blocker or regression
TAG: tech update / debt
Change not visible to user
Milestone
Overview
Quiz questions use a composite ID joining the question's
exercise_id
(the Exercise it came from) and it'squestion_id
, an ID for the question within that particular Exercise. This is to avoid collisions if two Exercises have the samequestion_id
in them.Elsewhere in the codebase, we use the same type and shape of ID -- for example, in logging.
In those cases, each question-shaped object has a property
item
to reference this unique ID. We should do this everywhere!Acceptance criteria
id
and change it toitem
.useQuizCreation
selectQuestions
and the components in<coach>/../plan/CreateExamPage/*
- revise naming throughout to no longer reference "Question IDs" as a concept when, in fact, it is referencing theQuestion Item
. The changes here should distinguish between a question'squestion_id
-- in which case the naming convention referencing "Question ID" would make sense.Similar instances can be found throughout (ex1, ex2, ex3
The text was updated successfully, but these errors were encountered: