couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [couchdb-fauxton] 01/01: basic notification appearing
Date Tue, 22 Aug 2017 10:02:02 GMT
This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch preactjs
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git

commit 9237de45475a2fb62d021db74d41367e4dbb1baf
Author: Garren Smith <garren.smith@gmail.com>
AuthorDate: Tue Aug 22 11:42:04 2017 +0200

    basic notification appearing
---
 app/addons/fauxton/notifications/notifications.js | 1 +
 assets/less/templates.less                        | 2 +-
 devserver.js                                      | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/app/addons/fauxton/notifications/notifications.js b/app/addons/fauxton/notifications/notifications.js
index b58d8d5..c252e2c 100644
--- a/app/addons/fauxton/notifications/notifications.js
+++ b/app/addons/fauxton/notifications/notifications.js
@@ -206,6 +206,7 @@ var Notification = React.createClass({
   },
 
   render: function () {
+    //setTimeout(() => this.onAnimationComplete(), 3000); // Temp work around so that
notifications appear and disappear
     var iconMap = {
       error: 'fonticon-attention-circled',
       info: 'fonticon-info-circled',
diff --git a/assets/less/templates.less b/assets/less/templates.less
index 711711b..9702f4e 100644
--- a/assets/less/templates.less
+++ b/assets/less/templates.less
@@ -295,6 +295,6 @@
 }
 
 .notification-wrapper {
-  opacity: 0;
+  opacity: 1; // Temp change to make the notifications visible
   height: 0;
 }
diff --git a/devserver.js b/devserver.js
index 332a699..98b13cb 100644
--- a/devserver.js
+++ b/devserver.js
@@ -88,6 +88,7 @@ const runWebpackServer = function () {
     overlay: true,
     hot: false,
     historyApiFallback: false,
+    disableHostCheck: true,
     stats: {
       colors: true,
     },

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <commits@couchdb.apache.org>.

Mime
View raw message