Navigation Menu

Skip to content

Commit

Permalink
Removed unused kb images. Update deps. Fix cpu load increase when too…
Browse files Browse the repository at this point in the history
…lbar enabled #281
  • Loading branch information
Thomas101 committed Jun 27, 2017
1 parent 83abdef commit 8891f83
Show file tree
Hide file tree
Showing 27 changed files with 46 additions and 35 deletions.
Binary file removed .github/kb_google_unread_counts_setup1.png
Binary file not shown.
Binary file removed .github/kb_google_unread_counts_setup2.png
Binary file not shown.
Binary file removed .github/kb_google_unread_counts_setup3.png
Binary file not shown.
Binary file removed .github/kb_google_unread_counts_setup4.png
Binary file not shown.
Binary file removed .github/kb_google_unread_counts_setup5.png
Binary file not shown.
Binary file removed .github/kb_google_unread_counts_setup6.png
Binary file not shown.
Binary file removed .github/kb_import_export_1.png
Binary file not shown.
Binary file removed .github/kb_import_export_2.png
Binary file not shown.
Binary file removed .github/kb_import_export_3.png
Binary file not shown.
Binary file removed .github/kb_import_export_4.png
Binary file not shown.
Binary file removed .github/kb_multiple_machines_1.png
Binary file not shown.
Binary file removed .github/kb_multiple_machines_2.png
Binary file not shown.
Binary file removed .github/kb_multiple_machines_3.png
Binary file not shown.
Binary file removed .github/kb_staying_signedin_microsoft.png
Binary file not shown.
Binary file removed .github/kb_staying_signedin_sso1.png
Binary file not shown.
Binary file removed .github/kb_staying_signedin_sso2.png
Binary file not shown.
Binary file removed .github/kb_staying_signedin_sso3.png
Binary file not shown.
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"babel-cli": "6.24.1",
"babel-core": "6.25.0",
"babel-loader": "7.0.0",
"babel-loader": "7.1.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
Expand All @@ -52,12 +52,12 @@
"less": "2.7.2",
"less-loader": "4.0.4",
"style-loader": "0.18.2",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony",
"url-loader": "0.5.8",
"uuid": "3.0.1",
"webpack": "2.6.1",
"url-loader": "0.5.9",
"uglify-es": "3.0.20",
"uuid": "3.1.0",
"webpack": "3.0.0",
"webpack-target-electron-renderer": "0.4.0",
"yargs": "8.0.1"
"yargs": "8.0.2"
},
"devDependencies": {
"standard": "10.0.2",
Expand Down
4 changes: 2 additions & 2 deletions src/app/package.json
Expand Up @@ -17,9 +17,9 @@
"mkdirp": "0.5.1",
"nodehun": "2.0.11",
"unused-filename": "1.0.0",
"uuid": "3.0.1",
"uuid": "3.1.0",
"winreg": "1.2.4",
"yargs": "8.0.1"
"yargs": "8.0.2"
},
"optionalDependencies": {
"electron-windows-notifications": "1.1.13",
Expand Down
10 changes: 5 additions & 5 deletions src/scenes/content/package.json
Expand Up @@ -7,16 +7,16 @@
"dependencies": {
"alt": "0.18.6",
"fbjs": "0.8.12",
"material-ui": "0.18.3",
"material-ui": "0.18.4",
"prop-types": "15.5.10",
"react": "15.5.4",
"react-addons-shallow-compare": "15.5.2",
"react-dom": "15.5.4",
"react": "15.6.1",
"react-addons-shallow-compare": "15.6.0",
"react-dom": "15.6.1",
"react-portal-tooltip": "1.1.5",
"react-tap-event-plugin": "2.0.1",
"react-timer-mixin": "0.13.3",
"urijs": "1.18.10",
"uuid": "3.0.1"
"uuid": "3.1.0"
},
"devDependencies": {
"standard": "10.0.2",
Expand Down
12 changes: 8 additions & 4 deletions src/scenes/content/src/Scenes/BrowserScene/BrowserToolbar.js
Expand Up @@ -115,10 +115,14 @@ export default class BrowserToolbar extends React.Component {
<IconButton onClick={isLoading ? handleStop : handleReload}>
<FontIcon className='material-icons'>{isLoading ? 'close' : 'refresh'}</FontIcon>
</IconButton>
<CircularProgress
size={18}
thickness={2}
style={{ transition: 'opacity 1s', margin: 10, opacity: isLoading ? 1 : 0 }} />
{isLoading ? (
<CircularProgress
size={18}
thickness={2}
style={{ margin: 10 }} />
) : (
<div style={{ width: 18, height: 18, margin: 10 }} />
)}
</ToolbarGroup>
<ToolbarGroup style={{ minWidth: 0 }}>
<ToolbarTitle text={this.externalUrl(currentUrl)} style={{ fontSize: '14px' }} />
Expand Down
3 changes: 2 additions & 1 deletion src/scenes/content/webpack.config.js
Expand Up @@ -46,7 +46,8 @@ module.exports = function (env) {
ignore: [ '.DS_Store' ]
}),

// Minify in production
// Minify & optimization
new webpack.optimize.ModuleConcatenationPlugin(),
isProduction ? new webpack.optimize.UglifyJsPlugin({}) : undefined
].filter((p) => !!p),
resolve: {
Expand Down
12 changes: 6 additions & 6 deletions src/scenes/mailboxes/package.json
Expand Up @@ -10,23 +10,23 @@
"bootstrap-grid": "2.0.1",
"color": "1.0.3",
"fbjs": "0.8.12",
"material-ui": "0.18.3",
"material-ui": "0.18.4",
"phoenix": "phoenixframework/phoenix#v1.2.4",
"prop-types": "15.5.10",
"qs": "6.4.0",
"querystring": "0.2.0",
"react": "15.5.4",
"react-addons-shallow-compare": "15.5.2",
"react-color": "2.12.0",
"react-dom": "15.5.4",
"react": "15.6.1",
"react-addons-shallow-compare": "15.6.0",
"react-color": "2.13.0",
"react-dom": "15.6.1",
"react-portal-tooltip": "1.1.5",
"react-router": "4.1.1",
"react-router-dom": "4.1.1",
"react-tap-event-plugin": "2.0.1",
"react-timer-mixin": "0.13.3",
"string-hash": "1.1.3",
"urijs": "1.18.10",
"uuid": "3.0.1",
"uuid": "3.1.0",
"valid-url": "1.0.9"
},
"devDependencies": {
Expand Down
Expand Up @@ -134,11 +134,15 @@ export default class MailboxNavigationToolbar extends React.Component {
style={{ fontSize: '14px', color: Colors.blueGrey50 }} />
</ToolbarGroup>
<ToolbarGroup lastChild>
<CircularProgress
size={18}
thickness={2}
color={Colors.cyan200}
style={{ transition: 'opacity 1s', margin: 10, opacity: isLoading ? 1 : 0 }} />
{isLoading ? (
<CircularProgress
size={18}
thickness={2}
color={Colors.cyan200}
style={{ margin: 10 }} />
) : (
<div style={{ width: 18, height: 18, margin: 10 }} />
)}
</ToolbarGroup>
</Toolbar>
</Paper>
Expand Down
3 changes: 2 additions & 1 deletion src/scenes/mailboxes/webpack.config.js
Expand Up @@ -50,7 +50,8 @@ module.exports = function (env) {
ignore: [ '.DS_Store' ]
}),

// Minify in production
// Minify & optimization
new webpack.optimize.ModuleConcatenationPlugin(),
isProduction ? new webpack.optimize.UglifyJsPlugin({}) : undefined
].filter((p) => !!p),
resolve: {
Expand Down
8 changes: 4 additions & 4 deletions src/scenes/monitor/package.json
Expand Up @@ -7,10 +7,10 @@
"dependencies": {
"alt": "0.18.6",
"fbjs": "0.8.12",
"material-ui": "0.18.3",
"react": "15.5.4",
"react-addons-shallow-compare": "15.5.2",
"react-dom": "15.5.4",
"material-ui": "0.18.4",
"react": "15.6.1",
"react-addons-shallow-compare": "15.6.0",
"react-dom": "15.6.1",
"prop-types": "15.5.10",
"react-tap-event-plugin": "2.0.1"
},
Expand Down
3 changes: 2 additions & 1 deletion src/scenes/monitor/webpack.config.js
Expand Up @@ -46,7 +46,8 @@ module.exports = function (env) {
ignore: [ '.DS_Store' ]
}),

// Minify in production
// Minify & optimization
new webpack.optimize.ModuleConcatenationPlugin(),
isProduction ? new webpack.optimize.UglifyJsPlugin({}) : undefined
].filter((p) => !!p),
resolve: {
Expand Down

0 comments on commit 8891f83

Please sign in to comment.