Ghost/ghost/admin/tests
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
..
acceptance Added improved search into internal linking beta 2024-06-13 17:30:15 +01:00
helpers Migrated staff user screen to Ember Octane patterns (#15532) 2022-10-05 12:05:31 +01:00
integration Added improved search into internal linking beta 2024-06-13 17:30:15 +01:00
unit 🎨 Improved editor behavior to automatically update slug for draft posts (#20388) 2024-06-17 16:00:13 -05:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Released new editor (#18422) 2023-10-04 12:22:54 +01:00