Ghost/ghost/admin/tests/unit
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
..
authenticators Made session.user a synchronous property rather than a promise 2021-07-08 14:54:31 +01:00
components Updated metadata shown on hover in internal link lists (#20204) 2024-05-14 16:07:04 +00:00
controllers 🎨 Improved editor behavior to automatically update slug for draft posts (#20388) 2024-06-17 16:00:13 -05:00
helpers Fixed member subscription status when multiple subs (#19530) 2024-01-24 12:16:26 +01:00
mixins Update dependency eslint-plugin-ghost to v1.4.0 2020-05-06 18:07:01 +01:00
models Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
routes Added collections CRUD UI 2023-05-23 17:26:47 +07:00
serializers Switched from v3 to canary API 2021-02-05 09:12:26 +00:00
services Fixed admin utils test 2023-01-13 19:49:01 +05:30
transforms Refactored to use individual slack settings (#2384) 2022-05-16 11:38:32 +01:00
utils Added error handling to Sentry's beforeSend (#19109) 2023-11-23 02:46:50 +00:00
validators Refactored to use individual slack settings (#2384) 2022-05-16 11:38:32 +01:00
.gitkeep Ember init, bower deps, es6 modules 2015-03-11 12:37:41 -06:00