You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: