Ghost/ghost/admin/app/controllers/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.js 💄Updated save buttons to reset state (#1522) 2020-04-06 16:17:28 +05:30
new.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
slack.js 💄Updated save buttons to reset state (#1522) 2020-04-06 16:17:28 +05:30
unsplash.js 💄Updated save buttons to reset state (#1522) 2020-04-06 16:17:28 +05:30
zapier.js Upgraded our Zapier integration to use API Keys and allow post creation 2019-05-27 10:53:18 +01:00