2013-07-20 16:56:59 -05:00
|
|
|
{
|
2019-07-23 19:17:41 -05:00
|
|
|
"author": "Grafana Labs",
|
2021-04-20 12:03:30 -05:00
|
|
|
"license": "AGPL-3.0-only",
|
2018-12-20 02:25:04 -06:00
|
|
|
"private": true,
|
2014-01-19 09:13:28 -06:00
|
|
|
"name": "grafana",
|
2021-11-23 04:23:02 -06:00
|
|
|
"version": "8.4.0-pre",
|
2020-02-27 11:00:36 -06:00
|
|
|
"repository": "github:grafana/grafana",
|
2020-03-25 01:19:57 -05:00
|
|
|
"scripts": {
|
|
|
|
"api-tests": "jest --notify --watch --config=devenv/e2e-api-tests/jest.js",
|
2021-11-18 10:38:58 -06:00
|
|
|
"build": "NODE_ENV=production webpack --config scripts/webpack/webpack.prod.js",
|
|
|
|
"build:nominify": "yarn run build --env noMinify=1",
|
2021-08-31 05:55:05 -05:00
|
|
|
"dev": "webpack --progress --color --config scripts/webpack/webpack.dev.js",
|
2020-03-25 01:19:57 -05:00
|
|
|
"e2e": "./e2e/start-and-run-suite",
|
2020-05-03 06:51:30 -05:00
|
|
|
"e2e:debug": "./e2e/start-and-run-suite debug",
|
2020-03-25 01:19:57 -05:00
|
|
|
"e2e:dev": "./e2e/start-and-run-suite dev",
|
2020-11-09 08:14:04 -06:00
|
|
|
"test": "jest --notify --watch",
|
2021-09-14 06:23:17 -05:00
|
|
|
"test:accessibility-report": "./scripts/generate-a11y-report.sh",
|
2020-12-01 03:32:12 -06:00
|
|
|
"lint": "yarn run lint:ts && yarn run lint:sass",
|
|
|
|
"lint:ts": "eslint . --ext .js,.tsx,.ts --cache",
|
2021-10-20 04:34:24 -05:00
|
|
|
"lint:sass": "yarn stylelint '{public/sass,packages}/**/*.scss' --cache",
|
2021-10-08 09:19:10 -05:00
|
|
|
"test:ci": "mkdir -p reports/junit && JEST_JUNIT_OUTPUT_DIR=reports/junit jest --ci --reporters=default --reporters=jest-junit -w ${TEST_MAX_WORKERS:-100%}",
|
2020-03-25 01:19:57 -05:00
|
|
|
"lint:fix": "yarn lint --fix",
|
2020-04-21 03:41:50 -05:00
|
|
|
"packages:build": "lerna run clean && lerna run build --ignore @grafana-plugins/input-datasource",
|
|
|
|
"packages:docsExtract": "rm -rf ./reports/docs && lerna run docsExtract",
|
2020-04-28 02:53:58 -05:00
|
|
|
"packages:docsToMarkdown": "api-documenter markdown --input-folder ./reports/docs/ --output-folder ./docs/sources/packages_api/ --hugo",
|
2020-03-25 01:19:57 -05:00
|
|
|
"packages:prepare": "lerna version --no-push --no-git-tag-version --force-publish --exact",
|
|
|
|
"packages:publish": "lerna publish from-package --contents dist",
|
|
|
|
"packages:publishCanary": "lerna publish from-package --contents dist --dist-tag canary --yes",
|
|
|
|
"packages:publishLatest": "lerna publish from-package --contents dist --yes",
|
|
|
|
"packages:publishNext": "lerna publish from-package --contents dist --dist-tag next --yes",
|
2020-07-07 07:07:00 -05:00
|
|
|
"packages:publishDev": "lerna publish from-package --contents dist --dist-tag dev --yes --registry http://grafana-npm.local:4873 --force-publish=*",
|
2020-03-25 01:19:57 -05:00
|
|
|
"packages:typecheck": "lerna run typecheck",
|
2020-10-14 07:35:55 -05:00
|
|
|
"packages:clean": "lerna run clean",
|
2020-12-01 03:32:12 -06:00
|
|
|
"precommit": "yarn run lint-staged",
|
2021-11-02 06:25:12 -05:00
|
|
|
"prettier:check": "prettier --list-different \"**/*.{scss,md,mdx}\"",
|
|
|
|
"prettier:write": "prettier --list-different \"**/*.{scss,md,mdx}\" --write",
|
2021-10-08 09:19:10 -05:00
|
|
|
"start": "yarn themes:generate && webpack --progress --color --watch --env noTsCheck=0 --config scripts/webpack/webpack.dev.js",
|
2021-11-18 10:38:58 -06:00
|
|
|
"start:hot": "yarn themes:generate && NODE_ENV=hot webpack serve --progress --color --config scripts/webpack/webpack.hot.js",
|
2021-10-08 09:19:10 -05:00
|
|
|
"start:noTsCheck": "yarn themes:generate && webpack --progress --color --watch --env noTsCheck=1 --config scripts/webpack/webpack.dev.js",
|
2020-03-25 01:19:57 -05:00
|
|
|
"stats": "webpack --mode production --config scripts/webpack/webpack.prod.js --profile --json > compilation-stats.json",
|
2020-11-24 03:38:41 -06:00
|
|
|
"storybook": "yarn workspace @grafana/ui storybook --ci",
|
|
|
|
"storybook:build": "yarn workspace @grafana/ui storybook:build",
|
2021-09-01 05:31:50 -05:00
|
|
|
"themes:generate": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/generateSassVariableFiles.ts",
|
2020-12-01 03:32:12 -06:00
|
|
|
"typecheck": "tsc --noEmit && yarn run packages:typecheck",
|
2020-04-21 03:14:14 -05:00
|
|
|
"plugins:build-bundled": "grafana-toolkit plugin:bundle-managed",
|
2020-09-07 06:17:03 -05:00
|
|
|
"watch": "yarn start -d watch,start core:start --watchTheme",
|
2021-11-02 05:53:27 -05:00
|
|
|
"ci:test-frontend": "yarn run test:ci && yarn grafana-toolkit node-version-check",
|
|
|
|
"postinstall": "husky install"
|
2020-03-25 01:19:57 -05:00
|
|
|
},
|
2020-04-28 14:26:36 -05:00
|
|
|
"grafana": {
|
2021-11-22 07:46:57 -06:00
|
|
|
"whatsNewUrl": "https://grafana.com/docs/grafana/next/whatsnew/whats-new-in-v8-3/",
|
2021-05-13 04:37:45 -05:00
|
|
|
"releaseNotesUrl": "https://grafana.com/docs/grafana/next/release-notes/"
|
2020-04-28 14:26:36 -05:00
|
|
|
},
|
2020-03-25 01:19:57 -05:00
|
|
|
"lint-staged": {
|
2020-08-11 10:52:44 -05:00
|
|
|
"*.{js,ts,tsx}": [
|
|
|
|
"eslint --ext .js,.tsx,.ts --cache --fix"
|
|
|
|
],
|
2021-08-06 08:52:36 -05:00
|
|
|
"*.{json,scss,md,mdx}": [
|
2020-05-05 04:54:15 -05:00
|
|
|
"prettier --write"
|
2020-03-25 01:19:57 -05:00
|
|
|
],
|
|
|
|
"*pkg/**/*.go": [
|
2020-05-05 04:54:15 -05:00
|
|
|
"gofmt -w -s"
|
2020-03-25 01:19:57 -05:00
|
|
|
]
|
|
|
|
},
|
2013-07-20 16:56:59 -05:00
|
|
|
"devDependencies": {
|
2021-07-07 03:43:17 -05:00
|
|
|
"@babel/core": "7.14.6",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "7.14.5",
|
2021-04-01 03:32:00 -05:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
2021-07-07 03:43:17 -05:00
|
|
|
"@babel/plugin-transform-react-constant-elements": "7.14.5",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
2021-10-27 08:21:07 -05:00
|
|
|
"@babel/plugin-transform-typescript": "7.15.4",
|
2021-07-07 03:43:17 -05:00
|
|
|
"@babel/preset-env": "7.14.7",
|
|
|
|
"@babel/preset-react": "7.14.5",
|
|
|
|
"@babel/preset-typescript": "7.14.5",
|
2021-05-17 07:18:54 -05:00
|
|
|
"@emotion/eslint-plugin": "11.2.0",
|
2020-11-27 03:21:28 -06:00
|
|
|
"@grafana/api-documenter": "7.11.2",
|
2021-10-08 09:19:10 -05:00
|
|
|
"@grafana/e2e": "workspace:*",
|
2021-11-02 04:20:41 -05:00
|
|
|
"@grafana/eslint-config": "2.5.1",
|
2021-10-08 09:19:10 -05:00
|
|
|
"@grafana/toolkit": "workspace:*",
|
|
|
|
"@grafana/tsconfig": "^1.0.0-rc1",
|
2021-10-14 10:55:06 -05:00
|
|
|
"@kusto/monaco-kusto": "4.0.6",
|
2021-10-18 02:16:36 -05:00
|
|
|
"@microsoft/api-extractor": "7.18.16",
|
2021-11-11 07:32:34 -06:00
|
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
|
2021-10-27 08:21:07 -05:00
|
|
|
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
|
2021-11-11 07:03:53 -06:00
|
|
|
"@swc/core": "1.2.103",
|
|
|
|
"@swc/helpers": "0.2.13",
|
2021-10-27 10:57:20 -05:00
|
|
|
"@testing-library/dom": "8.10.1",
|
2020-11-13 04:55:19 -06:00
|
|
|
"@testing-library/jest-dom": "5.11.5",
|
2021-10-13 09:42:09 -05:00
|
|
|
"@testing-library/react": "12.1.2",
|
2021-10-20 09:37:17 -05:00
|
|
|
"@testing-library/react-hooks": "7.0.2",
|
2021-10-14 07:29:41 -05:00
|
|
|
"@testing-library/user-event": "13.3.0",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/angular": "1.6.56",
|
|
|
|
"@types/angular-route": "1.7.0",
|
2020-02-14 08:15:51 -06:00
|
|
|
"@types/classnames": "2.2.9",
|
2019-04-17 05:43:00 -05:00
|
|
|
"@types/clipboard": "2.0.1",
|
2021-05-17 07:18:54 -05:00
|
|
|
"@types/common-tags": "^1.8.0",
|
2021-10-14 03:12:30 -05:00
|
|
|
"@types/d3": "7.0.0",
|
2021-01-19 09:34:43 -06:00
|
|
|
"@types/d3-force": "^2.1.0",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/d3-scale-chromatic": "1.3.1",
|
2021-01-28 08:57:57 -06:00
|
|
|
"@types/debounce-promise": "3.1.3",
|
2020-02-14 08:16:07 -06:00
|
|
|
"@types/enzyme": "3.10.5",
|
|
|
|
"@types/enzyme-adapter-react-16": "1.0.6",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/file-saver": "2.0.1",
|
2021-10-27 08:21:07 -05:00
|
|
|
"@types/grafana__slate-react": "npm:@types/slate-react@0.22.5",
|
Routing NG: Replace Angular routing with react-router (#31463)
* Add router packages
* Get react app root work instead of Angular one
* Logger util
* Patch Angular routing ($routeProvider, $routeParamsProvider)
* Use react-router-dom history instead of separate dependency
* Add test routes
* Sidemenu - use Link instead of anchors
* Patch Angular $location service (stub)
* WIP: geting rid of $location provider from TimeSrv
* Intercept anchor clicks to use history under the hood
* Sync Redux location slice with history state
* Make login/logout work
* Debug routes for testing
* Make force login work
* Make sure query param change does not recreate page components
* Hide side menu in specified locations
* Make the dashboar route query parameters work, make panel edit menu work
* Enable more routes
* Fix side menu
* Handle view modes
* Disable playlist routes
* Make SafeDynamicImport work again
* Bring back router-debug
* Separate redux location sync from route rendering
* Refactor updateLocation to thunk and move force refresh(login) to it
* Fixing init dashboard issue
* Support switching between dashboards without an unmount of DashboardPage
* More fixes for init dashboard and panel edit
* More type fixes
* Moving angular location wrapper out of main LocationService, and fixing typescript issues
* Fixed last typescript errors
* LocationService: Move to runtime and remove getLocationService and export singleston const instead (#31523)
* Moving location service implementation to runtime and removing get function and making it a package const singleton
* Added test that used locationService directly
* removed unused import
* AngularApp: Moving angular dependencies and the app boot out of the main app into it's own file (#31525)
* Fixes angular panels by calling the monkey patch
* Moving angular stuff to to it's own files
* udpated
* Fixing clicking on divs and spans inside anchor
* Moving app notifications out of angular app and removing angular directive wrapper
* Moving search from angular to react and removing angular search wrapper
* Clean up, tried to remove the redux location wrapper but requires a big update for DashboardPage, so adding it back
* Moving AppWrapper to root to limit circular dependencies (app/core -> app/routing and back)
* Open and close search now works
* Hide sidemenu when in kiosk mode
* Restoring some keybindings like ESC key
* Removed kiosk events and simplified it, just handled through updating URL
* Fixing typescript errors
* Simplified GrafanaRouteComponentProps and renamed to ContainerProps
* renamed back
* Changed AlertRuleList to use GrafanaRouteComponentProps and location.search passed to it
* Removing the reloadOnSearch property, this is not needed now for react as react by default does not unmount components when only url match or query parmas change
* SafeDynamicImport causing unmount un every search update, not sure how to fix yet
* Fix signature for SafeDynamicImport so we do not create new route components on every route render
* Removing the redux location wrapper as it was causing errors, and making dashboard page work with RouteProps (location, match) etc
* Updating DashboardPage and SoloPanelPage to use match params and history location
* Fixed DashboardPage tests
* Fixing solo route tests
* LocationService: Rename getCurrentLocation to just getLocation
* do not intercept link clicks with target blank or self
* Experimental useUrlParams hook
* Update DataSourceSettingsPage to use router match params
* fix links with urls that have no starting / to work like before
* Fix forceLogin
* Add queryParams to GrafanaRouteComponentProps
* PanelEditor get rid of updateLocation and location state
* Improve grafana route query params typing
* Add getSearchObject to LocationService
* Use DashboardPAge queryParams instead of location.search parsing
* Fix DashboardPage typing
* Fix some tests weirdness
* Bring back KeyboardSrv
* Fixes typescript issues
* Team pages now use router match params
* Get rid of from GrafanaRouteComponent props
* Removed unnessary calls to getSearchObject when calling locationService.partial
* Updated DashboardPage tests after queryParams was added
* Fixing dashboard settings back
* GrafanaRoute: Adding tests and remove use of global locationService
* Fixing tests and typescript errors
* Bring back kiosk modes and add tests
* Fix TimeSrv tests
* Fix typecheck errors
* Fixing tests
* Updated SideMenu test to react-testing and wrapped component in Router, and fixed issue importing createMemoryHistory
* Get rid of routeChange event from TimeSrv from
* Fixed TopSectionItem test
* Trying to make basename work but failing
* Update TopSectionItem snapshot
* Fix TopSectionItem snapshot test
* Fix API keys creation
* Remove Angular dependencies from KeybindingSrv (#31617)
* Remove Angular dependency from KeybindingsSrv
* Fix tests and typecheck issues
* basename is starting to work
* Make dashboard save work
* KeybindingSrv: Remove as angular service and no usage angular scope
* So long bridge_srv, we won't miss you
* Update snapshots
* Dashboard: Refactoring ChangeTracker to use History api and no angular (#31653)
* Dashboard: Refactoring ChangeTracker to use History api and no angular
* Updated
* Removed logging
* fixed unit tests
* updated snapshots
* Mechanism for force reloading routes (#31683)
* e2e: Fixes various things in e2e scenarios after router migration (#31685)
* Explore: Update reading query params from router props and updating location via locationService (ReactRouter) (#31688)
* RoutingNG: Initial explore redux location to router location migration
* Updated explore Wrapper tests
* Fixing more tests
* remove loggin
* rename back to make naming consistent
* Fixing return to dashboard button
* fixing navigation to explore from dashboard
* updated routeProps
* Updated tests
* Make DashboardListPage work
* Fixing navigation after add new data source, and fixes explore e2e
* Fixing solo panel page
* PluginsPage now works
* RoutingNG: When parsing and rendering url search/query params preseve old logic of handling booleans and arrays (#31725)
* RoutingNG: When parsing and rendering url search/query params preserve old logic of handling booleans and arrays
* Fixed test
* Make snapshots list work
* fixed alert notification channel edit page
* Simplify LocationService, did not need special handling for login or forceLogin as target _self on link already handles that
* fixed UserAdminPage
* fixed edit orgs page
* Fixing LdapPage
* fixing dashboard import
* Fixed new folder page
* Fixed data source dashboards page
* fixing Folder permissions and folder settings page
* fixing snapshot list page nav model
* remove unused file
* Added placeholder page for playlist
* Moved browser compatability to index-template
* Restored 404/default page
* Fixed reset password page
* Fixed SignUpInvited page
* Fixing CreateTeam, Create user page, add panel widget
* Restore browwser file to make tests happy
* Fixed unit tests
* Removed unused import
* Replacing usage of updateLocation
* Fixed test
* Updating search filters to use history / location service for filters
* remove unused file
* AppRootPage fixed
* Fixing test and search issue
* Changes to support enterprise extensions
* remove console.log
* Removing more use of redux location
* Fixed signup page
* removed unused old angular controllers
* Fixing bugs
* one final bugfix
* Removed location from redux state
* Fixing ts issues and tests
* Fixing test issue
* fixing tests
* Fixing tests
* removed unused stuff
* Fixed search test
* Adding some doc comments
* Routing NG: Angular location provider patch (#31773)
* Patch Angulars $location provider
* Update public/app/angular/bridgeReactAngularRouting.ts
* Remove only test
* Update tests, disable loggers in test env
* Routing NG: remove $location provider usage (#31816)
* Remove dashboard_loaders
* Remove $location from Analytics service, track page views form GrafanaRoute
* Remove NotificationsEditCtrl
* Remove Angular dependencies from uploadDashboardDirective
* Update public/app/features/dashboard/containers/DashboardPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/dashboard/containers/DashboardPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Remove unused test helpers (#31831)
* Playlist react (#31829)
* playlist list in react
* Playlist start
* Things started to work
* Updated
* Handle empty list
* Fix ts
* Fixes and kiosk mode stuff
* Removed unused events
* fixing ts issue
* Another ts issue
* Fixing tests
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* fixed test
* Update public/app/AppWrapper.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/AppWrapper.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Remove Angular dependency from DashboardLoaderSrv (#31863)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-03-10 11:03:36 -06:00
|
|
|
"@types/history": "^4.7.8",
|
2021-05-17 07:18:54 -05:00
|
|
|
"@types/hoist-non-react-statics": "3.3.1",
|
2021-10-22 11:44:01 -05:00
|
|
|
"@types/jest": "27.0.2",
|
2020-06-18 04:35:11 -05:00
|
|
|
"@types/jquery": "3.3.38",
|
2021-05-18 07:42:57 -05:00
|
|
|
"@types/jsurl": "^1.2.28",
|
2020-02-14 08:15:51 -06:00
|
|
|
"@types/lodash": "4.14.149",
|
2021-05-11 03:38:10 -05:00
|
|
|
"@types/logfmt": "^1.2.1",
|
2019-12-09 02:46:52 -06:00
|
|
|
"@types/lru-cache": "^5.1.0",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/mousetrap": "1.6.3",
|
2021-11-08 09:45:02 -06:00
|
|
|
"@types/node": "16.11.6",
|
2020-09-06 23:22:54 -05:00
|
|
|
"@types/papaparse": "5.2.0",
|
2021-05-17 07:18:54 -05:00
|
|
|
"@types/pluralize": "^0.0.29",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/prismjs": "1.16.0",
|
2021-10-08 09:19:10 -05:00
|
|
|
"@types/rc-time-picker": "^3",
|
2021-10-15 06:25:47 -05:00
|
|
|
"@types/react": "17.0.30",
|
2021-08-18 04:23:34 -05:00
|
|
|
"@types/react-beautiful-dnd": "13.1.1",
|
2021-10-20 09:39:13 -05:00
|
|
|
"@types/react-dom": "17.0.10",
|
2020-11-29 11:10:51 -06:00
|
|
|
"@types/react-grid-layout": "1.1.1",
|
2021-05-05 02:12:06 -05:00
|
|
|
"@types/react-highlight-words": "^0.16.2",
|
2021-05-17 07:18:54 -05:00
|
|
|
"@types/react-loadable": "5.5.2",
|
2021-10-27 08:21:07 -05:00
|
|
|
"@types/react-redux": "7.1.20",
|
Routing NG: Replace Angular routing with react-router (#31463)
* Add router packages
* Get react app root work instead of Angular one
* Logger util
* Patch Angular routing ($routeProvider, $routeParamsProvider)
* Use react-router-dom history instead of separate dependency
* Add test routes
* Sidemenu - use Link instead of anchors
* Patch Angular $location service (stub)
* WIP: geting rid of $location provider from TimeSrv
* Intercept anchor clicks to use history under the hood
* Sync Redux location slice with history state
* Make login/logout work
* Debug routes for testing
* Make force login work
* Make sure query param change does not recreate page components
* Hide side menu in specified locations
* Make the dashboar route query parameters work, make panel edit menu work
* Enable more routes
* Fix side menu
* Handle view modes
* Disable playlist routes
* Make SafeDynamicImport work again
* Bring back router-debug
* Separate redux location sync from route rendering
* Refactor updateLocation to thunk and move force refresh(login) to it
* Fixing init dashboard issue
* Support switching between dashboards without an unmount of DashboardPage
* More fixes for init dashboard and panel edit
* More type fixes
* Moving angular location wrapper out of main LocationService, and fixing typescript issues
* Fixed last typescript errors
* LocationService: Move to runtime and remove getLocationService and export singleston const instead (#31523)
* Moving location service implementation to runtime and removing get function and making it a package const singleton
* Added test that used locationService directly
* removed unused import
* AngularApp: Moving angular dependencies and the app boot out of the main app into it's own file (#31525)
* Fixes angular panels by calling the monkey patch
* Moving angular stuff to to it's own files
* udpated
* Fixing clicking on divs and spans inside anchor
* Moving app notifications out of angular app and removing angular directive wrapper
* Moving search from angular to react and removing angular search wrapper
* Clean up, tried to remove the redux location wrapper but requires a big update for DashboardPage, so adding it back
* Moving AppWrapper to root to limit circular dependencies (app/core -> app/routing and back)
* Open and close search now works
* Hide sidemenu when in kiosk mode
* Restoring some keybindings like ESC key
* Removed kiosk events and simplified it, just handled through updating URL
* Fixing typescript errors
* Simplified GrafanaRouteComponentProps and renamed to ContainerProps
* renamed back
* Changed AlertRuleList to use GrafanaRouteComponentProps and location.search passed to it
* Removing the reloadOnSearch property, this is not needed now for react as react by default does not unmount components when only url match or query parmas change
* SafeDynamicImport causing unmount un every search update, not sure how to fix yet
* Fix signature for SafeDynamicImport so we do not create new route components on every route render
* Removing the redux location wrapper as it was causing errors, and making dashboard page work with RouteProps (location, match) etc
* Updating DashboardPage and SoloPanelPage to use match params and history location
* Fixed DashboardPage tests
* Fixing solo route tests
* LocationService: Rename getCurrentLocation to just getLocation
* do not intercept link clicks with target blank or self
* Experimental useUrlParams hook
* Update DataSourceSettingsPage to use router match params
* fix links with urls that have no starting / to work like before
* Fix forceLogin
* Add queryParams to GrafanaRouteComponentProps
* PanelEditor get rid of updateLocation and location state
* Improve grafana route query params typing
* Add getSearchObject to LocationService
* Use DashboardPAge queryParams instead of location.search parsing
* Fix DashboardPage typing
* Fix some tests weirdness
* Bring back KeyboardSrv
* Fixes typescript issues
* Team pages now use router match params
* Get rid of from GrafanaRouteComponent props
* Removed unnessary calls to getSearchObject when calling locationService.partial
* Updated DashboardPage tests after queryParams was added
* Fixing dashboard settings back
* GrafanaRoute: Adding tests and remove use of global locationService
* Fixing tests and typescript errors
* Bring back kiosk modes and add tests
* Fix TimeSrv tests
* Fix typecheck errors
* Fixing tests
* Updated SideMenu test to react-testing and wrapped component in Router, and fixed issue importing createMemoryHistory
* Get rid of routeChange event from TimeSrv from
* Fixed TopSectionItem test
* Trying to make basename work but failing
* Update TopSectionItem snapshot
* Fix TopSectionItem snapshot test
* Fix API keys creation
* Remove Angular dependencies from KeybindingSrv (#31617)
* Remove Angular dependency from KeybindingsSrv
* Fix tests and typecheck issues
* basename is starting to work
* Make dashboard save work
* KeybindingSrv: Remove as angular service and no usage angular scope
* So long bridge_srv, we won't miss you
* Update snapshots
* Dashboard: Refactoring ChangeTracker to use History api and no angular (#31653)
* Dashboard: Refactoring ChangeTracker to use History api and no angular
* Updated
* Removed logging
* fixed unit tests
* updated snapshots
* Mechanism for force reloading routes (#31683)
* e2e: Fixes various things in e2e scenarios after router migration (#31685)
* Explore: Update reading query params from router props and updating location via locationService (ReactRouter) (#31688)
* RoutingNG: Initial explore redux location to router location migration
* Updated explore Wrapper tests
* Fixing more tests
* remove loggin
* rename back to make naming consistent
* Fixing return to dashboard button
* fixing navigation to explore from dashboard
* updated routeProps
* Updated tests
* Make DashboardListPage work
* Fixing navigation after add new data source, and fixes explore e2e
* Fixing solo panel page
* PluginsPage now works
* RoutingNG: When parsing and rendering url search/query params preseve old logic of handling booleans and arrays (#31725)
* RoutingNG: When parsing and rendering url search/query params preserve old logic of handling booleans and arrays
* Fixed test
* Make snapshots list work
* fixed alert notification channel edit page
* Simplify LocationService, did not need special handling for login or forceLogin as target _self on link already handles that
* fixed UserAdminPage
* fixed edit orgs page
* Fixing LdapPage
* fixing dashboard import
* Fixed new folder page
* Fixed data source dashboards page
* fixing Folder permissions and folder settings page
* fixing snapshot list page nav model
* remove unused file
* Added placeholder page for playlist
* Moved browser compatability to index-template
* Restored 404/default page
* Fixed reset password page
* Fixed SignUpInvited page
* Fixing CreateTeam, Create user page, add panel widget
* Restore browwser file to make tests happy
* Fixed unit tests
* Removed unused import
* Replacing usage of updateLocation
* Fixed test
* Updating search filters to use history / location service for filters
* remove unused file
* AppRootPage fixed
* Fixing test and search issue
* Changes to support enterprise extensions
* remove console.log
* Removing more use of redux location
* Fixed signup page
* removed unused old angular controllers
* Fixing bugs
* one final bugfix
* Removed location from redux state
* Fixing ts issues and tests
* Fixing test issue
* fixing tests
* Fixing tests
* removed unused stuff
* Fixed search test
* Adding some doc comments
* Routing NG: Angular location provider patch (#31773)
* Patch Angulars $location provider
* Update public/app/angular/bridgeReactAngularRouting.ts
* Remove only test
* Update tests, disable loggers in test env
* Routing NG: remove $location provider usage (#31816)
* Remove dashboard_loaders
* Remove $location from Analytics service, track page views form GrafanaRoute
* Remove NotificationsEditCtrl
* Remove Angular dependencies from uploadDashboardDirective
* Update public/app/features/dashboard/containers/DashboardPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/dashboard/containers/DashboardPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Remove unused test helpers (#31831)
* Playlist react (#31829)
* playlist list in react
* Playlist start
* Things started to work
* Updated
* Handle empty list
* Fix ts
* Fixes and kiosk mode stuff
* Removed unused events
* fixing ts issue
* Another ts issue
* Fixing tests
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* fixed test
* Update public/app/AppWrapper.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/AppWrapper.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Remove Angular dependency from DashboardLoaderSrv (#31863)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-03-10 11:03:36 -06:00
|
|
|
"@types/react-router-dom": "^5.1.7",
|
2021-08-18 04:23:34 -05:00
|
|
|
"@types/react-test-renderer": "17.0.1",
|
2020-11-20 01:12:42 -06:00
|
|
|
"@types/react-transition-group": "4.4.0",
|
2021-05-17 07:18:54 -05:00
|
|
|
"@types/react-virtualized-auto-sizer": "1.0.0",
|
2020-03-24 11:01:54 -05:00
|
|
|
"@types/react-window": "1.8.1",
|
2020-04-09 18:53:33 -05:00
|
|
|
"@types/redux-mock-store": "1.0.2",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/reselect": "2.2.0",
|
2021-10-15 07:25:42 -05:00
|
|
|
"@types/semver": "7.3.8",
|
2021-07-23 09:33:53 -05:00
|
|
|
"@types/slate": "0.47.2",
|
2019-09-23 06:26:05 -05:00
|
|
|
"@types/slate-plain-serializer": "0.6.1",
|
|
|
|
"@types/slate-react": "0.22.5",
|
2020-11-13 07:48:11 -06:00
|
|
|
"@types/testing-library__jest-dom": "5.9.5",
|
2020-02-14 08:16:07 -06:00
|
|
|
"@types/testing-library__react-hooks": "^3.2.0",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/tinycolor2": "1.4.2",
|
2021-05-17 07:18:54 -05:00
|
|
|
"@types/uuid": "8.3.0",
|
2021-11-22 06:57:19 -06:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.4.0",
|
|
|
|
"@typescript-eslint/parser": "5.4.0",
|
2021-08-20 05:54:29 -05:00
|
|
|
"@wojtekmaj/enzyme-adapter-react-17": "0.6.2",
|
2020-09-25 09:48:41 -05:00
|
|
|
"angular-mocks": "1.6.6",
|
2021-08-31 05:55:05 -05:00
|
|
|
"autoprefixer": "10.2.6",
|
2021-09-09 09:50:50 -05:00
|
|
|
"axios": "0.21.2",
|
2020-11-29 01:32:26 -06:00
|
|
|
"babel-jest": "26.6.3",
|
2021-03-31 10:03:07 -05:00
|
|
|
"babel-loader": "8.2.2",
|
2019-04-17 05:43:00 -05:00
|
|
|
"babel-plugin-angularjs-annotate": "0.10.0",
|
2021-08-31 05:55:05 -05:00
|
|
|
"copy-webpack-plugin": "9.0.1",
|
2021-11-11 07:32:34 -06:00
|
|
|
"css-loader": "6.5.1",
|
|
|
|
"css-minimizer-webpack-plugin": "^3.1.3",
|
2021-11-19 11:19:53 -06:00
|
|
|
"cypress": "9.0.0",
|
2020-02-14 08:16:07 -06:00
|
|
|
"enzyme": "3.11.0",
|
|
|
|
"enzyme-to-json": "3.4.4",
|
2020-11-18 12:37:17 -06:00
|
|
|
"es-abstract": "1.18.0-next.1",
|
2020-03-16 07:10:42 -05:00
|
|
|
"es6-promise": "4.2.8",
|
2019-04-17 05:43:00 -05:00
|
|
|
"es6-shim": "0.35.5",
|
2021-11-04 11:54:23 -05:00
|
|
|
"eslint": "7.28.0",
|
2021-10-25 10:42:48 -05:00
|
|
|
"eslint-config-prettier": "8.3.0",
|
2021-11-02 04:20:41 -05:00
|
|
|
"eslint-plugin-jsdoc": "37.0.3",
|
2021-04-21 02:38:00 -05:00
|
|
|
"eslint-plugin-lodash": "^7.2.0",
|
2021-02-23 03:02:07 -06:00
|
|
|
"eslint-plugin-no-only-tests": "2.4.0",
|
2021-11-04 11:54:23 -05:00
|
|
|
"eslint-plugin-prettier": "4.0.0",
|
2021-02-23 03:02:07 -06:00
|
|
|
"eslint-plugin-react": "7.22.0",
|
|
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
2021-11-11 07:32:34 -06:00
|
|
|
"eslint-webpack-plugin": "3.1.0",
|
2020-02-14 08:16:07 -06:00
|
|
|
"expect.js": "0.3.1",
|
2021-11-11 07:32:34 -06:00
|
|
|
"expose-loader": "3.1.0",
|
2021-08-31 05:55:05 -05:00
|
|
|
"file-loader": "6.2.0",
|
2021-11-01 03:25:55 -05:00
|
|
|
"fork-ts-checker-webpack-plugin": "6.4.0",
|
2021-09-28 06:25:04 -05:00
|
|
|
"fs-extra": "10.0.0",
|
2019-04-17 05:43:00 -05:00
|
|
|
"gaze": "1.1.3",
|
2020-03-16 07:10:42 -05:00
|
|
|
"glob": "7.1.6",
|
2021-11-08 09:34:18 -06:00
|
|
|
"html-loader": "3.0.1",
|
2021-08-31 05:55:05 -05:00
|
|
|
"html-webpack-harddisk-plugin": "2.0.0",
|
2021-11-11 07:32:34 -06:00
|
|
|
"html-webpack-plugin": "5.5.0",
|
2021-11-03 02:57:18 -05:00
|
|
|
"http-server": "14.0.0",
|
2021-11-02 05:53:27 -05:00
|
|
|
"husky": "^7.0.0",
|
2021-10-08 09:19:10 -05:00
|
|
|
"iconscout-unicons-tarball": "https://github.com/grafana/icons/tarball/63056cd833ba7ee4e94904492b3a8c0cabc38d28",
|
2020-11-29 01:32:26 -06:00
|
|
|
"jest": "26.6.3",
|
|
|
|
"jest-canvas-mock": "2.3.0",
|
2020-06-15 06:06:37 -05:00
|
|
|
"jest-date-mock": "1.0.8",
|
2021-11-03 09:42:06 -05:00
|
|
|
"jest-junit": "13.0.0",
|
2020-11-18 08:18:55 -06:00
|
|
|
"jest-matcher-utils": "26.0.0",
|
2021-09-01 04:00:09 -05:00
|
|
|
"lerna": "^4.0.0",
|
2021-11-16 09:03:27 -06:00
|
|
|
"lint-staged": "12.0.2",
|
2021-11-11 07:32:34 -06:00
|
|
|
"mini-css-extract-plugin": "2.4.4",
|
2020-03-16 07:10:42 -05:00
|
|
|
"module-alias": "2.2.2",
|
2020-02-17 04:13:13 -06:00
|
|
|
"mutationobserver-shim": "0.3.3",
|
2021-08-31 05:55:05 -05:00
|
|
|
"ngtemplate-loader": "2.1.0",
|
2021-05-17 07:18:54 -05:00
|
|
|
"nodemon": "2.0.2",
|
2021-08-31 05:55:05 -05:00
|
|
|
"postcss": "8.3.6",
|
2021-11-11 07:32:34 -06:00
|
|
|
"postcss-loader": "6.2.0",
|
2021-08-31 05:55:05 -05:00
|
|
|
"postcss-reporter": "7.0.2",
|
2021-11-12 01:40:51 -06:00
|
|
|
"postcss-scss": "4.0.2",
|
2021-01-20 00:59:48 -06:00
|
|
|
"prettier": "2.2.1",
|
2021-04-01 09:09:56 -05:00
|
|
|
"raw-loader": "4.0.2",
|
2021-08-31 05:55:05 -05:00
|
|
|
"react-refresh": "^0.10.0",
|
2021-02-16 10:19:55 -06:00
|
|
|
"react-select-event": "^5.1.0",
|
2021-08-18 04:23:34 -05:00
|
|
|
"react-test-renderer": "17.0.1",
|
2020-04-09 18:53:33 -05:00
|
|
|
"redux-mock-store": "1.5.4",
|
2019-04-17 05:43:00 -05:00
|
|
|
"regexp-replace-loader": "1.0.1",
|
2020-03-16 07:10:42 -05:00
|
|
|
"rimraf": "3.0.1",
|
2021-08-18 23:38:31 -05:00
|
|
|
"rxjs-spy": "8.0.0",
|
2021-08-31 05:55:05 -05:00
|
|
|
"sass": "1.32.13",
|
2021-11-11 07:32:34 -06:00
|
|
|
"sass-loader": "12.3.0",
|
2021-11-12 04:28:34 -06:00
|
|
|
"sinon": "12.0.1",
|
2021-11-11 07:32:34 -06:00
|
|
|
"style-loader": "3.3.1",
|
2021-11-12 01:40:51 -06:00
|
|
|
"stylelint": "14.0.1",
|
2021-10-20 04:34:24 -05:00
|
|
|
"stylelint-config-prettier": "9.0.3",
|
2021-11-12 01:40:51 -06:00
|
|
|
"stylelint-config-sass-guidelines": "9.0.1",
|
2021-11-11 07:32:34 -06:00
|
|
|
"terser-webpack-plugin": "5.2.5",
|
2021-04-07 00:42:43 -05:00
|
|
|
"testing-library-selector": "^0.1.3",
|
2020-11-29 01:32:26 -06:00
|
|
|
"ts-jest": "26.4.4",
|
2021-11-11 07:32:34 -06:00
|
|
|
"ts-loader": "9.2.6",
|
2021-11-11 07:03:53 -06:00
|
|
|
"ts-node": "10.4.0",
|
2021-09-22 14:15:37 -05:00
|
|
|
"tslib": "2.3.1",
|
|
|
|
"typescript": "4.4.3",
|
2021-08-24 06:44:52 -05:00
|
|
|
"wait-on": "6.0.0",
|
2021-11-11 07:32:34 -06:00
|
|
|
"webpack": "5.63.0",
|
|
|
|
"webpack-bundle-analyzer": "4.5.0",
|
2019-04-17 05:43:00 -05:00
|
|
|
"webpack-cleanup-plugin": "0.5.1",
|
2021-11-11 07:32:34 -06:00
|
|
|
"webpack-cli": "4.9.1",
|
|
|
|
"webpack-dev-server": "4.4.0",
|
2021-11-09 11:05:01 -06:00
|
|
|
"webpack-merge": "5.8.0"
|
2013-07-20 16:56:59 -05:00
|
|
|
},
|
2014-05-31 00:46:39 -05:00
|
|
|
"dependencies": {
|
2021-04-01 07:15:23 -05:00
|
|
|
"@emotion/css": "11.1.3",
|
|
|
|
"@emotion/react": "11.1.5",
|
2021-03-30 05:30:34 -05:00
|
|
|
"@grafana/aws-sdk": "0.0.3",
|
2021-10-08 09:19:10 -05:00
|
|
|
"@grafana/data": "workspace:*",
|
|
|
|
"@grafana/e2e-selectors": "workspace:*",
|
|
|
|
"@grafana/runtime": "workspace:*",
|
|
|
|
"@grafana/schema": "workspace:*",
|
2021-05-05 08:22:00 -05:00
|
|
|
"@grafana/slate-react": "0.22.10-grafana",
|
2021-10-08 09:19:10 -05:00
|
|
|
"@grafana/ui": "workspace:*",
|
|
|
|
"@jaegertracing/jaeger-ui-components": "workspace:*",
|
2021-08-12 05:40:26 -05:00
|
|
|
"@opentelemetry/api": "1.0.2",
|
|
|
|
"@opentelemetry/exporter-collector": "0.23.0",
|
2021-10-14 04:02:05 -05:00
|
|
|
"@opentelemetry/semantic-conventions": "1.0.0",
|
2020-11-20 01:12:42 -06:00
|
|
|
"@popperjs/core": "2.5.4",
|
2021-11-09 07:41:38 -06:00
|
|
|
"@react-aria/focus": "3.5.0",
|
|
|
|
"@react-aria/overlays": "3.7.2",
|
2021-09-07 03:44:47 -05:00
|
|
|
"@reduxjs/toolkit": "1.6.1",
|
2021-11-23 09:59:32 -06:00
|
|
|
"@sentry/browser": "6.15.0",
|
|
|
|
"@sentry/types": "6.15.0",
|
2021-10-04 09:43:23 -05:00
|
|
|
"@sentry/utils": "6.13.2",
|
2021-07-09 10:53:07 -05:00
|
|
|
"@types/ol": "^6.5.1",
|
2021-08-19 07:49:09 -05:00
|
|
|
"@visx/event": "2.1.0",
|
|
|
|
"@visx/gradient": "2.1.0",
|
2021-10-27 08:21:07 -05:00
|
|
|
"@visx/group": "2.1.0",
|
2021-08-19 07:49:09 -05:00
|
|
|
"@visx/scale": "2.1.0",
|
|
|
|
"@visx/shape": "2.1.0",
|
|
|
|
"@visx/tooltip": "2.1.0",
|
2021-10-18 06:30:31 -05:00
|
|
|
"@welldone-software/why-did-you-render": "6.2.1",
|
2020-01-22 01:15:31 -06:00
|
|
|
"abortcontroller-polyfill": "1.4.0",
|
2020-11-03 06:18:10 -06:00
|
|
|
"angular": "1.8.2",
|
2018-06-26 03:28:37 -05:00
|
|
|
"angular-bindonce": "0.3.1",
|
2020-11-03 06:18:10 -06:00
|
|
|
"angular-route": "1.8.2",
|
|
|
|
"angular-sanitize": "1.8.2",
|
2021-10-27 08:21:07 -05:00
|
|
|
"app": "link:./public/app",
|
2019-04-17 05:43:00 -05:00
|
|
|
"baron": "3.0.3",
|
2020-03-16 07:14:57 -05:00
|
|
|
"brace": "0.11.1",
|
2019-04-09 07:25:13 -05:00
|
|
|
"calculate-size": "1.1.1",
|
2021-04-14 12:59:42 -05:00
|
|
|
"centrifuge": "2.7.5",
|
2019-04-17 05:43:00 -05:00
|
|
|
"classnames": "2.2.6",
|
|
|
|
"clipboard": "2.0.4",
|
2021-11-09 11:05:01 -06:00
|
|
|
"comlink": "4.3.1",
|
2020-04-25 15:48:20 -05:00
|
|
|
"common-tags": "^1.8.0",
|
2021-04-01 03:32:00 -05:00
|
|
|
"core-js": "3.10.0",
|
2020-01-07 04:59:11 -06:00
|
|
|
"d3": "5.15.0",
|
2021-01-19 09:34:43 -06:00
|
|
|
"d3-force": "^2.1.1",
|
2019-08-25 23:52:40 -05:00
|
|
|
"d3-scale-chromatic": "1.5.0",
|
2021-08-31 07:10:56 -05:00
|
|
|
"dangerously-set-html-content": "1.0.9",
|
2021-11-01 10:39:06 -05:00
|
|
|
"date-fns": "2.25.0",
|
2021-01-28 08:57:57 -06:00
|
|
|
"debounce-promise": "3.1.2",
|
2021-11-04 12:54:49 -05:00
|
|
|
"emotion": "11.0.0",
|
2020-03-16 07:14:57 -05:00
|
|
|
"eventemitter3": "4.0.0",
|
2021-08-17 07:03:18 -05:00
|
|
|
"fast-deep-equal": "^3.1.3",
|
2021-11-03 02:40:17 -05:00
|
|
|
"fast-json-patch": "3.1.0",
|
2019-05-09 11:42:35 -05:00
|
|
|
"fast-text-encoding": "^1.0.0",
|
2020-03-16 07:14:57 -05:00
|
|
|
"file-saver": "2.0.2",
|
2021-04-01 03:32:00 -05:00
|
|
|
"history": "4.10.1",
|
2020-10-21 02:06:41 -05:00
|
|
|
"hoist-non-react-statics": "3.3.2",
|
2021-09-07 03:44:47 -05:00
|
|
|
"immer": "9.0.6",
|
2021-11-19 06:02:59 -06:00
|
|
|
"immutable": "4.0.0",
|
2020-06-18 04:35:11 -05:00
|
|
|
"jquery": "3.5.1",
|
2021-03-25 05:51:09 -05:00
|
|
|
"json-source-map": "0.6.1",
|
2020-04-25 15:48:20 -05:00
|
|
|
"jsurl": "^0.1.5",
|
2021-08-31 06:46:13 -05:00
|
|
|
"lezer": "0.13.5",
|
|
|
|
"lezer-promql": "0.20.0",
|
|
|
|
"lezer-tree": "0.13.2",
|
2021-03-02 03:13:27 -06:00
|
|
|
"lodash": "4.17.21",
|
2021-05-11 03:38:10 -05:00
|
|
|
"logfmt": "^1.3.2",
|
2021-11-05 10:39:27 -05:00
|
|
|
"lru-cache": "6.0.0",
|
2021-11-08 08:52:05 -06:00
|
|
|
"memoize-one": "6.0.0",
|
2021-05-17 07:18:54 -05:00
|
|
|
"moment": "2.29.1",
|
|
|
|
"moment-timezone": "0.5.33",
|
2021-10-08 09:19:10 -05:00
|
|
|
"monaco-editor": "0.27.0",
|
2021-08-31 06:46:13 -05:00
|
|
|
"monaco-promql": "^1.7.2",
|
2020-03-16 07:14:57 -05:00
|
|
|
"mousetrap": "1.6.5",
|
2019-04-17 05:43:00 -05:00
|
|
|
"mousetrap-global-bind": "1.1.0",
|
2021-10-12 12:52:15 -05:00
|
|
|
"moveable": "0.26.0",
|
2021-09-10 11:05:03 -05:00
|
|
|
"ol": "6.7.0",
|
2020-09-06 23:22:54 -05:00
|
|
|
"papaparse": "5.3.0",
|
2021-04-07 00:42:43 -05:00
|
|
|
"pluralize": "^8.0.0",
|
2021-09-27 05:36:27 -05:00
|
|
|
"prismjs": "1.25.0",
|
2019-04-17 05:43:00 -05:00
|
|
|
"prop-types": "15.7.2",
|
2021-08-18 04:23:34 -05:00
|
|
|
"rc-cascader": "1.5.0",
|
2021-10-08 09:19:10 -05:00
|
|
|
"rc-drawer": "4.4.0",
|
|
|
|
"rc-slider": "9.6.4",
|
2021-10-27 08:21:07 -05:00
|
|
|
"rc-time-picker": "3.7.3",
|
Explore: Rich History (#22570)
* Explore: Refactor active buttons css
* Explore: Add query history button
* WIP: Creating drawer
* WIP: Create custom drawer (for now)
* Revert changes to Drawer.tsx
* WIP: Layout finished
* Rich History: Set up boilerplate for Settings
* WIP: Query history cards
* Refactor, split components
* Add resizability, interactivity
* Save history to local storage
* Visualise queries from queryhistory local storage
* Set up query history settings
* Refactor
* Create link, un-refactored verison
* Copyable url
* WIP: Add slider
* Commenting feature
* Slider filtration
* Add headings
* Hide Rich history behind feature toggle
* Cleaning up, refactors
* Update tests
* Implement getQueryDisplayText
* Update lockfile for new dependencies
* Update heading based on sorting
* Fix typescript strinctNullCheck errors
* Fix Forms, new forms
* Fixes based on provided feedback
* Fixes, splitting component into two
* Add tooltips, add delete history button
* Clicking on card adds queries to query rows
* Delete history, width of drawers
* UI/UX changes, updates
* Add number of queries to headings, box shadows
* Fix slider, remove feature toggle
* Fix typo in the beta announcement
* Fix how the rich history state is rendered when initialization
* Move updateFilters when activeDatasourceFilter onlyto RichHistory, remove duplicated code
* Fix typescript strictnull errors, not used variables errors
2020-03-10 09:08:15 -05:00
|
|
|
"re-resizable": "^6.2.0",
|
2020-11-18 12:37:17 -06:00
|
|
|
"react": "17.0.1",
|
2021-08-18 04:23:34 -05:00
|
|
|
"react-beautiful-dnd": "13.1.0",
|
2021-03-25 05:51:09 -05:00
|
|
|
"react-diff-viewer": "^3.1.1",
|
2020-11-18 12:37:17 -06:00
|
|
|
"react-dom": "17.0.1",
|
2021-10-27 08:21:07 -05:00
|
|
|
"react-draggable": "4.4.4",
|
2021-06-22 07:44:18 -05:00
|
|
|
"react-grid-layout": "1.2.5",
|
2021-05-05 02:12:06 -05:00
|
|
|
"react-highlight-words": "0.17.0",
|
2021-10-08 09:19:10 -05:00
|
|
|
"react-hook-form": "7.5.3",
|
|
|
|
"react-inlinesvg": "2.3.0",
|
2019-11-06 04:04:27 -06:00
|
|
|
"react-loadable": "5.5.0",
|
2021-10-27 08:21:07 -05:00
|
|
|
"react-moveable": "0.29.0",
|
2020-11-20 01:12:42 -06:00
|
|
|
"react-popper": "2.2.4",
|
2021-09-07 03:44:47 -05:00
|
|
|
"react-redux": "7.2.5",
|
2021-10-27 08:21:07 -05:00
|
|
|
"react-resizable": "3.0.4",
|
2020-10-21 02:58:23 -05:00
|
|
|
"react-reverse-portal": "^2.0.1",
|
Routing NG: Replace Angular routing with react-router (#31463)
* Add router packages
* Get react app root work instead of Angular one
* Logger util
* Patch Angular routing ($routeProvider, $routeParamsProvider)
* Use react-router-dom history instead of separate dependency
* Add test routes
* Sidemenu - use Link instead of anchors
* Patch Angular $location service (stub)
* WIP: geting rid of $location provider from TimeSrv
* Intercept anchor clicks to use history under the hood
* Sync Redux location slice with history state
* Make login/logout work
* Debug routes for testing
* Make force login work
* Make sure query param change does not recreate page components
* Hide side menu in specified locations
* Make the dashboar route query parameters work, make panel edit menu work
* Enable more routes
* Fix side menu
* Handle view modes
* Disable playlist routes
* Make SafeDynamicImport work again
* Bring back router-debug
* Separate redux location sync from route rendering
* Refactor updateLocation to thunk and move force refresh(login) to it
* Fixing init dashboard issue
* Support switching between dashboards without an unmount of DashboardPage
* More fixes for init dashboard and panel edit
* More type fixes
* Moving angular location wrapper out of main LocationService, and fixing typescript issues
* Fixed last typescript errors
* LocationService: Move to runtime and remove getLocationService and export singleston const instead (#31523)
* Moving location service implementation to runtime and removing get function and making it a package const singleton
* Added test that used locationService directly
* removed unused import
* AngularApp: Moving angular dependencies and the app boot out of the main app into it's own file (#31525)
* Fixes angular panels by calling the monkey patch
* Moving angular stuff to to it's own files
* udpated
* Fixing clicking on divs and spans inside anchor
* Moving app notifications out of angular app and removing angular directive wrapper
* Moving search from angular to react and removing angular search wrapper
* Clean up, tried to remove the redux location wrapper but requires a big update for DashboardPage, so adding it back
* Moving AppWrapper to root to limit circular dependencies (app/core -> app/routing and back)
* Open and close search now works
* Hide sidemenu when in kiosk mode
* Restoring some keybindings like ESC key
* Removed kiosk events and simplified it, just handled through updating URL
* Fixing typescript errors
* Simplified GrafanaRouteComponentProps and renamed to ContainerProps
* renamed back
* Changed AlertRuleList to use GrafanaRouteComponentProps and location.search passed to it
* Removing the reloadOnSearch property, this is not needed now for react as react by default does not unmount components when only url match or query parmas change
* SafeDynamicImport causing unmount un every search update, not sure how to fix yet
* Fix signature for SafeDynamicImport so we do not create new route components on every route render
* Removing the redux location wrapper as it was causing errors, and making dashboard page work with RouteProps (location, match) etc
* Updating DashboardPage and SoloPanelPage to use match params and history location
* Fixed DashboardPage tests
* Fixing solo route tests
* LocationService: Rename getCurrentLocation to just getLocation
* do not intercept link clicks with target blank or self
* Experimental useUrlParams hook
* Update DataSourceSettingsPage to use router match params
* fix links with urls that have no starting / to work like before
* Fix forceLogin
* Add queryParams to GrafanaRouteComponentProps
* PanelEditor get rid of updateLocation and location state
* Improve grafana route query params typing
* Add getSearchObject to LocationService
* Use DashboardPAge queryParams instead of location.search parsing
* Fix DashboardPage typing
* Fix some tests weirdness
* Bring back KeyboardSrv
* Fixes typescript issues
* Team pages now use router match params
* Get rid of from GrafanaRouteComponent props
* Removed unnessary calls to getSearchObject when calling locationService.partial
* Updated DashboardPage tests after queryParams was added
* Fixing dashboard settings back
* GrafanaRoute: Adding tests and remove use of global locationService
* Fixing tests and typescript errors
* Bring back kiosk modes and add tests
* Fix TimeSrv tests
* Fix typecheck errors
* Fixing tests
* Updated SideMenu test to react-testing and wrapped component in Router, and fixed issue importing createMemoryHistory
* Get rid of routeChange event from TimeSrv from
* Fixed TopSectionItem test
* Trying to make basename work but failing
* Update TopSectionItem snapshot
* Fix TopSectionItem snapshot test
* Fix API keys creation
* Remove Angular dependencies from KeybindingSrv (#31617)
* Remove Angular dependency from KeybindingsSrv
* Fix tests and typecheck issues
* basename is starting to work
* Make dashboard save work
* KeybindingSrv: Remove as angular service and no usage angular scope
* So long bridge_srv, we won't miss you
* Update snapshots
* Dashboard: Refactoring ChangeTracker to use History api and no angular (#31653)
* Dashboard: Refactoring ChangeTracker to use History api and no angular
* Updated
* Removed logging
* fixed unit tests
* updated snapshots
* Mechanism for force reloading routes (#31683)
* e2e: Fixes various things in e2e scenarios after router migration (#31685)
* Explore: Update reading query params from router props and updating location via locationService (ReactRouter) (#31688)
* RoutingNG: Initial explore redux location to router location migration
* Updated explore Wrapper tests
* Fixing more tests
* remove loggin
* rename back to make naming consistent
* Fixing return to dashboard button
* fixing navigation to explore from dashboard
* updated routeProps
* Updated tests
* Make DashboardListPage work
* Fixing navigation after add new data source, and fixes explore e2e
* Fixing solo panel page
* PluginsPage now works
* RoutingNG: When parsing and rendering url search/query params preseve old logic of handling booleans and arrays (#31725)
* RoutingNG: When parsing and rendering url search/query params preserve old logic of handling booleans and arrays
* Fixed test
* Make snapshots list work
* fixed alert notification channel edit page
* Simplify LocationService, did not need special handling for login or forceLogin as target _self on link already handles that
* fixed UserAdminPage
* fixed edit orgs page
* Fixing LdapPage
* fixing dashboard import
* Fixed new folder page
* Fixed data source dashboards page
* fixing Folder permissions and folder settings page
* fixing snapshot list page nav model
* remove unused file
* Added placeholder page for playlist
* Moved browser compatability to index-template
* Restored 404/default page
* Fixed reset password page
* Fixed SignUpInvited page
* Fixing CreateTeam, Create user page, add panel widget
* Restore browwser file to make tests happy
* Fixed unit tests
* Removed unused import
* Replacing usage of updateLocation
* Fixed test
* Updating search filters to use history / location service for filters
* remove unused file
* AppRootPage fixed
* Fixing test and search issue
* Changes to support enterprise extensions
* remove console.log
* Removing more use of redux location
* Fixed signup page
* removed unused old angular controllers
* Fixing bugs
* one final bugfix
* Removed location from redux state
* Fixing ts issues and tests
* Fixing test issue
* fixing tests
* Fixing tests
* removed unused stuff
* Fixed search test
* Adding some doc comments
* Routing NG: Angular location provider patch (#31773)
* Patch Angulars $location provider
* Update public/app/angular/bridgeReactAngularRouting.ts
* Remove only test
* Update tests, disable loggers in test env
* Routing NG: remove $location provider usage (#31816)
* Remove dashboard_loaders
* Remove $location from Analytics service, track page views form GrafanaRoute
* Remove NotificationsEditCtrl
* Remove Angular dependencies from uploadDashboardDirective
* Update public/app/features/dashboard/containers/DashboardPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/dashboard/containers/DashboardPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Remove unused test helpers (#31831)
* Playlist react (#31829)
* playlist list in react
* Playlist start
* Things started to work
* Updated
* Handle empty list
* Fix ts
* Fixes and kiosk mode stuff
* Removed unused events
* fixing ts issue
* Another ts issue
* Fixing tests
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* fixed test
* Update public/app/AppWrapper.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/AppWrapper.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Remove Angular dependency from DashboardLoaderSrv (#31863)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-03-10 11:03:36 -06:00
|
|
|
"react-router-dom": "^5.2.0",
|
2021-11-23 06:11:26 -06:00
|
|
|
"react-select": "5.2.1",
|
2020-02-08 05:01:10 -06:00
|
|
|
"react-split-pane": "0.1.89",
|
2020-11-20 01:12:42 -06:00
|
|
|
"react-transition-group": "4.4.1",
|
2021-08-05 07:32:51 -05:00
|
|
|
"react-use": "17.2.4",
|
2020-01-16 04:11:33 -06:00
|
|
|
"react-virtualized-auto-sizer": "1.0.2",
|
2020-03-24 11:01:54 -05:00
|
|
|
"react-window": "1.8.5",
|
2021-09-07 03:44:47 -05:00
|
|
|
"redux": "4.1.1",
|
2019-04-17 05:43:00 -05:00
|
|
|
"redux-thunk": "2.3.0",
|
2020-01-30 03:54:11 -06:00
|
|
|
"regenerator-runtime": "0.13.3",
|
2019-04-17 05:43:00 -05:00
|
|
|
"reselect": "4.0.0",
|
2021-10-08 09:19:10 -05:00
|
|
|
"rst2html": "github:thoward/rst2html#990cb89f2a300cdd9151790be377c4c0840df809",
|
2021-08-18 23:38:31 -05:00
|
|
|
"rxjs": "7.3.0",
|
2021-10-27 08:21:07 -05:00
|
|
|
"sass": "link:./public/sass",
|
2020-03-16 07:14:57 -05:00
|
|
|
"search-query-parser": "1.5.4",
|
2021-10-12 12:52:15 -05:00
|
|
|
"selecto": "1.13.0",
|
2021-05-11 03:44:00 -05:00
|
|
|
"semver": "^7.1.3",
|
2019-09-23 06:26:05 -05:00
|
|
|
"slate": "0.47.8",
|
|
|
|
"slate-plain-serializer": "0.7.10",
|
2021-11-12 10:13:55 -06:00
|
|
|
"symbol-observable": "4.0.0",
|
2021-10-27 08:21:07 -05:00
|
|
|
"test": "link:./public/test",
|
2021-03-12 04:28:54 -06:00
|
|
|
"tether-drop": "https://github.com/torkelo/drop",
|
2019-04-17 05:43:00 -05:00
|
|
|
"tinycolor2": "1.4.1",
|
2021-11-14 15:46:15 -06:00
|
|
|
"uplot": "1.6.17",
|
2020-08-25 01:58:21 -05:00
|
|
|
"uuid": "8.3.0",
|
2021-10-27 08:21:07 -05:00
|
|
|
"vendor": "link:./public/vendor",
|
2020-11-09 08:31:03 -06:00
|
|
|
"visjs-network": "4.25.0",
|
|
|
|
"whatwg-fetch": "3.1.0"
|
2018-05-11 07:10:54 -05:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2021-10-08 09:19:10 -05:00
|
|
|
"underscore": "1.12.1",
|
|
|
|
"@types/slate": "0.47.2",
|
2021-10-18 02:16:36 -05:00
|
|
|
"@microsoft/api-extractor-model": "7.13.13",
|
|
|
|
"@rushstack/node-core-library": "3.42.3",
|
|
|
|
"@rushstack/rig-package": "0.3.3",
|
2021-10-27 08:21:07 -05:00
|
|
|
"@rushstack/ts-command-line": "4.10.2",
|
|
|
|
"@storybook/react/webpack": "5.58.1"
|
2018-12-20 02:25:04 -06:00
|
|
|
},
|
2018-12-25 02:59:23 -06:00
|
|
|
"workspaces": {
|
2018-12-25 01:55:44 -06:00
|
|
|
"packages": [
|
2020-04-07 02:04:24 -05:00
|
|
|
"packages/*",
|
|
|
|
"plugins-bundled/internal/*"
|
2018-12-25 01:55:44 -06:00
|
|
|
]
|
2019-05-08 09:50:21 -05:00
|
|
|
},
|
2019-07-05 03:46:25 -05:00
|
|
|
"engines": {
|
2021-11-10 08:23:10 -06:00
|
|
|
"node": ">= 16"
|
2020-03-17 16:08:32 -05:00
|
|
|
},
|
2021-10-27 08:21:07 -05:00
|
|
|
"packageManager": "yarn@3.1.0"
|
2018-05-29 06:23:07 -05:00
|
|
|
}
|