Closed Mike-Heneghan closed 5 years ago
At the moment the organisation create view redirects to the organisation_confirm
although for this change in the workflow it would need to link to service_create
which would then redirect to organisation_confirm
.
Now adding an new org redirects to add a service_create
which then redirects to organisation_detail
.
We need a way of knowing a organisation confirmation page hasn't been hit before so it should redirect back there first.
With automatically going straight to add a service after adding an organisation the confirmation page doesn't seem as relevant? Or at least we need a more dynamically generated one.
Also, we need a way to check that the organisation hasn't just been created.
Maybe we could count the number of services? Rather than redirecting to the organisation detail page if it's the first service regardless of organisation age, we could redirect to an updated confirm view.
Hey @digitalwestie, I've got a few ideas of how we could redesign the workflow but it would be good to discuss them before I crack on.
As the organisation confirmation is no longer relevant in its current state we need to update it to reflect the new workflow.
The current plan for ideal flow:
The plan for when org was added in the past but first service just added:
The plan for when an org is added but a user decides to navigate away before adding a service:
A user adds their second service:
A user deletes the only service related to their organisation and then adds another:
Noticed there was an instance where I went back during an organisation create and created another instance which then caused issues. Had to delete through the shell. Unsure why this happened and whether it's something we'll need to watch out for.
To Do List:
Merged into master
At the moment users add their Organisation but often seem not to progress to the next step and add their first service.
To try to improve the workflow it might be best to delay the Organisation confirmation page until after a user has had the chance to add a new service. Then both confirmations can be done. This would mostly involve redirects rather than fundamental changes.