ref: one codebase for hover tooltip and freezed tooltip

- rename variables for URL template, use templateSrv to render URL links
- fix visibility of tooltip items and url template help popup whe the light theme is used
- rework Tooltip settings pane, organize tooltip editor fields
- rename properties in panel config, implement migration logic for legacy configuration
- close button for the frozen tooltip
- use relative positioning for proper page scrolling
This commit is contained in:
Ivan Mikheykin
2020-07-09 13:16:09 +03:00
parent 4e281e53d5
commit 8c7279561d
44 changed files with 3967 additions and 1513 deletions
+7 -1
View File
@@ -5,7 +5,8 @@
"main": "README.md",
"scripts": {
"build": "grunt",
"check-types": "node_modules/typescript/bin/tsc"
"check-types": "node_modules/typescript/bin/tsc",
"test": "jest"
},
"author": "Flant JSC",
"license": "Apache-2.0",
@@ -26,6 +27,7 @@
"@types/d3-scale-chromatic": "1.3.1",
"@types/angular": "1.6.56",
"@types/grafana": "github:flant/types-grafana",
"@types/jest": "24.0.13",
"@types/jquery": "1.10.35",
"@types/lodash": "4.14.123",
"babel-core": "7.0.0-bridge.0",
@@ -43,8 +45,12 @@
"grunt-contrib-uglify": "^3.0.1",
"grunt-contrib-watch": "^1.0.0",
"grunt-notify": "^0.4.5",
"jest": "24.8.0",
"jest-canvas-mock": "2.1.2",
"jest-date-mock": "1.0.7",
"load-grunt-tasks": "^3.5.2",
"typescript": "3.7.2",
"ts-jest": "24.1.0",
"tslib": "1.10.0"
},
"dependencies": {