← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1502304] [NEW] Auto dismiss angular alerts using user settings

 

Public bug reported:


We want the Angular alerts to use the settings from settings.py, so that it matches the behavior of legacy horizon toasts. 

Settings here:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L58

    'auto_fade_alerts': {
        'delay': 3000,
        'fade_duration': 1500,
        'types': ['alert-success', 'alert-info']
    },

Since framework cannot be dependent on openstack_dashboard, we need to
pass it from openstack_dashboard --> framework.

Related: https://blueprints.launchpad.net/horizon/+spec/client-side-
configuration-file

** Affects: horizon
     Importance: Undecided
     Assignee: Cindy Lu (clu-m)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1502304

Title:
  Auto dismiss angular alerts using user settings

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  
  We want the Angular alerts to use the settings from settings.py, so that it matches the behavior of legacy horizon toasts. 

  Settings here:
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L58

      'auto_fade_alerts': {
          'delay': 3000,
          'fade_duration': 1500,
          'types': ['alert-success', 'alert-info']
      },

  Since framework cannot be dependent on openstack_dashboard, we need to
  pass it from openstack_dashboard --> framework.

  Related: https://blueprints.launchpad.net/horizon/+spec/client-side-
  configuration-file

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1502304/+subscriptions