f96e4e9ad2
Frontend: Remove Angular ( #99760 )
...
* chore(angularsupport): delete feature toggle to disable angular
* feat(angular-support): remove config.angularSupportEnabled
* chore(jest): remove angular from setup file
* chore(angular): delete angular deprecation ui components
* refactor(angular): move migration featureflags into migration notice
* chore(dashboard): remove angular deprecation notices
* chore(annotations): remove angular editor loader
* feat(appwrapper): no more angular app loading
* feat(pluginscatalog): clean up angular plugin warnings and logic
* chore(angular): delete angular app and associated files
* feat(plugins): delete old angular graph plugin
* feat(plugins): delete old angular table panel
* feat(frontend): remove unused appEvent type
* feat(dashboards): clean up angular from panel options and menu
* feat(plugins): remove graph and table-old from built in plugins and delete sdk
* feat(frontend): remove angular related imports in routes and explore graph
* feat(theme): remove angular panel styles from global styles
* chore(i18n): run make i18n-extract
* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins
* chore(angulardeprecation): delete angular migration notice components and usage
* test(frontend): clean up tests that assert rendering angular deprecation notices
* chore(backend): remove autoMigrateOldPanels feature flag
* chore(config): remove angularSupportEnabled from config preventing loading angular plugins
* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles
* chore(tablepanel): delete autoMigrateTablePanel feature flag
* chore(piechart): delete autoMigratePiechartPanel feature flag
* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle
* chore(statpanel): remove autoMigrateStatPanel feature flag
* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels
* test(pluginsintegration): fix failing loader test
* test(frontend): wip: fix failures and skip erroring migration tests
* chore(codeowners): remove deleted angular related files and directories
* test(graphite): remove angular mock from test file
* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags
* test(dashbaord): skip another failing panel menu test
* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505 )
* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go
* Trigger Build
* chore(dashboards): remove angularComponent from getPanelMenu, update test
* feat(dashboards): remove all usage of AngularComponent and getAngularLoader
* chore(betterer): refresh results file
* feat(plugins): remove PluginAngularBadge component and usage
* feat(datasource_srv): remove usage of getLegacyAngularInjector
* feat(queryeditor): delete AngularQueryComponentScope type
* Chore: removes Angular from plugin_loader
* Chore: remove angular from getPlugin
* Chore: fix i18n
* Trigger Build
* Chore: remove more Angular from importPanelPlugin
* Chore: remove search options warning
* Chore: remove and deprecate Angular related
* chore(angular): remove angular dependencies from core and runtime
* chore(runtime): delete angular injector
* chore(data): delete angular scope from event bus
* chore(plugin-catalog): remove code pushing app plugins angular config page
* chore(yarn): refresh lock file
* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin
* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency
* chore(runtime): delete AngularLoader
* chore(betterer): refresh results file
* chore(betterer): fix out of sync results file
* feat(query): fix type and import errors in QueryEditorRow
* test(dashboards): delete skipped angular related tests
* Tests: add back tests and fix betterer
* Tests: fix broken test
* Trigger build
* chore(i18n): remove angular deprecation related strings
* test: clean up connections and plugins catalog tests
* chore(betterer): update results file
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2025-04-04 11:31:35 +02:00
1ca9910736
Grafana Data: Use package.json exports for internal code ( #102696 )
...
* refactor(frontend): rename all @grafana/data/src imports to @grafana/data
* feat(grafana-data): introduce internal entrypoint for sharing code only with grafana
* feat(grafana-data): add test entrypoint for data test utils usage in core
* refactor(frontend): update import paths to use grafana/data exports entrypoints
* docs(grafana-data): update comment in internal/index.ts
* refactor(frontend): prefer public namespaced exports over re-exporting via internal
* chore(frontend): fix a couple more weird paths that typescript complains about
2025-03-25 10:48:36 +01:00
5cd8547131
Revert "Grafana Data: Use package.json exports for internal code ( #102286 )
...
Revert "Grafana Data: Use package.json exports for internal code (#102036 )"
This reverts commit 91116de790c6c59248abd262721c40f169be6661.
2025-03-17 12:26:59 +00:00
91116de790
Grafana Data: Use package.json exports for internal code ( #102036 )
...
* refactor(frontend): rename all @grafana/data/src imports to @grafana/data
* feat(grafana-data): introduce internal entrypoint for sharing code only with grafana
* feat(grafana-data): add test entrypoint for data test utils usage in core
* refactor(frontend): update import paths to use grafana/data exports entrypoints
* docs(grafana-data): update comment in internal/index.ts
* refactor(frontend): prefer public namespaced exports over re-exporting via internal
2025-03-17 11:27:17 +01:00
1fc9b4bfc1
Chore: Remove dashboard state barrel file ( #97562 )
...
* refactor(dashboard-state): delete dashboard/state barrel file and update imports
* chore(betterer): update results
2024-12-06 16:01:51 +01:00
f95405d3c3
Plugins: Allow async panel migrations ( #73782 )
...
* Plugins: Allow async panel migrations
* comment
2023-08-28 10:06:55 +00:00
c3c4a57c79
grafana/data: Move getPanelOptionsWithDefaults from core ( #60813 )
...
* grafana/data: Move getPanelOptionsWithDefaults from core
* Add internal comments
2022-12-29 05:48:22 -08:00
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
d87cd6f26c
Update dependency prettier to v2.5.1 ( #43473 )
...
* Update dependency prettier to v2.5.1
* prettier fixes
* chore(toolkit): bump prettier to 2.5.1
* style(eslint): bump grafana config to 2.5.2 in core and toolkit
* style(mssql-datasource): fix no-inferrable-types eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-02-02 12:02:32 +00:00
a3d1cf03a9
Edit dashboard UI text ( #32520 )
...
* Update DashboardPermissions.tsx
* Update DashboardRow.tsx
* Update AutoRefreshIntervals.tsx
* Update JsonEditorSettings.tsx
* ui updates
* Update FolderPickerCtrl.ts
* Update LinkSettingsEdit.tsx
* Update LinkSettingsHeader.tsx
* Update LinkSettingsList.tsx
* Update actions.ts
* Update AngularPanelOptions.tsx
* Update getFieldOverrideElements.tsx
* Update OptionsPaneOptions.tsx
* Update types.ts
* Update usePanelLatestData.ts
* Update VisualizationButton.tsx
* Update RowOptionsModal.tsx
* Update SaveDashboardAsForm.tsx
* Update SaveDashboardForm.tsx
* Update SaveProvisionedDashboardForm.tsx
* Update SaveDashboardErrorProxy.tsx
* text edits
* Update ShareSnapshot.tsx
* Update PanelTypeCard.tsx
* Update TransformationsEditor.tsx
* Update panel.test.ts
* text edits
* Update DashboardSrv.ts
* Update VersionHistoryButtons.tsx
* Update DiffViewer.tsx
* Update VersionHistoryTable.tsx
* Update DashboardGrid.tsx
* Update DashboardPanel.tsx
* Update PanelPluginError.tsx
* Update DashboardMigrator.ts
2021-04-01 17:42:57 +02:00
b51e28bc15
Chore: reduces strict null errors to 824 ( #22744 )
...
* Chore: reduces strict null errors with 100+
* Chore: lowers the build error number
2020-03-12 10:22:33 +01:00
65942efb95
Panels: Add support for panels with no padding ( #20012 )
...
* Panels: Added support to set panel padding to zero
* WIP: fullChromeControl work
* Tweaks to header position
* Reverted some overlay mechanic and now back to no title only
* Fixed test
* Fixed transparent flag
* Added show title
* Added font weight to value
* Reverted back to no padding option
* Fixed issue with border and width and height
2019-11-25 13:26:18 -08:00
3f15170914
Refactor: move some files to @grafana/data ( #17952 )
...
* moving to data WIP
* more refactoring
* add missing test
* mock full path
* remove sinon from grafana-ui
2019-07-06 08:05:53 +02:00
ceb9f0855b
Chore: Replaces moment with Grafanas DateTime ( #16919 )
...
* Wip: Initial commit
* Refactor: Replaces moment.utc(
* Refactor: replaces the last isMoment statements
* Refactor: Removes almost all moment imports
* Refactor: Moves moment_wrapper to grafana/ui
* Refactor: Renames momentWrapper
* Refactor: Removes one more moment import
* Refactor: Removes unitOfTime import
* Fix: Fixes Prettier error
* Refactor: Renames DateTimeType to DateTime
* Refactor: Renames isDateTimeType to isDateTime
* Refactor: Renames dateTime to dateTime
* Feature: Bans moment imports and types
2019-05-08 13:51:44 +02:00
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
7289e6e500
Addedd assertions about raw time range when panel time overriden
2019-01-11 16:49:29 +01:00
c3fdc1a0fb
Panel time override tests
2019-01-11 16:21:44 +01:00