8000 hides wrong label in the statistics memory tooltip + node 16 build su… · arangodb/arangodb@9d2b175 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9d2b175

Browse files
hkernbachjsteemann
andauthored
hides wrong label in the statistics memory tooltip + node 16 build support (#14389)
Co-authored-by: Jan <jsteemann@users.noreply.github.com>
1 parent 819b44c commit 9d2b175

File tree

4 files changed

+74
-141
lines changed

4 files changed

+74
-141
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
devel
22
-----
33

4+
* Web UI: Disables the hover tooltip within the statistics view of the
5+
memory consumption chart.
6+
7+
* Raised the versions of the node modules `node-sass` and `sass-loader`
8+
to be able to build the Web UI with Node v16+.
9+
410
* Improve usability of hidden options: `--help` mentions that these exist
511
and how to display them.
612

js/apps/system/_admin/aardvark/APP/frontend/js/views/dashboardView.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@
496496
'values': [
497497
{
498498
label: 'used',
499-
value: newData.residentSizePercent * 100
499+
value: parseFloat((newData.residentSizePercent * 100).toFixed(2))
500500
}
501501
]
502502
},
@@ -506,7 +506,7 @@
506506
'values': [
507507
{
508508
label: 'used',
509-
value: 100 - newData.residentSizePercent * 100
509+
value: parseFloat((100 - newData.residentSizePercent * 100).toFixed(2))
510510
}
511511
]
512512
}
@@ -898,7 +898,11 @@
898898
return d + '%';
899899
})
900900
.showMaxMin(false);
901-
self.residentChart.xAxis.showMaxMin(false);
901+
self.residentChart.xAxis
902+
.tickFormat(function () {
903+
return "";
904+
})
905+
.showMaxMin(false);
902906

903907
d3.select('#residentSizeChart svg')
904908
.datum(self.history[self.server].residentSizeChart)

js/apps/system/_admin/aardvark/APP/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"lodash": "^4.17.11",
5858
"marked": "^0.7.0",
5959
"mini-css-extract-plugin": "0.4.3",
60-
"node-sass": "^4.14.1",
60+
"node-sass": "^6.0.0",
6161
"noty": "^3.2.0-beta",
6262
"nvd3": "^1.8.6",
6363
"optimize-css-assets-webpack-plugin": "5.0.1",
@@ -73,7 +73,7 @@
7373
"react-dev-utils": "^6.1.1",
7474
"react-dom": "^16.13.1",
7575
"resolve": "1.8.1",
76-
"sass-loader": "^7.3.1",
76+
"sass-loader": "^10.1.1",
7777
"sigma": "1.2.0",
7878
"style-loader": "^0.23.1",
7979
"terser-webpack-plugin": "^3.0.6",

0 commit comments

Comments
 (0)
0