Describe the bug
When creating a new campaign (vs. copying from an existing one) Spoke automatically adds the query parameter new=true to the URL. This may control other Spoke behavior, but one of its effects is definitely to force navigation back to the Basics tab if the admin tries to fill in other sections of the campaign builder before the Basics tab. While this may have made sense at some point in Spoke's history, it doesn't accurately reflect how admins now interact with the campaign builder, where sections are often filled out out of order.
To Reproduce
Steps to reproduce the behavior:
Click the Create a Campaign button on the campaigns page (/admin/1/campaigns)
Click Create New Campaign
Notice the URL has new=true appended as a query parameter
Don't fill in the basics tab - navigate to a different section and make a change there instead
Save that section
Notice Spoke navigates back to the basics tab
Expected behavior
Don't force navigation back to the basics tab after saving another section.
Additional context
We can likely drop this query parameter entirely, but we should document any additional behavior that this query parameter controls to ensure it's safe to remove
Describe the bug When creating a new campaign (vs. copying from an existing one) Spoke automatically adds the query parameter
new=true
to the URL. This may control other Spoke behavior, but one of its effects is definitely to force navigation back to the Basics tab if the admin tries to fill in other sections of the campaign builder before the Basics tab. While this may have made sense at some point in Spoke's history, it doesn't accurately reflect how admins now interact with the campaign builder, where sections are often filled out out of order.To Reproduce Steps to reproduce the behavior:
/admin/1/campaigns
)new=true
appended as a query parameterExpected behavior Don't force navigation back to the basics tab after saving another section.
Additional context We can likely drop this query parameter entirely, but we should document any additional behavior that this query parameter controls to ensure it's safe to remove