You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2017/08/22 10:02:02 UTC

[couchdb-fauxton] 01/01: basic notification appearing

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 <ga...@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" <co...@couchdb.apache.org>.