Ghost/ghost/admin/app/controllers
Kevin Ansfield d5a547b6ad
Added double-encoded fix to mobiledoc->lexical snippets sync
no issue

Early in the editor beta snippets were being saved with double-encoded JSON meaning we were dealing with strings rather than objects after Ember's deserialization. That's since been fixed so we're dealing with objects everywhere but old data can still cause issues.

- added a step to the `syncMobiledocSnippets()` method that checks if `snippet.lexical` is a string and performs the necessary fixes to the double-encoded values
- updated the snippet filter in the old editor to exclude double-encoded snippets as that could still load before the new editor has been accessed and the sync+fix has run
2023-06-06 15:20:22 +01: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 Updated inlined feedback form (#16794) 2023-05-16 16:16:57 +04: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 Added double-encoded fix to mobiledoc->lexical snippets sync 2023-06-06 15:20:22 +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 Added double-encoded fix to mobiledoc->lexical snippets sync 2023-06-06 15:20:22 +01: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 members breadcrumbs when not coming from analytics 2023-05-04 11:20:33 +02: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 Added route for new admin-x settings 2023-05-16 12:23:24 +05:30
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 Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00: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