Commit Graph

21978 Commits

Author SHA1 Message Date
Kyle Brandt
a12669951b Prometheus: Add BE support for Adhoc Filters (#85969)
---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-04-16 16:56:50 +03:00
Victor Marin
b9285e320a Fix new dashboard save name validation (#86290) 2024-04-16 15:46:25 +03:00
Piotr Jamróz
ccd660d559 Explore: Skip flaky test (#86289)
Skip flakey test
2024-04-16 12:42:22 +00:00
Ezequiel Victorero
7c7cdf7c3d Docs: Update broken links to grafana play (#86233)
* Docs: Update broken links to grafana play

* Update docs/sources/datasources/graphite/template-variables/index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Update docs/sources/datasources/influxdb/template-variables/index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-04-16 09:32:52 -03:00
kay delaney
3795f0d5a9 Dashboards: Fix issue when importing external dashboard with datasource variables (#86273) 2024-04-16 13:29:27 +01:00
Tom Ratcliffe
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
Tom Ratcliffe
488c5b8396 Use PropsWithChildren and allow router configuration in test utils render 2024-04-16 12:23:50 +01:00
Tom Ratcliffe
045ec86984 Add typing for react-inlinesvg mock now its included in tsconfig 2024-04-16 12:23:50 +01:00
Tom Ratcliffe
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
Tom Ratcliffe
c0cb36c9d6 Add initial test-utils file with render helper, wrapping in (most) required providers 2024-04-16 12:23:50 +01:00
Josh Hunt
f90e3b2ebc I18N: Warn if t() called before init (#86222)
* I18N: Warn if t() called before init

* don't log in tests

* fix double assignemnt!
2024-04-16 12:47:24 +02:00
Gábor Farkas
2379498228 mysql additional decoupling steps (#86168)
* mysql additional decoupling steps

* updated snapshot test
2024-04-16 11:50:41 +02:00
Josh Hunt
b5337ba419 I18N: Fix untranslated descriptions in data source picker (#86216)
I18n: Remove t() call from root module scope
2024-04-16 10:28:24 +01:00
Josh Hunt
f110c05797 I18N: Split loadTranslations i18next plugin into seperate file (#86217) 2024-04-16 09:53:23 +01:00
Alexa V
40f1b2c92c Dashboard: Migration - Add public dashboard tag in the nav bar (#86204)
Migrate public dashboard badge to scenes dashboard
2024-04-16 10:04:25 +02:00
Torkel Ödegaard
e15beab362 DashboardScene: Fixes saving dashboard with angular panels (#86098)
* DashboardScene: Fixes saving angularOptions

* Update

* Update
2024-04-16 03:13:42 +02:00
Torkel Ödegaard
869814ea3e DashboardScene: Fix empty row repeat issue (#86095) 2024-04-16 03:10:24 +02:00
Brendan O'Handley
f85470d652 Prometheus: Use the frontend package in Prometheus and remove feature toggle (#86080)
* add history links for monaco completion provider folder

* add history links for monaco query field folder

* add history links for components folder

* add history links for configuration folder

* add history links for dashboard json folder

* add history links for gcopypaste folder

* add history link for variableMigration

* add history link for querybuilder/components/metrics-modal folder

* add history link for querybuilder/components/promqail folder

* add history links for querybuilder/components folder

* add history links for querybuilder/hooks folder

* add history links for querybuilder/shared folder

* add history links for querybuilder folder

* add history links for querycache folder

* add history links for src folder

* use frontend package and custom auth in module.ts

* remove files and fix import issues

* remove usePrometheusFrontendPackage

* remove extra files

* update betterer

* remove extra files after rebase

* fix betterer for rebase

* fix e2e flakiness
2024-04-15 16:45:23 -05:00
Laura Fernández
726cd4a8a6 Chore: Fix link in UsersTable (#86152) 2024-04-15 16:56:28 +02:00
Laura Fernández
afbd28e160 Chore: RolePickerMenu and RolePickerSubmenu - Replace HorizontalGroup with Stack (#86145) 2024-04-15 16:12:47 +02:00
Laura Fernández
499ad35a50 Chore: ActionRow - Replace HorizontalGroup with Stack (#86143) 2024-04-15 15:57:15 +02:00
Kristina
0034e9f044 Explore: Change service in hook, un-skip test (#85894)
Use different service, un-skip test
2024-04-15 08:11:21 -05:00
Kristina
ad3abfc695 Explore: Query history does not save filtered queries (#85825)
* Bring in datasource filterQuery in, to not save filtered queries to history

* Add test
2024-04-15 08:07:02 -05:00
Victor Marin
6fb13842a5 Fix Canvas crashing in scenes dashboard (#86117) 2024-04-15 15:13:07 +03:00
renovate[bot]
6541be39d1 Update dependency @types/react to v18.2.78 2024-04-15 10:45:52 +00:00
Bogdan Matei
d379e319d6 Implement API server client in Scopes (#85266) 2024-04-15 13:43:42 +03:00
renovate[bot]
fc6cad797d Update dependency @testing-library/react to v15.0.2 2024-04-15 09:42:14 +00:00
Laura Fernández
2b62167842 Grafana UI: LoginPage - Replace HorizontalGroup with Stack (#86068) 2024-04-15 10:52:28 +02:00
Torkel Ödegaard
814ffdbc2b DashboardScene: Fixes issue moving between dashboards (#86093) 2024-04-15 09:18:02 +02:00
Joao Silva
10c6ab5a17 Chore: Replace HorizontalGroup with Stack in SelectOrgPage and ChangePasswordForm (#86061) 2024-04-12 16:32:57 +01:00
Tobias Skarhed
f1f02207f2 Alerting: Improve heading accessibility (#85723)
* Change from h5 to Text component

* Fix goworksum error

* Add headings for contact points and notification policies

* Alert group h2

* Reset labels and move h2 to group by

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-04-12 16:19:47 +02:00
github-actions[bot]
b295f09af6 I18n: Download translations from Crowdin (#86050)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-12 15:17:33 +02:00
renovate[bot]
c1b8ee8453 Update dependency typescript to v5.4.5 2024-04-12 15:06:30 +02:00
renovate[bot]
a5cd88c67e Update dependency typescript to v5.4.3 (#84470)
* Update dependency typescript to v5.4.3

* refactor: solve TS errors

* refactor: update yarn.lock

* refactor: return type

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Laura Benz <laura.benz@grafana.com>
2024-04-12 14:46:47 +02:00
Josh Hunt
3b4983695e E2C: Remove mock api (#86043) 2024-04-12 13:26:13 +01:00
Ashley Harrison
b3401c802c EmptyState: make "message" a required prop (#86029)
* make "message" a required prop on EmptyState

* run i18n:extract
2024-04-12 13:13:28 +01:00
Leon Sorokin
2bedbcf344 TimeSeries: Fix series rendering with data links and extra fields (#86007) 2024-04-12 14:11:22 +02:00
renovate[bot]
c2a81f3020 Update react monorepo 2024-04-12 11:58:02 +00:00
Andre Pereira
1a62d94c55 Tempo: Return raw result from traceql query (#86032)
Return raw result from traceql query
2024-04-12 12:26:27 +01:00
github-actions[bot]
5ea7a1eefd I18n: Download translations from Crowdin (#86030)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-12 10:38:51 +00:00
renovate[bot]
63d63ea9fb Update dependency @testing-library/react to v15.0.1 2024-04-12 10:27:38 +00:00
Krishna Dhakal
068bcfbdb0 Frontend Testing: Replace deprecated toBeCalledWith Jest matcher. (#85929) 2024-04-12 11:26:01 +01:00
Ashley Harrison
40c148ba48 EmptyState: Provide custom messages for existing empty states (#86021)
provide custom messages for existing empty states
2024-04-12 11:08:14 +02:00
Tom Ratcliffe
ce5fc59d54 Use ActiveTab type for custom hook 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
ccaf850c09 Refactor to useTabQueryParam 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
d91e1a4e3a Refactor tab query param logic and add tests 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
800a2e0228 Fix tests being stateful due to locationService 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
94ad66998f Send tab query param through when returning from template save 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
933cc3f075 Tweak ContactPoints to use query param for tab selection 2024-04-12 09:13:29 +01:00
Adela Almasan
eb86fd867f Canvas: Update new element type with rotation (#85690) 2024-04-11 15:36:33 -05:00