Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(slb-146): include autosave_form and patch to provide support for… #781

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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