Auto dismiss angular alerts using user settings

Bug #1502304 reported by Cindy Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Medium
Unassigned

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

Changed in horizon:
assignee: nobody → Cindy Lu (clu-m)
status: New → In Progress
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Not sure if High or Medium; it ignores deployer settings, but the settings in question aren't critical, just aesthetic.

Changed in horizon:
importance: Undecided → High
milestone: none → next
importance: High → Medium
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Clearing the assignee due to inactivity

Changed in horizon:
assignee: Cindy Lu (clu-m) → nobody
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.