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
8872a004e2
Chore: Improve typing for onPanelConfigChange ( #80710 )
2024-01-17 11:13:14 +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
e402a8f27d
A11y: enable rule jsx-a11y/anchor-is-valid ( #56690 )
2022-10-21 09:13:32 +02:00
a91ecc566b
Chore: Converts DashboardRow tests to RTL ( #49722 )
2022-05-31 16:51:44 +01: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
8f78b0e7bc
Chore: Fix all Typescript strict null errors ( #26204 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Now at 218
* Progress
* Update
* Progress
* Updated tests
* at 159
* fixed tests
* Progress
* YAy blow 100! at 94
* 10,9,8,7,6,5,4,3,2,1... lift off
* Fixed tests
* Fixed more type errors
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-07-10 12:46:59 +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