-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update step indicator total pages when a user forks #16
Comments
* Added new step progress middleware which adds a stepData object to the sessionModel * stepData contains currentStep, totalSteps, stepsJourney and prevStep * prevStep - records current step for use in working out index of next step when next called * stepJourney - actual journey of steps in order * currentStep - 1-indexed step number to display - index of step in stepsJourney * totalSteps - total number of steps taking visited forks into account * mocked SessionModel for tests
* Added new step progress middleware which adds a stepData object to the sessionModel * stepData contains currentStep, totalSteps, stepsJourney and prevStep * prevStep - records current step for use in working out index of next step when next called * stepJourney - actual journey of steps in order * currentStep - 1-indexed step number to display - index of step in stepsJourney * totalSteps - total number of steps taking visited forks into account * mocked SessionModel for tests
@UKHomeOffice/hof after some chat and https://www.gov.uk/service-manual/user-centred-design/resources/patterns/progress-indicators.html#section-3 I think we should conclude that this is not a thing we should be concerned with. Instead where journeys lengths may be dynamic a different solution for indicating the users' whereabouts should be designed |
After further discussion the initial solution will be to display the index of the current step, but not show how many steps there are in total (as this may change). This should take into account re-visiting a step, and when steps are invalidated (it shouldn't skip) |
When a user forks it can change the number of remaining pages in their journey. I would like to be able to reflect this in a step indicator view parameter
The text was updated successfully, but these errors were encountered: