670960f70c
Chore: Upgrade redux ( #86877 )
...
* update packages
* fix type errors
* upgrade redux toolkit as well
* don't need eslint-disable command
* remove comment
* fix unit tests
* call rtk query selector directly
* remove unnecessary checks
2024-05-10 14:28:51 +01:00
8f0f0387b8
Simplify providers used for test utils method
...
For now, keep the providers down to just what was already in TestProvider
2024-04-16 12:23:50 +01:00
0f88075e4c
Mark TestProvider as deprecated
...
(up for discussion, depending on adoption of test utils. Alternative approach could be to re-use TestProvider in test-utils)
2024-04-16 12:23:50 +01:00
e90b87589f
ModalsContext: Unify modals context and manager ( #84916 )
...
* ModalsContext: Unify modals context and manager
* Clear on location change
* fixes
* Update
* use generics to avoid anys
---------
Co-authored-by: joshhunt <josh@trtr.co>
2024-03-28 13:26:57 +01:00
d3450d75a4
Explore: URL migrations & improved state management ( #69692 )
...
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-06-21 10:06:28 +01:00
b8e7ef48d0
AppChrome: Unify logic for chromeless pages that should not have NavBar, CommandPalette, Search etc ( #62281 )
...
* Keybindings: No global keybindings on chromeless pages
* simplify condition
* Refactoring
* Align name and file
* Move logic into AppChrome
* minor fix
* Update Page.tsx
* Fixing test
* Fixed tests
* More fixes
* Fixed more tests
* Fixing final test
* Fixed search in old nav
2023-02-02 09:53:06 +01:00
e85917f041
Chore/React18: Update component prop types ( #56898 )
2022-10-14 10:24:32 +01:00
5361efc225
I18n: Migrate to I18next ( #55845 )
...
* Switch from lingui from i18next
* Change lingui messages to i18next messages
* Change lingui messages to i18next messages (grafana-ui)
* Init i18n for tests
2022-10-06 16:34:04 +01:00
62a3f2ed32
Chore: Align on 'internationalization' for feature name ( #52585 )
...
* rename internationalization docs
* Move localisation.tsx to internationalization/index.tsx
2022-07-21 06:31:08 -04: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
36983d8d3b
Chore: Mark up User Profile page for translation ( #43874 )
...
* Mark up User profile page for translation
* Extract new messages
* updated selectors
* update selectors
* wip TestProvider
* update tests
* fix field labels
* extract new messages
* don't store date objects in redux state
* don't store date objects in redux state
2022-01-17 16:58:49 +00:00