Skip to content

[6.x] Add cp.after_save config option - #15824

Merged
jasonvarga merged 4 commits into
statamic:6.xfrom
el-schneider:feature/after-save-default
Nov 9, 2026
Merged

jasonvarga merged 4 commits into
statamic:6.xfrom
el-schneider:feature/after-save-default

Conversation

@el-schneider

@el-schneider el-schneider commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Okay, I expect some pushback on this, and I’m honestly surprised nobody has brought it up yet. I think this is the most cursed UX pattern in all of Statamic, and my suspicion is we’ve all just grown numb to it.

Time and time again I’ve seen people new to the CMS thrown off by hitting “Save” and being redirected to the listing. Hopeless, disoriented, sad and confused. Let’s fix it!

And yes, I know about default preferences, and yes, I also know about the dropdown. Yes, yes, yes. That’s not the point.

For all the purists out there: you can still opt to confuse your users! But I think the much better default is to just be cool. It's just a basic interaction, don’t get hyperactive, just save and stay calm (on the same page).

The default change is its own commit, so it’s easy to drop or move to master if you’d rather have it there.

@el-schneider
el-schneider marked this pull request as ready for review November 9, 2026 20:41
@robdekort

Copy link
Copy Markdown
Contributor

I like this!

@jackmcdade

Copy link
Copy Markdown
Member

I'm good with this too – the first thing I do in a new site is switch to Continue Editing lol

@jasonvarga jasonvarga left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I agree with you that continue_editing should be the default, we can't change that in a minor release.

But introducing the config is an easy way for people to opt into it.

And I'd be happy to have statamic/statamic override the default to continue_editing so new 6.x sites could use it.

@el-schneider el-schneider changed the title [6.x] Continue editing after saving by default [6.x] Add cp.after_save config option Nov 9, 2026
@el-schneider

el-schneider commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor Author

While I agree with you that continue_editing should be the default, we can't change that in a minor release.

But introducing the config is an easy way for people to opt into it.

And I'd be happy to have statamic/statamic override the default to continue_editing so new 6.x sites could use it.

I can open the PR, once this is merged.

EDIT: we could still make the default continue_editing in v7, right?

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jasonvarga

Copy link
Copy Markdown
Member

we could still make the default continue_editing in v7, right?

Yup!

@jasonvarga
jasonvarga merged commit 0c590c8 into statamic:6.x Nov 9, 2026
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants