Skip to content

Commit

Permalink
refactor(ui): Use reakit Tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
vio committed Jan 5, 2021
1 parent 77a0666 commit 8ede100
Show file tree
Hide file tree
Showing 8 changed files with 2,003 additions and 426 deletions.
4 changes: 4 additions & 0 deletions packages/ui/build/webpack/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require('path');
const StatsPlugin = require('stats-webpack-plugin');
const webpack = require('webpack');

const ROOT = path.join(__dirname, '../../');
const CONTEXT = path.join(ROOT, 'src');
Expand Down Expand Up @@ -70,6 +71,9 @@ module.exports = {
},
devtool: 'source-map',
plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)
}),
new StatsPlugin('../artifacts/webpack-stats.json', {
all: false,
assets: true,
Expand Down
253 changes: 43 additions & 210 deletions packages/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"react": "16.14.0",
"react-dom": "16.14.0",
"react-test-renderer": "16.14.0",
"reakit": "^1.3.3",
"recompose": "0.30.0",
"stats-webpack-plugin": "0.7.0",
"style-loader": "2.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/components/bundle-assets/bundle-assets.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ const getRenderRowHeader = (labels) => (item) => (
<Tooltip
className={css.notPredictive}
title={<TooltipNotPredictive runs={item.runs} />}
align="topLeft"
>
<span className={cx('ui-icon ui-icon--small', css.notPredictiveIcon)}>warning</span>
</Tooltip>
Expand Down
Loading

0 comments on commit 8ede100

Please sign in to comment.