2013-07-20 16:56:59 -05:00
|
|
|
{
|
2019-07-23 19:17:41 -05:00
|
|
|
"author": "Grafana Labs",
|
|
|
|
"license": "Apache-2.0",
|
2018-12-20 02:25:04 -06:00
|
|
|
"private": true,
|
2014-01-19 09:13:28 -06:00
|
|
|
"name": "grafana",
|
2021-02-24 10:53:08 -06:00
|
|
|
"version": "7.5.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",
|
2020-12-01 03:32:12 -06:00
|
|
|
"build": "node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js",
|
2020-03-25 01:19:57 -05:00
|
|
|
"dev": "webpack --progress --colors --config scripts/webpack/webpack.dev.js",
|
|
|
|
"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",
|
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",
|
|
|
|
"lint:sass": "yarn run sass-lint -c public/sass/.sass-lint.yml 'public/sass/**/*.scss, packages/**/*.scss' -v -i '**/node_modules/**/*.scss'",
|
2020-11-09 08:14:04 -06:00
|
|
|
"test:ci": "mkdir -p reports/junit && export 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",
|
2020-03-25 01:19:57 -05:00
|
|
|
"prettier:check": "prettier --list-different \"**/*.{ts,tsx,scss}\"",
|
2021-01-20 00:59:48 -06:00
|
|
|
"prettier:write": "prettier --list-different \"**/*.{ts,tsx,scss,js}\" --write",
|
2020-03-25 01:19:57 -05:00
|
|
|
"start": "grafana-toolkit core:start --watchTheme",
|
|
|
|
"start:hot": "grafana-toolkit core:start --hot --watchTheme",
|
|
|
|
"start:ignoreTheme": "grafana-toolkit core:start --hot",
|
|
|
|
"start:noTsCheck": "grafana-toolkit core:start --noTsCheck",
|
|
|
|
"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",
|
2020-03-25 01:19:57 -05:00
|
|
|
"themes:generate": "ts-node --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",
|
2020-12-08 05:56:37 -06:00
|
|
|
"ci:test-frontend": "yarn run prettier:check && yarn run typecheck && yarn run lint && yarn run test:ci && yarn grafana-toolkit node-version-check && ./scripts/ci-check-strict.sh"
|
2020-03-25 01:19:57 -05:00
|
|
|
},
|
2020-04-28 14:26:36 -05:00
|
|
|
"grafana": {
|
2021-03-04 04:08:52 -06:00
|
|
|
"whatsNewUrl": "https://grafana.com/docs/grafana/latest/guides/whats-new-in-v7-5/",
|
2020-11-24 03:24:18 -06:00
|
|
|
"releaseNotesUrl": "https://grafana.com/docs/grafana/latest/release-notes/"
|
2020-04-28 14:26:36 -05:00
|
|
|
},
|
2020-03-25 01:19:57 -05:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-12-01 03:32:12 -06:00
|
|
|
"pre-commit": "yarn run precommit"
|
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"
|
|
|
|
],
|
|
|
|
"*.{json,scss}": [
|
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-03-31 10:03:07 -05:00
|
|
|
"@babel/core": "7.13.14",
|
2021-04-01 03:32:00 -05:00
|
|
|
"@babel/plugin-proposal-class-properties": "7.13.0",
|
2021-03-31 10:03:07 -05:00
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.13.8",
|
2021-04-01 03:32:00 -05:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.13.8",
|
2021-03-31 10:03:07 -05:00
|
|
|
"@babel/plugin-proposal-optional-chaining": "7.13.12",
|
2021-03-31 12:09:19 -05:00
|
|
|
"@babel/plugin-proposal-private-methods": "7.13.0",
|
2021-04-01 03:32:00 -05:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
2021-03-31 12:09:19 -05:00
|
|
|
"@babel/plugin-transform-react-constant-elements": "7.13.13",
|
2021-04-07 00:42:43 -05:00
|
|
|
"@babel/plugin-transform-runtime": "^7.13.10",
|
2021-03-31 10:03:07 -05:00
|
|
|
"@babel/preset-env": "7.13.12",
|
|
|
|
"@babel/preset-react": "7.13.13",
|
|
|
|
"@babel/preset-typescript": "7.13.0",
|
2020-11-27 03:21:28 -06:00
|
|
|
"@grafana/api-documenter": "7.11.2",
|
2020-10-14 10:03:35 -05:00
|
|
|
"@grafana/api-extractor": "7.10.1",
|
2021-03-11 05:39:43 -06:00
|
|
|
"@grafana/eslint-config": "2.3.0",
|
2021-04-01 03:32:00 -05:00
|
|
|
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
|
2020-11-13 04:55:19 -06:00
|
|
|
"@testing-library/jest-dom": "5.11.5",
|
|
|
|
"@testing-library/react": "11.1.2",
|
2019-12-17 06:42:30 -06:00
|
|
|
"@testing-library/react-hooks": "^3.2.1",
|
2020-09-04 10:38:27 -05:00
|
|
|
"@testing-library/user-event": "^12.1.3",
|
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",
|
2020-01-07 04:59:11 -06:00
|
|
|
"@types/d3": "5.7.2",
|
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",
|
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",
|
2019-08-23 08:17:13 -05:00
|
|
|
"@types/is-hotkey": "0.1.1",
|
2020-11-29 01:32:26 -06:00
|
|
|
"@types/jest": "26.0.15",
|
2020-06-18 04:35:11 -05:00
|
|
|
"@types/jquery": "3.3.38",
|
2020-02-14 08:15:51 -06:00
|
|
|
"@types/lodash": "4.14.149",
|
2019-12-09 02:46:52 -06:00
|
|
|
"@types/lru-cache": "^5.1.0",
|
2020-04-27 08:28:06 -05:00
|
|
|
"@types/moment-timezone": "0.5.13",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/mousetrap": "1.6.3",
|
2020-02-14 07:53:06 -06:00
|
|
|
"@types/node": "13.7.0",
|
2020-09-06 23:22:54 -05:00
|
|
|
"@types/papaparse": "5.2.0",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/prismjs": "1.16.0",
|
2020-11-18 12:37:17 -06:00
|
|
|
"@types/react": "16.9.9",
|
2020-05-07 12:53:58 -05:00
|
|
|
"@types/react-beautiful-dnd": "12.1.2",
|
2020-11-18 12:37:17 -06:00
|
|
|
"@types/react-dom": "16.9.9",
|
2020-11-29 11:10:51 -06:00
|
|
|
"@types/react-grid-layout": "1.1.1",
|
2020-04-09 18:53:33 -05:00
|
|
|
"@types/react-redux": "7.1.7",
|
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-04-02 04:11:46 -05:00
|
|
|
"@types/react-select": "4.0.13",
|
2020-02-14 08:16:07 -06:00
|
|
|
"@types/react-test-renderer": "16.9.2",
|
2020-11-20 01:12:42 -06:00
|
|
|
"@types/react-transition-group": "4.4.0",
|
2020-03-24 11:01:54 -05:00
|
|
|
"@types/react-window": "1.8.1",
|
2019-08-20 04:14:53 -05:00
|
|
|
"@types/redux-logger": "3.0.7",
|
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",
|
2019-09-23 06:26:05 -05:00
|
|
|
"@types/slate": "0.47.1",
|
|
|
|
"@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-02-23 03:02:07 -06:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.15.0",
|
|
|
|
"@typescript-eslint/parser": "4.15.0",
|
2020-11-18 12:37:17 -06:00
|
|
|
"@wojtekmaj/enzyme-adapter-react-17": "0.3.1",
|
2020-09-25 09:48:41 -05:00
|
|
|
"angular-mocks": "1.6.6",
|
2020-03-16 07:10:42 -05:00
|
|
|
"autoprefixer": "9.7.4",
|
2021-01-05 10:33:52 -06:00
|
|
|
"axios": "0.21.1",
|
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",
|
2020-03-16 03:57:35 -05:00
|
|
|
"clean-webpack-plugin": "3.0.0",
|
|
|
|
"css-loader": "3.4.2",
|
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-03-11 05:39:43 -06:00
|
|
|
"eslint": "7.21.0",
|
2021-01-20 00:59:48 -06:00
|
|
|
"eslint-config-prettier": "7.2.0",
|
2021-02-23 03:02:07 -06:00
|
|
|
"eslint-plugin-jsdoc": "31.6.1",
|
|
|
|
"eslint-plugin-no-only-tests": "2.4.0",
|
2021-01-20 00:59:48 -06:00
|
|
|
"eslint-plugin-prettier": "3.3.1",
|
2021-02-23 03:02:07 -06:00
|
|
|
"eslint-plugin-react": "7.22.0",
|
|
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
2020-02-14 08:16:07 -06:00
|
|
|
"expect.js": "0.3.1",
|
2019-03-12 09:26:46 -05:00
|
|
|
"expose-loader": "0.7.5",
|
2020-03-16 03:57:35 -05:00
|
|
|
"file-loader": "5.0.2",
|
2021-03-11 05:39:43 -06:00
|
|
|
"fork-ts-checker-webpack-plugin": "6.1.1",
|
2021-04-01 09:09:56 -05:00
|
|
|
"fs-extra": "9.1.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",
|
2019-03-12 09:26:46 -05:00
|
|
|
"html-loader": "0.5.5",
|
2019-04-17 05:43:00 -05:00
|
|
|
"html-webpack-harddisk-plugin": "1.0.1",
|
|
|
|
"html-webpack-plugin": "3.2.0",
|
2020-03-16 07:10:42 -05:00
|
|
|
"husky": "4.2.1",
|
2021-04-01 09:09:56 -05:00
|
|
|
"iconscout-unicons-tarball": "https://github.com/grafana/icons/tarball/14e6856f7ce5a44d3e722b40c225482663cbfd66",
|
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",
|
2020-11-18 08:18:55 -06:00
|
|
|
"jest-matcher-utils": "26.0.0",
|
2021-01-05 06:38:32 -06:00
|
|
|
"lerna": "^3.22.1",
|
2020-03-16 07:10:42 -05:00
|
|
|
"lint-staged": "10.0.7",
|
2020-03-16 03:57:35 -05:00
|
|
|
"mini-css-extract-plugin": "0.9.0",
|
2020-02-14 08:16:07 -06:00
|
|
|
"mocha": "7.0.1",
|
2020-03-16 07:10:42 -05:00
|
|
|
"module-alias": "2.2.2",
|
2020-06-29 12:58:47 -05:00
|
|
|
"monaco-editor": "0.20.0",
|
|
|
|
"monaco-editor-webpack-plugin": "1.9.0",
|
2020-02-17 04:13:13 -06:00
|
|
|
"mutationobserver-shim": "0.3.3",
|
2019-04-17 05:43:00 -05:00
|
|
|
"ngtemplate-loader": "2.0.1",
|
2021-01-21 04:20:30 -06:00
|
|
|
"optimize-css-assets-webpack-plugin": "5.0.4",
|
2020-03-16 07:10:42 -05:00
|
|
|
"postcss-browser-reporter": "0.6.0",
|
2019-04-17 05:43:00 -05:00
|
|
|
"postcss-loader": "3.0.0",
|
|
|
|
"postcss-reporter": "6.0.1",
|
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",
|
2019-04-17 05:43:00 -05:00
|
|
|
"react-hot-loader": "4.8.0",
|
2021-02-16 10:19:55 -06:00
|
|
|
"react-select-event": "^5.1.0",
|
2020-02-14 08:16:07 -06:00
|
|
|
"react-test-renderer": "16.12.0",
|
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",
|
2019-09-23 15:48:39 -05:00
|
|
|
"rxjs-spy": "^7.5.1",
|
2020-10-30 02:45:13 -05:00
|
|
|
"sass": "1.27.0",
|
2019-04-17 05:43:00 -05:00
|
|
|
"sass-lint": "1.12.1",
|
2020-03-16 03:57:35 -05:00
|
|
|
"sass-loader": "8.0.2",
|
2020-03-16 07:14:57 -05:00
|
|
|
"sinon": "8.1.1",
|
2020-03-16 03:57:35 -05:00
|
|
|
"style-loader": "1.1.3",
|
2021-01-20 06:32:24 -06:00
|
|
|
"terser-webpack-plugin": "2.3.7",
|
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",
|
2020-12-03 09:05:59 -06:00
|
|
|
"ts-node": "9.0.0",
|
2021-04-01 04:50:33 -05:00
|
|
|
"tslib": "2.1.0",
|
2020-12-03 09:05:59 -06:00
|
|
|
"typescript": "4.1.2",
|
2020-03-16 03:57:35 -05:00
|
|
|
"webpack": "4.41.5",
|
|
|
|
"webpack-bundle-analyzer": "3.6.0",
|
2019-04-17 05:43:00 -05:00
|
|
|
"webpack-cleanup-plugin": "0.5.1",
|
2020-03-16 03:57:35 -05:00
|
|
|
"webpack-cli": "3.3.10",
|
2021-01-20 06:32:24 -06:00
|
|
|
"webpack-dev-server": "3.11.1",
|
2020-03-16 03:57:35 -05:00
|
|
|
"webpack-merge": "4.2.2",
|
2019-04-17 05:43:00 -05:00
|
|
|
"zone.js": "0.7.8"
|
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/eslint-plugin": "11.2.0",
|
|
|
|
"@emotion/react": "11.1.5",
|
2021-03-30 05:30:34 -05:00
|
|
|
"@grafana/aws-sdk": "0.0.3",
|
2019-09-23 06:26:05 -05:00
|
|
|
"@grafana/slate-react": "0.22.9-grafana",
|
2021-04-01 09:09:56 -05:00
|
|
|
"@leeoniya/react-inlinesvg": "2.2.4",
|
2020-11-20 01:12:42 -06:00
|
|
|
"@popperjs/core": "2.5.4",
|
2021-01-26 03:18:42 -06:00
|
|
|
"@reduxjs/toolkit": "1.5.0",
|
2020-11-12 05:29:43 -06:00
|
|
|
"@sentry/browser": "5.25.0",
|
|
|
|
"@sentry/types": "5.24.2",
|
|
|
|
"@sentry/utils": "5.24.2",
|
2020-05-21 09:18:09 -05:00
|
|
|
"@types/antlr4": "^4.7.1",
|
2020-04-21 03:42:57 -05:00
|
|
|
"@types/braintree__sanitize-url": "4.0.0",
|
2020-04-25 15:48:20 -05:00
|
|
|
"@types/common-tags": "^1.8.0",
|
2020-10-21 02:06:41 -05:00
|
|
|
"@types/hoist-non-react-statics": "3.3.1",
|
2020-04-25 15:48:20 -05:00
|
|
|
"@types/jsurl": "^1.2.28",
|
2020-01-17 07:28:00 -06:00
|
|
|
"@types/md5": "^2.1.33",
|
2021-04-07 00:42:43 -05:00
|
|
|
"@types/pluralize": "^0.0.29",
|
2019-11-06 04:04:27 -06:00
|
|
|
"@types/react-loadable": "5.5.2",
|
2020-01-16 04:11:33 -06:00
|
|
|
"@types/react-virtualized-auto-sizer": "1.0.0",
|
2020-08-25 01:58:21 -05:00
|
|
|
"@types/uuid": "8.3.0",
|
2020-04-09 12:44:05 -05:00
|
|
|
"@welldone-software/why-did-you-render": "4.0.6",
|
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",
|
2020-05-21 09:18:09 -05:00
|
|
|
"antlr4": "^4.8.0",
|
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-01 14:47:04 -05:00
|
|
|
"centrifuge": "^2.7.3",
|
2019-04-17 05:43:00 -05:00
|
|
|
"classnames": "2.2.6",
|
|
|
|
"clipboard": "2.0.4",
|
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",
|
2020-07-17 11:00:58 -05:00
|
|
|
"dangerously-set-html-content": "1.0.6",
|
2021-01-28 08:57:57 -06:00
|
|
|
"debounce-promise": "3.1.2",
|
2020-03-16 07:14:57 -05:00
|
|
|
"eventemitter3": "4.0.0",
|
2021-03-25 05:51:09 -05:00
|
|
|
"fast-json-patch": "2.2.1",
|
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",
|
2019-04-17 05:43:00 -05:00
|
|
|
"immutable": "3.8.2",
|
2020-03-16 07:14:57 -05:00
|
|
|
"is-hotkey": "0.1.6",
|
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-03-02 03:13:27 -06:00
|
|
|
"lodash": "4.17.21",
|
2019-12-09 02:46:52 -06:00
|
|
|
"lru-cache": "^5.1.1",
|
2020-01-17 07:28:00 -06:00
|
|
|
"md5": "^2.2.1",
|
2019-08-29 06:41:45 -05:00
|
|
|
"memoize-one": "5.1.1",
|
2019-04-17 05:43:00 -05:00
|
|
|
"moment": "2.24.0",
|
2020-04-27 08:28:06 -05:00
|
|
|
"moment-timezone": "0.5.28",
|
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",
|
2020-03-16 09:04:02 -05:00
|
|
|
"nodemon": "2.0.2",
|
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-03-05 00:57:17 -06:00
|
|
|
"prismjs": "1.23.0",
|
2019-04-17 05:43:00 -05:00
|
|
|
"prop-types": "15.7.2",
|
2020-03-25 04:10:26 -05:00
|
|
|
"rc-cascader": "1.0.1",
|
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",
|
2020-11-25 03:24:00 -06:00
|
|
|
"react-beautiful-dnd": "13.0.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",
|
2020-11-29 11:10:51 -06:00
|
|
|
"react-grid-layout": "1.2.0",
|
2020-03-25 08:23:58 -05:00
|
|
|
"react-highlight-words": "0.16.0",
|
2019-11-06 04:04:27 -06:00
|
|
|
"react-loadable": "5.5.0",
|
2020-11-20 01:12:42 -06:00
|
|
|
"react-popper": "2.2.4",
|
2020-04-09 18:53:33 -05:00
|
|
|
"react-redux": "7.2.0",
|
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-04-07 00:42:43 -05:00
|
|
|
"react-select": "4.3.0",
|
2020-03-23 23:54:48 -05:00
|
|
|
"react-sizeme": "2.6.12",
|
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",
|
2020-03-24 04:50:10 -05:00
|
|
|
"react-use": "13.27.0",
|
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",
|
2020-04-09 18:53:33 -05:00
|
|
|
"redux": "4.0.5",
|
2019-04-17 05:43:00 -05:00
|
|
|
"redux-logger": "3.0.6",
|
|
|
|
"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",
|
2017-12-29 14:49:54 -06:00
|
|
|
"rst2html": "github:thoward/rst2html#990cb89",
|
2020-10-29 08:50:42 -05:00
|
|
|
"rxjs": "6.6.3",
|
2020-03-16 07:14:57 -05:00
|
|
|
"search-query-parser": "1.5.4",
|
2019-09-23 06:26:05 -05:00
|
|
|
"slate": "0.47.8",
|
|
|
|
"slate-plain-serializer": "0.7.10",
|
2020-03-16 07:14:57 -05:00
|
|
|
"tether": "1.4.7",
|
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",
|
2020-08-25 01:58:21 -05:00
|
|
|
"uuid": "8.3.0",
|
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-03-25 04:28:26 -05:00
|
|
|
"caniuse-db": "1.0.30000772"
|
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
|
|
|
],
|
|
|
|
"nohoist": [
|
|
|
|
"**/@types/*",
|
2021-04-06 07:47:17 -05:00
|
|
|
"**/@types/*/**"
|
2018-12-25 01:55:44 -06:00
|
|
|
]
|
2019-05-08 09:50:21 -05:00
|
|
|
},
|
|
|
|
"_moduleAliases": {
|
|
|
|
"puppeteer": "node_modules/puppeteer-core"
|
2019-07-05 03:46:25 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
2020-12-02 11:18:49 -06:00
|
|
|
"node": ">= 14"
|
2020-03-17 16:08:32 -05:00
|
|
|
},
|
|
|
|
"volta": {
|
2020-12-02 11:18:49 -06:00
|
|
|
"node": "14.15.1"
|
2018-12-25 01:55:44 -06:00
|
|
|
}
|
2018-05-29 06:23:07 -05:00
|
|
|
}
|