Skip to content

Conversation

@daniel-manta-hee
Copy link
Contributor

@daniel-manta-hee daniel-manta-hee commented Jan 10, 2022

JIRA link

https://hee-dls.atlassian.net/browse/DLSV2-443

Description

Developed multi-step flow for creating or updating learning resource parameters. User choices are stored in session and the application implements user friendly urls throgout the process.

Screenshots

Select a resource and press Manage Parameter or Add

image

Depending on the chosen option, user is shown sliders or checkboxes in the next stage

image

Select max and min values with sliders

image

Select max and min values with checkboxes

image

Select a compare result question

image

Parameter is essential or recommended

image

Final confirm form summary

image


Flow and views involved

image

Most relevant tables in database and their relations

image

Decision tree

decision_tree


Developer checks

  • "Back" button preserves selected values by the user
  • Choosing an assessment question is mandatory
  • "Skip" followed by Back button, returns to the original form
  • "Change" links on final Summary form can be used to change user selection
  • All stages can be accessed by url and retrieved user choices from session

…ing session when going back, enabling Skip button, etc
…ng back, reset min and max values to the original question values or the question selected by user, then set min and max result for the parameter in session.
…ing signposting Status (essential/recommended) and final Confirmation Summary form, updating or insering changes into parameters table
…rameter flow. Removed unnecessary code and fixed problem with one "change" link on final summary confirmation form.
… when option type is checkboxes and use previous version for slider. Fixed issues with add resource button missing when no resources found. Use competency name instead of description.
… id was expected. Also, after adding a CompetencyLearningResource, redirect to Signposting for the newly created resource.
…ld work anyway as controller method not using this paramter but session previously created in StartSignpostingParametersSession.
…ns. Allow to store parameters with none selected question. Minor changes on user interface.
Copy link
Contributor

@kevwhitt-hee kevwhitt-hee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic. This is working very well. A few minor changes requested in comments.

@kevwhitt-hee kevwhitt-hee changed the title Develop/features/dlsv2 443 signposting parameters flow DLSV2-443 Signposting parameters flow Jan 14, 2022
Copy link
Contributor

@kevwhitt-hee kevwhitt-hee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. Almost perfect, now. One last scenario that isn't handled quite right... If I have a competency with either an assessment question with related competency assessment question role requirements or two assessment questions and I skip selecting an assessment question in the first step of editing parameters, I am still shown the "Compare result to" step of the flow (although my selection here isn't shown on the summary). This step should be skipped if the user hasn't chosen an asssessment question and they should be taken straight to the set status step.

@kevwhitt-hee kevwhitt-hee merged commit bc6c768 into master Jan 19, 2022
@kevwhitt-hee kevwhitt-hee deleted the Develop/Features/DLSV2-443-SignpostingParametersFlow branch January 19, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants