From 46e29c3f1541c5d008cf5e91214ca4f61d5b9fc5 Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Thu, 18 Feb 2016 14:49:41 +0100 Subject: [PATCH] No grey stacks for now - May give the feeling something is not there when it should be, or incomplete. - They create visual noise --- client/app/scripts/charts/node-shape-stack.js | 10 +++------- client/app/scripts/components/debug-toolbar.js | 2 -- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/client/app/scripts/charts/node-shape-stack.js b/client/app/scripts/charts/node-shape-stack.js index 9d13f87c8..4f39e5d79 100644 --- a/client/app/scripts/charts/node-shape-stack.js +++ b/client/app/scripts/charts/node-shape-stack.js @@ -12,28 +12,24 @@ export default function NodeShapeStack(props) { const propsOnlyHighlight = Object.assign({}, props, {onlyHighlight: true}); const Shape = props.shape; - const nodeCount = props.nodeCount; const [dx, dy] = [0, 6]; const ds = 0.075; const dsx = (props.size * 2 + dx) / (props.size * 2); const dsy = (props.size * 2 + dy) / (props.size * 2); const hls = [dsx, dsy]; - const propsWithGrey = Object.assign({}, propsNoHighlight, {color: '#aaa', className: 'mock'}); - const propsForIndex = i => (nodeCount < i ? propsWithGrey : propsNoHighlight); - return ( - + - + - + ); } diff --git a/client/app/scripts/components/debug-toolbar.js b/client/app/scripts/components/debug-toolbar.js index 8c5e139f2..88853b0dc 100644 --- a/client/app/scripts/components/debug-toolbar.js +++ b/client/app/scripts/components/debug-toolbar.js @@ -42,8 +42,6 @@ function addAllVariants() { }); })); - console.log(newNodes); - receiveNodesDelta({ add: newNodes });