Remove empty state step before choosing areas

We had some kind of idea that having this empty page would introduce the
idea of choosing areas and reinforce that you are building up a list of
areas.

But since the journey is now so simple with the button to create an
alert directly on the dashboard page, maybe people don’t need this extra
orientation.
This commit is contained in:
Chris Hill-Scott
2021-07-05 14:33:02 +01:00
parent 256c840b46
commit 2cfd22b20c
2 changed files with 4 additions and 4 deletions

View File

@@ -150,7 +150,7 @@ def write_new_broadcast(service_id):
reference=form.name.data,
)
return redirect(url_for(
'.preview_broadcast_areas',
'.choose_broadcast_library',
service_id=current_service.id,
broadcast_message_id=broadcast_message.id,
))
@@ -166,7 +166,7 @@ def write_new_broadcast(service_id):
@service_has_permission('broadcast')
def broadcast(service_id, template_id):
return redirect(url_for(
'.preview_broadcast_areas',
'.choose_broadcast_library',
service_id=current_service.id,
broadcast_message_id=BroadcastMessage.create(
service_id=service_id,

View File

@@ -737,7 +737,7 @@ def test_write_new_broadcast_posts(
'template_content': 'This is a test',
},
_expected_redirect=url_for(
'.preview_broadcast_areas',
'.choose_broadcast_library',
service_id=SERVICE_ONE_ID,
broadcast_message_id=fake_uuid,
_external=True,
@@ -795,7 +795,7 @@ def test_broadcast_page(
service_id=SERVICE_ONE_ID,
template_id=fake_uuid,
_expected_redirect=url_for(
'.preview_broadcast_areas',
'.choose_broadcast_library',
service_id=SERVICE_ONE_ID,
broadcast_message_id=fake_uuid,
_external=True,