Skip to content
Permalink
Browse files

build for deploy

  • Loading branch information
johnnycoyle committed Jun 19, 2017
1 parent 577d989 commit a8b70e34772a4b7d598d9a5360e86cab4083c4c4
@@ -31,6 +31,7 @@ class GraphPicker extends Component {
this.componentOptions = this.loadComponentOptions(this.props.allComponents);
this.metricOptions = this.loadOptions(metrics);
this.renderButtonsActive = false;
this.hasCurrentTimeWasted = false;

this.state = {
selectComponentValue: undefined,
@@ -98,9 +99,8 @@ class GraphPicker extends Component {
}

let labelName = options[0] === 'timeWasted' ? this.displayNameMetrics[option] : option
arr.push(
{ value: option, label: labelName}
)

arr.push({ value: option, label: labelName})
})
return arr;
}
@@ -116,8 +116,10 @@ class GraphPicker extends Component {
if (this.state.selectMetricValue === 'timeWasted'){
if (option.getMetricTotal('timeWasted') != 0) {
if (option.getLastValue('timeWasted')){
this.hasCurrentTimeWasted = true;
wastedColor = '#ff5757';
}else {
this.hasCurrentTimeWasted = false;
wastedColor = '#57ff9e'
}
}
@@ -38,10 +38,7 @@ class App extends Component {
});
backgroundPageConnection.onMessage.addListener((message) => {
if(message.source === "react-rpm-module" && message.type != "webpackOk") {
if (!this.haveReceivedPerfs) {
this.haveReceivedPerfs = true;
}
console.log('message:',message);
this.haveReceivedPerfs = true;
this.hasRenderBeenDetected = styles.renderDetected;
this.setState({ perfData: message.message });
}
@@ -1,6 +1,7 @@
import React from 'react';
import { render } from 'react-dom';
import { AppContainer } from 'react-hot-loader';
import 'babel-polyfill';
import App from './../containers/App';
import 'react-hot-loader/patch';

@@ -1,5 +1,6 @@
import React from 'react';
import { render } from 'react-dom';
import 'babel-polyfill';
import App from './../containers/App';

render (
@@ -27,8 +27,7 @@
box-sizing: border-box;
}
.Select.is-disabled > .Select-control {
background-color: #2c3036;
background:red;
/*background-color: #2c3036;*/
}
.Select.is-disabled > .Select-control:hover {
box-shadow: none;
@@ -94,6 +93,11 @@
.has-value.Select--single > .Select-control .Select-value .Select-value-label,
.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {
color: white;
left:10px;
}

.Select-value{
height: 10px !important;
}
.has-value.Select--single > .Select-control .Select-value a.Select-value-label,
.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label {
@@ -147,7 +151,7 @@
vertical-align:middle;
outline:none;
cursor: text;
left:-80px;
left:-40px;
top:10px;
}
.has-value.is-pseudo-focused .Select-input {
@@ -209,12 +213,9 @@
.Select-arrow-zone {
position:absolute;
left:-105px;
/*top: 2px;*/
cursor: pointer;
text-align: center;
width: 25px;
/*margin-top:10px;
margin-left:50%;*/
padding-right: 10px;
padding-top:10px;
background:red;
@@ -243,7 +244,7 @@
margin: -1px;
clip: rect(0, 0, 0, 0);
overflow: hidden;
float: left;
/*float: left;*/
}
@-webkit-keyframes Select-animation-fadeIn {
from {
@@ -266,8 +267,6 @@
border-bottom-left-radius: 4px;
background-color: #9c9fa0;
outline:none;
/*border: 1px solid #ccc;
border-top-color: #e6e6e6;*/
box-sizing: border-box;
margin-top: -1px;
max-height: 200px;
@@ -290,13 +289,13 @@
cursor: pointer;
display: block;
padding: 8px 10px;
left:50px;
}
.Select-option:last-child {
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
.Select-option.is-selected {
background-color: #fff;
/* Fallback color for IE 8 */
background-color: rgba(0, 126, 255, 0.04);
color: #333;
@@ -330,23 +329,20 @@
padding-right:50px;
}
.Select--multi .Select-value {
background-color: #f4f3f3;
/* Fallback color for IE 8 */
background-color: rgba(0, 126, 255, 0.08);
border: 1px solid #c2e0ff;
/* Fallback color for IE 8 */
border: 1px solid rgba(0, 126, 255, 0.24);
color: #007eff;
display: inline-block;
font-size: .9em;
line-height: 28px;
margin-top: 5px;
width:28px;
vertical-align: top;
}
.Select--multi .Select-value-icon,
.Select--multi .Select-value-label {
display: absolute;
left:-80px;
left:-15px;
vertical-align: middle;
}
.Select--multi .Select-value-label {
@@ -373,14 +369,12 @@
.Select--multi .Select-value-icon:hover,
.Select--multi .Select-value-icon:focus {
background-color: #fcfcfc;
/* Fallback color for IE 8 */
background-color: rgba(0, 113, 230, 0.08);
color: #0071e6;
}
.Select--multi .Select-value-icon:active {
background-color: #f4f3f3;
/* Fallback color for IE 8 */
background-color: rgba(0, 126, 255, 0.24);
/*background-color: rgba(0, 126, 255, 0.24);*/
}
.Select--multi.is-disabled .Select-value {
background-color: #fcfcfc;
BIN +1.1 MB build/react-rpm.zip
Binary file not shown.

This file was deleted.

No changes.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -1,8 +1,6 @@
var path = require('path');
var webpack = require('webpack');

const extpath = path.join(__dirname, './chrome/extension/');

module.exports = {
entry: [
'./app/devpanel/index_production.js',

0 comments on commit a8b70e3

Please sign in to comment.
You can’t perform that action at this time.