d732f83a9f
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. |
||
---|---|---|
.. | ||
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 | ||
member.js | ||
members-activity.js | ||
members.js | ||
mentions.js | ||
migrate.js | ||
offer.js | ||
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 |