Red Hat Bugzilla – Bug 1021313
Add gadget notifications
Last modified: 2014-02-06 10:30:38 EST
Description of problem:
When adding a gadget to the dashboard, it is not always easy to tell the action is successfully occurring and the user can get lost in how many gadgets actually have been added to the dashboard.
Have a "Widget successfully added" verification message appear near or next to the "add to dashboard" button in the gadget store listings.
Ideally, have a count of how many instances of this widget exist on the currently selected dashboard at this moment so the user can track how many they are adding.
Ideally I would have implemented the gadget count UI as suggested. However that would actually require a major change to how the gadget server works.
So instead it now just does an "alert" to let the user know that a gadget was added.
Additionally, I updated a bunch of CSS to make the gadget store look a little nicer and make it more obvious what the user can do vs. what is just informational.
Also, when the user clicks the "Add To Page" button, it will now disable that button and change the label to "Adding...". When the gadget is added (which is done asynchronously) the user gets the alert and the button goes back to normal.
Note: the greying out of the button might not be obvious - the button will only be in that state during the period of time it takes the gadget server to add the gadget to the UI. This involves making a REST call to the server and getting a response. So the response time (and thus the amount of time the button will be greyed out) is dependent on server speed and load.
Verified on ER7-2