Ghost/ghost/admin/app/controllers
Steve Larson d732f83a9f
🎨 Improved editor behavior to automatically update slug for draft posts (#20388)
ref https://linear.app/tryghost/issue/ENG-1211
- the post slug now re-generates based on the post title for draft posts
unless manually set
- updated unit tests to be a bit more comprehensive

It's frequently the case that draft posts might have WIP titles. We
would generate a post slug based on the title and never change it, so
unless writers remembered to come back in to update it for their final
post, it could look off to readers. This should make that a bit more
intelligent.

Going forward, we will change the slug unless we expect it to be a custom slug (user-set in the side panel). If the title is cleared out and saved, we will also reset it. We will only ever automatically generate & change the slug for draft posts.
2024-06-17 16:00:13 -05:00
..
lexical-editor
members
posts
setup
activitypub-x.js
application.js
billing.js
collection.js
collections.js
dashboard.js
demo-x.js
designsandbox.js
error.js
explore.js
home.js
lexical-editor.js 🎨 Improved editor behavior to automatically update slug for draft posts (#20388) 2024-06-17 16:00:13 -05:00
member.js Fixed unhandled error when saving member data fails validations (#20316) 2024-06-04 06:46:57 +00:00
members-activity.js
members.js Fixed ember concurrency cancellation errors (#20324) 2024-06-04 16:20:49 +02:00
mentions.js
migrate.js
offer.js Fixed ember concurrency cancellation errors (#20324) 2024-06-04 16:20:49 +02:00
offers.js
pages-loading.js
pages.js
posts-loading.js
posts.js
reset.js
settings-x.js
setup.js
signin.js
signup.js
site.js
tag.js
tags.js
websockets.js
whatsnew.js