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 09:42:17 UTC
[couchdb-fauxton] 02/02: 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 78c21e3ded842474fae08dea5125fab237e0d5f1
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 +
app/addons/replication/controller.js | 1 +
assets/less/templates.less | 2 +-
devserver.js | 1 +
4 files changed, 4 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/app/addons/replication/controller.js b/app/addons/replication/controller.js
index 819b17a..1c12faa 100644
--- a/app/addons/replication/controller.js
+++ b/app/addons/replication/controller.js
@@ -20,6 +20,7 @@ import {checkReplicationDocID} from './api';
import {OnePane, OnePaneHeader, OnePaneContent} from '../components/layouts';
import {TabElementWrapper, TabElement} from '../components/components/tabelement';
import ReplicateActivity from './components/replicate-activity';
+import FauxtonAPI from '../../core/api';
const {LoadLines, Polling, RefreshBtn} = Components;
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>.