Ghost/ghost/admin/app/models
Ronald Langeveld c8ba9e8027
🐛 Fixed unsaved changes confirmation on Lexical schema change (#20687)
refs ENG-661

Fixes a long-standing issue where an outdated Lexical schema in the
database triggered the unsaved changes confirmation dialog incorrectly.
Implemented a secondary hidden Lexical instance that loads the state
from the database, renders it, and uses this updated state to compare
with the live editor's scratch.
This ensures the unsaved changes prompt appears only when there are real
changes from the user.
2024-08-05 12:58:58 +00:00
..
action.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
api-key.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
base.js updated to use new model._meta 2020-02-10 12:41:35 +00:00
collection.js Added basic UI for collection posts 2023-06-19 14:38:01 +07:00
custom-theme-setting-list.js Added customThemeSettings service with all-records-in-one save request 2021-09-28 16:50:28 +01:00
custom-theme-setting.js Ensure hidden settings return falsy when used with the @custom helper (#17920) 2023-09-13 08:38:31 +01:00
email.js Added email feedback column (#15698) 2022-10-27 11:22:50 +04:00
integration.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
invite.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
label.js Added labels for Members (#1477) 2020-02-14 15:04:01 +05:30
member-subscription.js Updated member model to use new subscriptions structure 2019-10-03 23:10:42 +05:30
member-tier.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
member.js 🔒 Added support for logging out members on all devices (#18935) 2023-11-15 17:10:28 +01:00
mention.js Added page resources to emails (#16315) 2023-02-22 21:02:15 +08:00
navigation-item.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
newsletter.js Renamed subtitle to excerpt (#20334) 2024-06-05 17:59:30 +01:00
notification.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
offer.js Updated default offer duration as once 2021-10-19 00:19:32 +05:30
page.js 🎨 Separated post and page list screens (#1101) 2019-02-22 10:17:33 +07:00
post-revision.js Added custom excerpt to post revisions (#20323) 2024-06-05 14:47:33 +01:00
post.js 🐛 Fixed unsaved changes confirmation on Lexical schema change (#20687) 2024-08-05 12:58:58 +00:00
role.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
setting.js Fixed default sender address when email is managed (#19186) 2023-11-29 19:24:16 +00:00
snippet.js Wired lexical snippets to Ghost (#16647) 2023-04-17 17:39:04 +04:00
tag.js Reduced Admin search re-indexes (#20154) 2024-05-07 15:24:20 +01:00
theme.js Enabled page features (#17544) 2023-07-31 14:22:19 -05:00
tier-benefit-item.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
tier.js Handled null trial days on tiers 2022-08-09 14:14:22 +05:30
user.js Reduced Admin search re-indexes (#20154) 2024-05-07 15:24:20 +01:00
webhook.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00