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 Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
members Prevented background click closing members import modal (#18296) 2023-09-22 12:01:34 +00:00
posts Wired email debug screen with API (#15919) 2022-12-02 14:38:40 +05:30
setup Added Source as the new default theme 2023-10-03 14:02:08 +02:00
activitypub-x.js Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
application.js Added date based cache buster to client script (#19873) 2024-03-18 09:29:00 +00:00
billing.js Refactored billing controller to Octane patterns 2022-10-07 17:59:49 +01:00
collection.js Added collections CRUD UI 2023-05-23 17:26:47 +07:00
collections.js Added collections CRUD UI 2023-05-23 17:26:47 +07:00
dashboard.js Moved onboarding display check into new onboarding service (#19938) 2024-03-27 17:37:37 +00:00
demo-x.js Created a skeleton AdminX demo app (#19005) 2023-11-20 13:30:15 +00:00
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
error.js Fixed max call stack error on error controller 2022-10-07 19:46:30 +01:00
explore.js Improved URL syncing between Admin and Explore (#15640) 2022-10-21 11:48:18 +01:00
home.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
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 Cleaned up suppressionList feature flag (#16736) 2023-05-04 14:47:04 +02:00
members.js Fixed ember concurrency cancellation errors (#20324) 2024-06-04 16:20:49 +02:00
mentions.js Added mentions page for a post 2023-02-22 10:48:15 +01:00
migrate.js Update migration in settings (#19278) 2023-12-13 16:25:29 +01:00
offer.js Fixed ember concurrency cancellation errors (#20324) 2024-06-04 16:20:49 +02:00
offers.js Fixed generating offers in data generator (#19495) 2024-01-16 13:53:34 +00:00
pages-loading.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
pages.js Deleted all Admin code relating to the old editor (#18580) 2023-10-12 13:17:39 +01:00
posts-loading.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
posts.js Deleted all Admin code relating to the old editor (#18580) 2023-10-12 13:17:39 +01:00
reset.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
settings-x.js Fixed bugs with AdminX navigation settings (#17340) 2023-07-13 01:12:31 +00:00
setup.js Fixed browser tests broken by onboarding changes (#19998) 2024-04-08 15:15:04 +01:00
signin.js 🎨 Improved copy on too many login attempts 2023-06-20 14:32:04 +02:00
signup.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
site.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tag.js Switched tag unsaved changes modal to new modal pattern 2022-09-09 17:44:11 +01:00
tags.js Refactored tags screens 2022-09-09 13:27:13 +01:00
websockets.js Added alpha feature to demonstrate websockets 2023-02-17 11:55:15 +01:00
whatsnew.js Fixed "About Ghost" missing system information 2022-09-13 12:28:21 +01:00