Ghost/ghost/admin/app/adapters
Chris Raible 06262ecf33
Added logic for saving revisions on explicit saves (#16688)
refs @TryGhost/Team#3076

- added `save_revision` option to edit post endpoint
- this change covers the following cases:
1. we will not save a `post_revision` on every background autosave that
occurs after 3 seconds of inactivity in the editor
2. we will save a `post_revision` when the user hits `cmd+s` in the
editor to explicitly save
3. we will save a `post_revision` when the user navigates away from the
editor (e.g. by clicking the 'Posts' breadcrumb in the editor)
4. we will save a `post_revision` when the user publishes a post
5. we will save a `post_revision` when a user updates an already
published post
2023-04-21 10:04:05 +01:00
..
api-key.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
application.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
base.js Fixed API path generation for multi-segmented model names 2021-09-23 23:52:50 +01:00
custom-theme-setting-list.js Added customThemeSettings service with all-records-in-one save request 2021-09-28 16:50:28 +01:00
email.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
embedded-relation-adapter.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
label.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
member.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
mention.js Added Mentions endpoint to Admin (#16136) 2023-01-17 20:16:18 +08:00
newsletter.js Fixed newsletter includes when adding or editing (#2365) 2022-05-05 11:31:45 +02:00
offer.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
page.js Fixed post/page API requests having incorrect ?include= params 2022-09-16 12:54:50 +01:00
post.js Added logic for saving revisions on explicit saves (#16688) 2023-04-21 10:04:05 +01:00
setting.js 🐛 Fixed settings overriden when updated from multiple tabs (#15536) 2022-10-12 14:03:54 +01:00
snippet.js Wired lexical snippets to Ghost (#16647) 2023-04-17 17:39:04 +04:00
tag.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
theme.js Added visible theme errors in admin (#16081) 2023-01-06 13:44:27 +01:00
tier.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
user.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00