Skip to content

Commit

Permalink
Bug 1450045 - Convert Logviewer to ReactJS (#4223)
Browse files Browse the repository at this point in the history
And switch to using react-lazylog instead of unified-logviewer.
  • Loading branch information
Cameron Dawson authored and edmorley committed Nov 9, 2018
1 parent e33a1db commit 3ad320d
Show file tree
Hide file tree
Showing 18 changed files with 488 additions and 768 deletions.
7 changes: 4 additions & 3 deletions .neutrinorc.js
Expand Up @@ -13,8 +13,9 @@ module.exports = {
title: 'Treeherder',
},
logviewer: {
entry: 'entry-logviewer.js',
template: 'ui/logviewer.html',
entry: 'logviewer/index.jsx',
favicon: 'ui/img/logviewerIcon.png',
title: 'Treeherder Logviewer',
},
userguide: {
entry: 'userguide/index.jsx',
Expand Down Expand Up @@ -126,7 +127,7 @@ module.exports = {
// to help prevent unknowingly regressing the bundle size (bug 1384255).
neutrino.config.performance
.hints('error')
.maxAssetSize(1.29 * 1024 * 1024)
.maxAssetSize(1.20 * 1024 * 1024)
.maxEntrypointSize(1.63 * 1024 * 1024);
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -25,7 +25,6 @@
"angular": "1.7.5",
"angular-clipboard": "1.6.2",
"angular-local-storage": "0.7.1",
"angular-sanitize": "1.7.5",
"angular1-ui-bootstrap4": "2.4.22",
"auth0-js": "9.8.1",
"bootstrap": "4.1.3",
Expand Down Expand Up @@ -56,6 +55,7 @@
"react-highlight-words": "0.14.0",
"react-hot-loader": "4.3.12",
"react-hotkeys": "1.1.4",
"react-lazylog": "3.1.4",
"react-linkify": "0.2.2",
"react-redux": "5.1.0",
"react-router-dom": "4.3.1",
Expand Down
184 changes: 0 additions & 184 deletions ui/css/logviewer.css

This file was deleted.

4 changes: 2 additions & 2 deletions ui/css/treeherder-global.css
Expand Up @@ -181,12 +181,12 @@ input[type="checkbox"] {
}

.result-status-shading-testfailed {
background-color: rgba(221, 102, 2, 0.25);
background-color: rgba(221, 102, 2, 0.5);
border-color: rgba(221, 102, 2, 0.25);
}

.result-status-shading-busted {
background-color: rgba(144, 0, 0, 0.25);
background-color: rgba(144, 0, 0, 0.5);
border-color: rgba(144, 0, 0, 0.25);
}

Expand Down
21 changes: 0 additions & 21 deletions ui/entry-logviewer.js

This file was deleted.

38 changes: 0 additions & 38 deletions ui/js/components/logviewer/logviewer.js

This file was deleted.

0 comments on commit 3ad320d

Please sign in to comment.