Ghost/ghost/admin/app/controllers
Kevin Ansfield b48cc49e5a
🐛 Fixed broken "< Posts" and "Back to editor" links in beta editor (infinite save loop) (#18042)
refs https://github.com/TryGhost/Product/issues/3843

If you used relative URLs in the beta editor, when it came to leaving the editor you would get stuck due to an infinite save loop occurring in the background requiring a refresh to get back to a working state.

- when saving relative URLs the server will convert them to absolute for consistency and to ensure URLs work in other situations such as emails, RSS, 3rd party editors, etc
- although we get different data back from the server we don't overwrite the content in the editor with it as that would cause loss of changes since the save as well as loss of the cursor position
- when leaving the editor we compare content from the last save revision with the current editor content to see if we need to save a new revision but if the server data has been modified with relative->absolute URLs then we'd enter an infinite loop because the content would never match
- relative->absolute URLs should be the only thing to ever be modified in the underlying data when saving so we can work around the issue by replacing each instance of the site's URL before comparing revision data to current data
2023-09-08 14:24:05 +00:00
..
editor Fixed linter error for use of {{action}} in editor-loading controller 2022-07-18 10:50:03 +01:00
lexical-editor Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
members Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
posts Wired email debug screen with API (#15919) 2022-12-02 14:38:40 +05:30
settings Added toggle for donation email notifications 2023-08-07 16:32:35 +02:00
setup 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
application.js Updated Admin extensions script functionality 2023-06-02 14:05:40 +02: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 Grouped mentions from the same source (#16348) 2023-03-01 12:15:29 +01:00
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
editor.js Revert "Added drop of intermediate post saves between current running and latest triggered" (#17978) 2023-09-05 13:38:59 +00: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 🐛 Fixed broken "< Posts" and "Back to editor" links in beta editor (infinite save loop) (#18042) 2023-09-08 14:24:05 +00:00
member.js 🐛 Fixed members breadcrumbs when not coming from analytics 2023-05-04 11:20:33 +02:00
members-activity.js Cleaned up suppressionList feature flag (#16736) 2023-05-04 14:47:04 +02:00
members.js 🐛 Fixed member newsletter filter when multiple filters applied (#17857) 2023-08-29 14:20:55 +01:00
mentions.js Added mentions page for a post 2023-02-22 10:48:15 +01:00
migrate.js Add Migrate app (#16458) 2023-03-30 15:40:06 +01:00
offer.js 🐛 Fixed missing validation of offer amounts in the admin panel (#16022) 2023-01-03 09:23:11 +00:00
offers.js 🐛 Fixed offer links with an archived tier (#15792) 2022-11-11 10:11:34 +01:00
pages-loading.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
pages.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +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 Filter email only posts 2023-04-14 10:38:16 +02: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
settings.js Refactored reset controller to Octane patterns 2022-10-07 19:07:51 +01:00
setup.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00: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