Skip to content

Commit

Permalink
feat(slb-146): include autosave_form and patch to provide support for…
Browse files Browse the repository at this point in the history
… gutenberg
  • Loading branch information
nbaosullivan committed Aug 16, 2021
1 parent e4019bb commit 814f091
Show file tree
Hide file tree
Showing 11 changed files with 394 additions and 48 deletions.
1 change: 1 addition & 0 deletions apps/silverback-drupal/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
}
],
"require": {
"amazeelabs/proxy-autosave-form": "^1.0",
"amazeelabs/proxy-drupal-core": "^1.0",
"amazeelabs/proxy-gutenberg": "^1.0",
"amazeelabs/silverback-cli": "@dev",
Expand Down
151 changes: 113 additions & 38 deletions apps/silverback-drupal/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions apps/silverback-drupal/config/sync/autosave_form.messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
entity_saved_in_background_alert_message: 'The content has been modified elsewhere. As a result, autosaving has been disabled and autosaved states for the current page have been deleted. Autosave will be reactivated after reloading the page.'
_core:
default_config_hash: In3MY-CuVp64RxCeU5X6rsEhR6jR4Si8OG6BX18DALg
11 changes: 11 additions & 0 deletions apps/silverback-drupal/config/sync/autosave_form.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
interval: 5000
active_on:
content_entity_forms: true
config_entity_forms: false
notification:
active: true
message: 'Saving draft...'
delay: 1000
allowed_content_entity_types: { }
_core:
default_config_hash: QnLi3Y7e5T_v9EZqYxRb90E0bBDb2g1y7xREWLKJLC0
1 change: 1 addition & 0 deletions apps/silverback-drupal/config/sync/core.extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module:
admin_toolbar: 0
admin_toolbar_tools: 0
autosave_form: 0
basic_auth: 0
block: 0
block_content: 0
Expand Down
Loading

0 comments on commit 814f091

Please sign in to comment.