Skip to content
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

Restructure form wizard logic for creating a move #808

Open
teneightfive opened this issue Sep 22, 2020 · 0 comments
Open

Restructure form wizard logic for creating a move #808

teneightfive opened this issue Sep 22, 2020 · 0 comments

Comments

@teneightfive
Copy link
Contributor

Problem

The code for creating of a move started out with one journey and minimal forks, but over time, by adding new journeys this set of files has grown organically. However, this has led to a lot of complexity to be introduced into certain files which makes them harder to maintain or hand over to some form of live support or even make updates to.

Possible solution

Refactor the logic to have separate journeys for the different location types (police, prison, youth, etc). Some steps may need to be shared but by splitting the files and journeys out, possible using the URL structure it can make it easier to maintain the separate journeys and see the different options.

This work should also ensure we have all variations of all journeys tested using end-to-end tests to avoid any regressions.

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

No branches or pull requests

1 participant