Ghost/ghost/admin/app/templates/settings/integrations
Rishabh Garg c3883d4c6f 💄Updated save buttons to reset state (#1522)
* Updated save buttons to reset state

no issue

Currently the save buttons across Admin don't auto-reset to idle state after success/failure on run which can give false impression once user changes any value. This PR auto-resets the button to idle state after a fixed timeout if no subsequent action is performed as a short term UX improvement.

* Fixed success check for auto reset

* Updated timeout value

* Added explicit save button reset for pages

* Updated save buttons to reset via shortcut

Auto-reset for save buttons wasn't working if not done through manual click on task button previously, this handles by splitting the original save task in controller to handle shortcut saves.

* Updated reset check for only successful tasks

* Added save reset to code-injection and design settings

Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2020-04-06 16:17:28 +05:30
..
amp-loading.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
amp.hbs 💄Updated save buttons to reset state (#1522) 2020-04-06 16:17:28 +05:30
new.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
slack-loading.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
slack.hbs 💄Updated save buttons to reset state (#1522) 2020-04-06 16:17:28 +05:30
unsplash-loading.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
unsplash.hbs 💄Updated save buttons to reset state (#1522) 2020-04-06 16:17:28 +05:30
zapier.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00