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
c7cd06d5f5
i18n: exports TFunction from @grafana/i18n package ( #105921 )
2025-05-23 10:34:35 +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
b052b28a88
Internationalisation: Enable i18n eslint rules ( #104277 )
...
* enable i18n rules by default
* commit translation changes
2025-04-22 13:56:25 +01:00
dc5badd9b2
Internationalisation: More automatic markup ( #102792 )
...
* more automatic i18n markup
* better labels
* little bit of tidy up
* fix unit tests
2025-03-27 10:12:25 +00: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
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
5dd8353ab1
Dashboards: Migrate from aria-label e2e selectors to data-testid ( #78536 )
...
* Dashboards: Migrate from aria-label e2e selectors to data-testid
* more changes
* addPanelwidget
* Test: Update .betterer.results
* refactor: fix e2e tests
* refactor: fix failing test
* refactor: update plugin-e2e after adding selector changes to the packege
---------
Co-authored-by: Laura Benz <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: Laura Benz <laura.benz@grafana.com>
2024-04-24 15:16:19 +02:00
1b376546e2
Dashboards: Fix issue with changing panel JSON from edit view ( #85717 )
2024-04-08 12:49:38 +01:00
fc4b0faacd
Explore: Hide support button ( #78710 )
...
Only show support button if there is a dashboard
2023-11-28 07:30:58 -06:00
0b03344baa
Chore: Update to typescript 5 ( #76511 )
...
* Update dependency typescript to v5
* Update yarn.lock
* Fix typescript errors
* Update typescript version sdk
* Revert useDescription.ts
* Fix ts errors
* Fix Typescript errors after Symbol.unscopables type change
* Fix colormanipulator errors
* Update packages/grafana-data/src/vector/FunctionalVector.ts
* Fix ts errors in dashboardmigrator
* Fix sandbox component typescript error
* Update yarn
* Update to typescript 5.2
* Fix typescript error
* update typescript/vscode patch/sdk/whatever
* fix ts errors in elasticsearch
* Fix two errors in alerting
* Fix error in dashboard-scene
* Fix errors in dashboard tests
* Fix errors in explore tests
* Fix error in plugins sandbox
* fix error in DashboardQueryRunner
* fix errors in grafana-data
* fix errors in PanelChrome story
* update betterer
* better fix for cloud monitoring
* fix error in reducer tester
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-11-07 13:20:20 +00:00
5e9f252962
DashboardScene: Inspect / Json tab ( #74701 )
...
* DashboardScene: Inspect / Json tab
* Fixing behaviors and writing tests
* Progress
* limit options based on data provider
* Fixes
* Add tracking
* Remove unused function
* Remove unused function
* Fix test
* Update
* Move utils function
* Rename to source
2023-09-14 12:17:04 +02:00
963fffeef1
Chore: fix some more types ( #72726 )
...
fix some more types
2023-08-14 16:04:04 +01:00
507c6e7d97
Templating: Replace __data , __field and __cell_n with macros ( #65324 )
...
* Templating: __data __field and __series macros
* filter out datacontext from json serialization
* Fix condition
* Update
* Added test cases for formatting data, and field macros
2023-04-05 11:10:33 +02:00
a3e341f24b
Inspect: Refactor InspectJSONTab to FC ( #61106 )
2023-01-06 18:14:20 -05:00
6edce00b1a
Inspect: Handle JSON tab crash when the provided object is too big to stringify. ( #55939 )
...
* fix(inspector): handle json tab crash when too much data
* message update when JSON stringify fails due to obj size
2022-10-12 00:52:23 -07: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
51028b1b2e
Panel Inspect JSON: Add instrumentation for "Apply" feature ( #55179 )
...
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2022-09-28 09:56:58 +02:00
0c4d181d1e
SupportSnapshots: Rename to "Get help" ( #55206 )
2022-09-16 08:51:14 -07:00
4125dd57ee
Panels: Add panel debug support helper ( #54678 )
2022-09-09 14:35:52 -07:00
7e53bd107c
Panels: Add troubleshooting snapshot ( #54417 )
2022-09-02 15:38:35 -07:00
7755f4c4ba
Inspect: show DataFrame JSON *before* transformation and field config are applied ( #53867 )
2022-08-18 15:06:33 -07:00
57273d4846
Internationalisation: Translates "Inspect panel" drawer ( #52324 )
2022-07-15 14:38:14 +01:00
3b017e0fb1
Inspect: include annotation data in DataFrameJSON debugger ( #49204 )
2022-05-18 17:31:03 -07:00
06d3c27bc1
Select: Portal menu by default ( #48176 )
...
* Remove menuShouldPortal from all <Select /> components
* fix unit tests
* leave menuShouldPortal as an escape hatch
* Fix import order
2022-05-04 15:12:59 +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
abeb08bc98
PanelInspect: show dataframe JSON in JSON view ( #47071 )
2022-03-30 19:58:49 +02:00
15ca294be0
Dashboards: show changes in save dialog ( #46557 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-03-16 09:28:09 -07:00
124c3f537f
A11y: Fix misc. fastpass issues ( #41088 )
2021-11-01 14:45:23 +00:00
8aa3845f70
Select: Make portalling the menu opt-in, but opt-in *everywhere* ( #37501 )
...
* Select: Don't portal by default
* Select: Portal all the Selects
* Fix indendentation in this comment
* Select: Remove @example docs until formatting is correct
* Docs: Add some documentation for the Select changes
* Update docs/sources/whatsnew/whats-new-in-v8-1.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/whatsnew/whats-new-in-v8-1.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update packages/grafana-ui/src/components/Select/types.ts
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update public/app/core/components/TransformersUI/prepareTimeSeries/PrepareTimeSeriesEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Docs: Variants instead of varients
* Update public/app/core/components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor.tsx
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-08-04 15:47:53 +01:00
b774dd9b1a
Dashboard: Fix changes doesn't reflect after changing panel sizes in inspect JSON and click on apply ( #35276 )
...
* Trigger DashboardPanelsChangedEvent from InspectJSONTab if the panel.gridPos changed and if the dashboard needs to re-render, if yes we will that will update the positioning
* Minor cleanup
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-06-15 14:12:32 +02:00
664b13d83e
Explore: Support full inspect drawer ( #32005 )
...
* Move InspectSubtitle to grafana/ui
* Move inspect elements to features/inspector
* Move InspectJSON and use it also in Explore
* Move and use QueryInspector
* Move all to features/inspector
* WIP Data tab implementation
* Process dataframes for explores inspector
* Clean up
* Update test
* Clean up
* Fix Explore Inspector button name
2021-03-18 17:38:09 +01:00