Bug 905903 - Ajax notifications for success of actions should disappear after a set amount of time rather than require you to manually close
Summary: Ajax notifications for success of actions should disappear after a set amount...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: snapshot1
: 3.0
Assignee: Julie Pichon
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-30 12:44 UTC by Perry Myers
Modified: 2015-02-15 22:02 UTC (History)
5 users (show)

Fixed In Version: python-django-horizon-2013.1.1-1.el6ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-29 15:04:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1144820 0 None None None Never
OpenStack gerrit 23767 0 None None None Never
Red Hat Product Errata RHBA-2013:0878 0 normal SHIPPED_LIVE Red Hat OpenStack 3.0 ("Grizzly") Preview bug fix and enhancement update 2013-05-29 19:01:24 UTC

Description Perry Myers 2013-01-30 12:44:17 UTC
Description of problem:
The ajax notifications that pop up on the top left corner of Horizon when you take an action tend to stick around forever until you close them manually which is a bit annoying.

Having a timeout (say 5 seconds) would seem to be better user experience wise

Comment 1 Yaniv Kaul 2013-01-30 13:40:13 UTC
I wouldn't want failures to disappear so fast.
For example, right now for some elusive reason, my horizon can't fetch
quotas. I get the red dialog every time.
But I think it's OK - I don't need the green success to remain, but
errors should be explicitly dismissed.

Success messages are fine. Changed title accordingly.

Comment 2 Matthias Runge 2013-05-15 07:54:34 UTC
I think, we need some docs for this.

It is already included in Grizzly, the behaviour is configurable:
(in local_settings.py, i.e. /etc/openstack-dashboard/local_settings)
HORIZON_CONFIG = {
...
    'auto_fade_alerts': {
        'delay': 3000,
        'fade_duration': 1500,
        'types': ['alert-success', 'alert-info']
    },
...
}

Comment 4 Nir Magnezi 2013-05-22 12:34:27 UTC
Verified NVR: python-django-horizon-2013.1.1-1.el6ost.noarch

Tested both Error and success:

ERROR: 
======
Exceeded my tenant quota, the error did not disappear till I closed it myself. 

Error: Quota exceeded for cores: Requested 4, but already used 17 of 20 cores (HTTP 413) (Request-ID: req-0a4f2474-407e-4561-adda-e9b9d38fc9d4)

Error: Unable to launch instance named "test".


Success:
========
Launched an instance, The pop-up disappeared after 5 seconds

Success: Launched instance named "test".

Comment 6 errata-xmlrpc 2013-05-29 15:04:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0878.html


Note You need to log in before you can comment on or make changes to this bug.