fix: Using "Save & continue editing" on a new insight doesn't redirect to /insights/<short_id>
Problem
Using "Save & continue editing" on a new insight doesn't redirect to /insights/<short_id> This should redirect the user to the edit page with the id of the newly saved insight in the url but it isn't currently
Changes
fixes #11049
before & after
Ref
How did you test this code?
@Twixes, @benjackwhite, Ready for review
@benjackwhite, Still up for review
@benjackwhite, Changes have been addressed
@Twixes, Ready for review
Unfortunately this doesn't fix the core issue. This will indeed redirect but not to the correct place as it should redirect to the "edit" view and not the standard view.
This change so far just makes it behave as the usual save button
Should the test be updated to reflect this?
Closing in favor of #12384.