Make simple Utils function to map stage into assessment 'step'
Feature
Merge Request
Related Issue
resolves #343 (closed), replaces !282 (closed)
Description of Feature
The "step" of the assessment is the dot that will be marked as active in the progress bar, aka progressDots.
As per discussed with @alexsingh and @djudjuu, we decided that this view will be the same for all participants in an assessment, whether action is needed or not, the status text being what informs the user of what to do.
The added utils function is very simple but explicitely sets the precedent for displaying assessment stages.
- Add a mapAssessmentStageToStep function to utils
- Use it in assessmentView and assessmentCard
Edited by Antoine Estienne