2b8c74de2e
i18n: removes useTranslate hook ( #106556 )
...
* i18n: removes useTranslate hook
* chore: fix duplicate imports
* chore: fix import sorting and hook dependencies
2025-06-12 11:03:52 +02:00
119d5897ea
i18n: imports use @grafana/i18n ( #105177 )
...
* i18n: everything should target @grafana/i18n
* wip
* chore: updates after PR feedback
* Trigger build
* Trigger build
* Trigger build
* chore: skip flaky tests
* chore: skip flaky tests
* chore: skip flaky tests
* chore: skip flaky tests
* chore: skip flaky tests
* chore: skip flaky tests
* chore: revert all flaky tests
* chore: some incorrect usages of useTranslate
2025-05-15 09:17:14 +02:00
0fbb51ab08
Internationalisation: More automatic markup ( #103260 )
...
* easy markup
* final tweaks, betterer + translations
* fix unit test
2025-04-03 09:26:24 +01:00
47f8717149
React: Use new JSX transform ( #88802 )
...
* update eslint, tsconfig + esbuild to handle new jsx transform
* remove thing that breaks the new jsx transform
* remove react imports
* adjust grafana-icons build
* is this the correct syntax?
* try this
* well this was much easier than expected...
* change grafana-plugin-configs webpack config
* fixes
* fix lockfile
* fix 2 more violations
* use path.resolve instead of require.resolve
* remove react import
* fix react imports
* more fixes
* remove React import
* remove import React from docs
* remove another react import
2024-06-25 12:43:47 +01:00
0f98bd3b7b
Chore: Rewrite dashboard component css using object styles ( #86930 )
2024-04-25 20:18:02 +01:00
8872a004e2
Chore: Improve typing for onPanelConfigChange ( #80710 )
2024-01-17 11:13:14 +00:00
9e11779921
Chore: Clean up usage of deprecated stylesFactory function ( #78419 )
2023-11-21 14:01:53 +00:00
36d7cc9384
Dashboards: Show repeated row with Dashboard ds warning ( #73787 )
2023-08-28 10:00:11 -03:00
d710507bc5
Chore: Avoid explicit React.FC<Props>
when possible ( #64722 )
2023-03-14 16:38:21 +02: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
220b964de5
Chore: Fix more TypeScript errors ( #36918 )
...
* TypeScript: Fix some strict typescript errors
* Fix more strict typescript errors
* Few more fixes
* Better string conversion
* update check script to 195
2021-07-20 09:57:03 +01: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
10badea19e
Emotion: Upgrades emotion from 10 to 11 and updates all import paths ( #32541 )
...
* Babel: Updates babel dependencies to latest version
* Emotion: Upgrade form 10 to 11
* Fixing tests
* Updated to use emotion/css instead in test
2021-04-01 14:15:23 +02:00
00a9af00fc
Templating: removes old Angular variable system and featureToggle ( #24779 )
...
* Chore: initial commit
* Tests: fixes MetricsQueryEditor.test.tsx
* Tests: fixes cloudwatch/specs/datasource.test.ts
* Tests: fixes stackdriver/specs/datasource.test.ts
* Tests: remove refrences to CustomVariable
* Refactor: moves DefaultVariableQueryEditor
* Refactor: moves utils
* Refactor: moves types
* Refactor: removes variableSrv
* Refactor: removes feature toggle newVariables
* Refactor: removes valueSelectDropDown
* Chore: removes GeneralTabCtrl
* Chore: migrates RowOptions
* Refactor: adds RowOptionsButton
* Refactor: makes the interface more explicit
* Refactor: small changes
* Refactor: changed type as it can be any variable type
* Tests: fixes broken test
* Refactor: changes after PR comments
* Refactor: adds loading state and call to onChange in componentDidMount
2020-06-04 13:44:48 +02:00