Fixing broadcast vs info vs default notifications
This commit is contained in:
@ -5517,7 +5517,7 @@ main header {
|
||||
animation-iteration-count: 1;
|
||||
display: block;
|
||||
position: relative;
|
||||
background: #32b5f2;
|
||||
background: #383734;
|
||||
padding: 16px 40px 16px 22px;
|
||||
margin: 10px 0 0 0;
|
||||
color: #FFFFFF;
|
||||
@ -5555,11 +5555,11 @@ main header {
|
||||
opacity: 1; }
|
||||
.notifications .notification--good {
|
||||
background: #47af2a; }
|
||||
.notifications .notification--info {
|
||||
.notifications .notification--broadcast {
|
||||
background: #FFF39C;
|
||||
color: #000000; }
|
||||
.notifications .notification--subtle {
|
||||
background: #383734; }
|
||||
.notifications .notification--info {
|
||||
background: #32b5f2; }
|
||||
.notifications .notification--warning {
|
||||
background: #f16f19; }
|
||||
.notifications .notification--bad {
|
||||
@ -5581,7 +5581,8 @@ main header {
|
||||
.notifications .notification--process {
|
||||
position: relative;
|
||||
padding-right: 18px;
|
||||
padding-left: 50px; }
|
||||
padding-left: 50px;
|
||||
background: #32b5f2; }
|
||||
.notifications .notification--process.cancelling {
|
||||
color: rgba(255, 255, 255, 0.5); }
|
||||
.notifications .notification--process .loader {
|
||||
|
||||
@ -50903,11 +50903,16 @@ var CoreMiddleware = function () {
|
||||
});
|
||||
|
||||
// Log with Raven Sentry
|
||||
/*
|
||||
if (store.getState().ui.allow_reporting){
|
||||
Raven.captureException(new Error(message), {
|
||||
Raven.captureException(
|
||||
new Error(message),
|
||||
{
|
||||
extra: data
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
*/
|
||||
|
||||
// Log with Analytics
|
||||
if (store.getState().ui.allow_reporting) {
|
||||
@ -51655,7 +51660,7 @@ var UIMiddleware = function () {
|
||||
key: broadcast.key ? broadcast.key : null,
|
||||
title: broadcast.title ? broadcast.title : null,
|
||||
content: broadcast.message,
|
||||
type: 'info',
|
||||
type: 'broadcast',
|
||||
sticky: true
|
||||
};
|
||||
store.dispatch(uiActions.createNotification(data));
|
||||
|
||||
File diff suppressed because one or more lines are too long
11
mopidy_iris/static/app.min.css
vendored
11
mopidy_iris/static/app.min.css
vendored
@ -5517,7 +5517,7 @@ main header {
|
||||
animation-iteration-count: 1;
|
||||
display: block;
|
||||
position: relative;
|
||||
background: #32b5f2;
|
||||
background: #383734;
|
||||
padding: 16px 40px 16px 22px;
|
||||
margin: 10px 0 0 0;
|
||||
color: #FFFFFF;
|
||||
@ -5555,11 +5555,11 @@ main header {
|
||||
opacity: 1; }
|
||||
.notifications .notification--good {
|
||||
background: #47af2a; }
|
||||
.notifications .notification--info {
|
||||
.notifications .notification--broadcast {
|
||||
background: #FFF39C;
|
||||
color: #000000; }
|
||||
.notifications .notification--subtle {
|
||||
background: #383734; }
|
||||
.notifications .notification--info {
|
||||
background: #32b5f2; }
|
||||
.notifications .notification--warning {
|
||||
background: #f16f19; }
|
||||
.notifications .notification--bad {
|
||||
@ -5581,7 +5581,8 @@ main header {
|
||||
.notifications .notification--process {
|
||||
position: relative;
|
||||
padding-right: 18px;
|
||||
padding-left: 50px; }
|
||||
padding-left: 50px;
|
||||
background: #32b5f2; }
|
||||
.notifications .notification--process.cancelling {
|
||||
color: rgba(255, 255, 255, 0.5); }
|
||||
.notifications .notification--process .loader {
|
||||
|
||||
2
mopidy_iris/static/app.min.js
vendored
2
mopidy_iris/static/app.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -72,6 +72,7 @@ const CoreMiddleware = (function(){
|
||||
);
|
||||
|
||||
// Log with Raven Sentry
|
||||
/*
|
||||
if (store.getState().ui.allow_reporting){
|
||||
Raven.captureException(
|
||||
new Error(message),
|
||||
@ -80,6 +81,7 @@ const CoreMiddleware = (function(){
|
||||
}
|
||||
);
|
||||
}
|
||||
*/
|
||||
|
||||
// Log with Analytics
|
||||
if (store.getState().ui.allow_reporting){
|
||||
|
||||
@ -160,7 +160,7 @@ const UIMiddleware = (function(){
|
||||
key: (broadcast.key ? broadcast.key : null),
|
||||
title: (broadcast.title ? broadcast.title : null),
|
||||
content: broadcast.message,
|
||||
type: 'info',
|
||||
type: 'broadcast',
|
||||
sticky: true
|
||||
}
|
||||
store.dispatch(uiActions.createNotification(data));
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
@include fadein();
|
||||
display: block;
|
||||
position: relative;
|
||||
background: $blue;
|
||||
background: $grey;
|
||||
padding: 16px 40px 16px 22px;
|
||||
margin: 10px 0 0 0;
|
||||
color: $white;
|
||||
@ -57,13 +57,13 @@
|
||||
background: $green;
|
||||
}
|
||||
|
||||
&--info {
|
||||
&--broadcast {
|
||||
background: $yellow;
|
||||
color: $black;
|
||||
}
|
||||
|
||||
&--subtle {
|
||||
background: $grey;
|
||||
&--info {
|
||||
background: $blue;
|
||||
}
|
||||
|
||||
&--warning {
|
||||
@ -96,6 +96,7 @@
|
||||
position: relative;
|
||||
padding-right: 18px;
|
||||
padding-left: 50px;
|
||||
background: $blue;
|
||||
|
||||
&.cancelling {
|
||||
color: rgba(255,255,255,0.5);
|
||||
|
||||
Reference in New Issue
Block a user