Commit Graph

23084 Commits

Author SHA1 Message Date
Tobias Skarhed
220215c9ca
New Select: Create custom value (#92652)
* Display custom value in option list

* Ignore create new value when there is an exact match

* Support displaying custom value

* Add i18n string

* Update failing test
2024-09-02 14:42:42 +02:00
Victor Marin
47a0efd581
DashboardScenes: Default to first variable value when editing a repeated panel (#91123)
* DashboardScenes: Default to first variable value when editing a repeated panel

* cleanup

* tests

* refactor

* refactor

* refactor

* refactor
2024-09-02 12:05:14 +03:00
renovate[bot]
cf541b8869
Update dependency tslib to v2.7.0 (#92744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 10:00:07 +01:00
Ashley Harrison
714f2d6d51
Playlist: Add default border radius to PlaylistTableRows (#92666)
add default border radius to PlaylistTableRows
2024-09-02 09:39:47 +01:00
Konrad Lalik
5942d8595d
Alerting: Fix pending period for vanilla prom rules (#92728)
* Add support for reading pending period value from prom duration property

* Add tests

* Refactor the hook

* Remove unused import
2024-09-02 10:32:47 +02:00
Isabella Siu
2d10068714
CloudWatch: Logs queries should retry on throttling errors (#92535)
CloudWatch: logs queries should retry on throttling errors
2024-08-30 13:55:00 -04:00
Tom Ratcliffe
9f5dca96f2
Alerting: Don't redirect after failed contact point creation (#92761) 2024-08-30 16:04:46 +01:00
Victor Marin
962fcf1fa8
DashboardScenes: Row repeater panels cannot be dragged outside and adding new panels to a cloned row updates all rows (#91062)
* Disallow dragging panels in repeated rows + dropping panels into cloned rows will update all repeated rows

* test
2024-08-30 09:50:22 -04:00
Tom Ratcliffe
172662af58
Alerting: Stop rule state view from crashing when prom rule state is missing (#91483) 2024-08-30 14:47:28 +01:00
Victor Marin
a0c1fc20ec
DashboardScene: Update view panel scene variables properly after row repeat is performed (#92698)
* update view panel scene variables properly after row repeat is performed

* refactor

* Fix case where view mode from panel menu would not work

Co-authored-by: ivanortegaalba <ivan.ortega@grafana.com>

* add context

---------

Co-authored-by: ivanortegaalba <ivan.ortega@grafana.com>
2024-08-30 16:36:22 +03:00
Torkel Ödegaard
31c9084a3a
DashboardGridItem: Fixes repeating panels issue when variable depends on time range (#92661)
* DashboardGridItem: Fixes repeating panels issue when variable depends on time range

* tests

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
2024-08-30 15:50:09 +03:00
Sergej-Vlasov
00ae49a61a
FeatureToggle - new filters UI feature toggle (#92189)
* add newFiltersUI experimental feature toggle

* adjust Ad hoc filter varibale layout property based on feature toggle

* restore file

* bump to latest scenes
2024-08-30 15:48:13 +03:00
Tom Ratcliffe
3262f0256e
A11y: Fix some accessibility issues on the build error page (#92691)
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2024-08-30 13:42:45 +01:00
Ashley Harrison
a59474cf13
Chore: Migrate _forms styles to emotion globals (#92690)
migrate _forms styles to emotion globals
2024-08-30 13:04:31 +01:00
Tom Ratcliffe
690fbe6077
Alerting: Edit, create and delete contact points via k8s API (#91701) 2024-08-30 12:10:30 +01:00
grafana-pr-automation[bot]
f4a8e0a214
I18n: Download translations from Crowdin (#92696)
* New Crowdin translations by GitHub Action

* New Crowdin translations by GitHub Action

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net>
2024-08-30 14:00:10 +03:00
Ashley Harrison
c16cc488c9
AdHocFilters: Add support for new isOneOf multi value operator (#91837)
* handle oneOf operator in prometheus

* use new supportsMultiValueOperators

* remap oneOf to regex in prometheus datasource

* Remap one of operators for scope filters

* use plugin.json property instead of feature toggle

* optional chaining

* fix unit tests

* use getInstanceSettings

* update to latest scenes

* fix unit tests

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-08-30 11:03:44 +01:00
Pepe Cano
6a29e4aecf
IAM docs: Transform API keys to Migrate API keys docs (#92380)
* IAM docs: Transform `API keys` to `Migrate API keys` docs

* Update links to `API keys` in other doc pages

* Grafana UI: update help button link

* Update OpenAPI/Swagger links

* Update docs/sources/administration/service-accounts/migrate-api-keys.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update `relref` links to the new URL

* fix space before em dash

spaces before or after em dashes are not recommended (https://developers.google.com/style/dashes)

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2024-08-30 11:37:36 +02:00
Alex Khomenko
6abf50b0c9
Routing: Update core tests (#92582)
* Update MegaMenu.test.tsx

* Update GrafanaRoute.test.tsx

* Remove unused file

* Update SignupInvited.test.tsx

* Remove usage of match

* Update betterer
2024-08-30 12:01:32 +03:00
Erik Sundell
db0cc24f2b
Plugin extensions: Introduce new registry for added links (#92343)
* add added component registry

* fix broken test

* add tests for usePluginComponents hook

* readd expose components

* add type assertion exceptions to betterer results

* use new addedComponent registry in legacy endpoints

* remove unused code

* cleanup

* revert test code

* remove commented code

* initial commit

* refactor sync method and hook

* fix tests

* subscribe to the correct registry

* remove old registry

* cleanup types

* add use usePluginLinks hook

* add more tests

* fix import order

* fix typo

* fix and temporarly skip failing tests

* wip

* add hook tests

* add more tests

* remove old hook

* fix versioning

* add version to all extension point ids

* remove cleanup

* remove unused imports

* revert touched file

* fix test

* test: remove hook creation

* catch init error

* send error to faro

* fix broken hook

* comment out call hook initialization

* use the right import ofr isString

* remove unused import

* remove registryState type

* pr feedback

* Update public/app/features/plugins/extensions/validators.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update public/app/features/plugins/extensions/validators.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* remove no longer relevant comment

* fix broken tests

* Fixed test to verify that the memotization works properly.

* simplify hooks

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-08-30 10:09:01 +02:00
Konrad Lalik
e0950a1283
Alerting: Add compatibility between prometheus and ruler identifiers (#92496)
* Unify Prom and Ruler rules hash creation

* Add tests, refarct prom hash
2024-08-30 08:39:11 +02:00
Juan Cabanas
eb8b6a5a70
ShareDrawer: Wording and defaults improvements (#92629) 2024-08-29 15:31:28 -03:00
Joao Silva
bdb1c7ee63
Bookmarks: Add empty state to page (#92693) 2024-08-29 16:58:19 +01:00
Joao Silva
6ab120a448
Bookmarks: Fix interaction tracking bug (#92653) 2024-08-29 16:52:52 +01:00
Tom Ratcliffe
6298825cf7
Alerting: Consolidate mute timings selector logic (#92372) 2024-08-29 15:09:53 +01:00
Victor Marin
454d36167e
DashboardScene: Fix issue where panels are lost from dashboard (#92118)
* fix issue where panels aren't added to rows

* refactor
2024-08-29 13:56:42 +03:00
Ashley Harrison
68ca6e9610
MetricGraphScene: Position properly when bodyScrolling is enabled (#92289)
handle positioning of MetricGraphScene when bodyScrolling is enabled
2024-08-29 11:35:59 +01:00
Jack Westbrook
ec89854c5e
Performance: Lazy load built in panel plugins (#92490)
feat(plugins): lazy load built in panel plugins
2024-08-29 11:54:31 +02:00
Laura Fernández
7e92cea000
TutorialCard: Fix link to tutorial not opening (#92599) 2024-08-29 11:22:50 +02:00
Bogdan Matei
1e1b554ff3
Scopes: Fix long texts for suggested dashboards (#92641) 2024-08-29 12:20:56 +03:00
Charandas
4f024d94d8
Authn: resolve issues with setting up a nil identity (#92620) 2024-08-29 00:49:41 +03:00
Adela Almasan
692280cd32
BarGauge: Add legend support (#92449) 2024-08-28 23:26:55 +03:00
Gilles De Mey
9d173ef579
Alerting: Fixes incorrect cache invalidation for silences when no silences exist (#92322) 2024-08-28 17:25:10 +01:00
Eric Leijonmarck
577ebb3444
LBAC for datasources: Update swagger documentation (#92594)
* LBAC for datasources: Update swagger documentation

* update swagger again
2024-08-28 17:04:57 +01:00
Hugo Kiyodi Oshiro
01b9ad3789
Plugins: Hide update all plugins in cloud (#92597) 2024-08-28 16:21:46 +02:00
Andrew Hackmann
f8af6f4eea
Graphite: Add @ to the lexer (#92546)
Add @ to the lexer
2024-08-28 09:12:23 -05:00
Andrew Hackmann
e0a0942203
Graphite: Tag values are queried with dashboard time range (#92167)
add time range to get tag values in graphite
2024-08-28 09:08:46 -05:00
Todd Treece
2bb2183b41
Scopes: Move title and groups to status in ScopeDashboardBinding (#92377)
---------

Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2024-08-28 08:59:18 -04:00
Eric Leijonmarck
6a19278f23
API Keys: Removal & Redirect of Create endpoint (#92144)
* API keys: redirecting of create endpont

* update naming and using admonition

* fmt

* Apply suggestions from code review

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2024-08-28 12:20:36 +01:00
renovate[bot]
909d0fac35
Update dependency @types/node to v20.16.2 (#92576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 12:15:38 +01:00
Mihai Doarna
2b70945fda
Auth: Display page not found when the provider is invalid (#92563)
display page not found when the provider is invalid
2024-08-28 14:06:24 +03:00
renovate[bot]
a9c2c97531
Update dependency @opentelemetry/semantic-conventions to v1.27.0 (#92566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 11:44:50 +01:00
renovate[bot]
72be3e861e
Update dependency webpack to v5.94.0 [SECURITY] (#92545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:29:33 +01:00
renovate[bot]
1552ab0eb7
Update dependency @opentelemetry/semantic-conventions to v1.26.0 (#92518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:28:46 +01:00
Hugo Kiyodi Oshiro
af976c9a0b
Plugins: Set isFullyInstalled false on plugin uninstall (#92503) 2024-08-28 09:50:48 +02:00
Adela Almasan
39fda067cf
BarGauge: Add option to hide the names (#92450) 2024-08-27 17:21:35 -05:00
Galen Kistler
867f3f793c
Logs Panel: Only send DataHoverClearEvent on container mouse leave event (#92526)
* fix: stop sending clear events between every row, and only when the mouse leaves the container
2024-08-27 22:44:17 +03:00
renovate[bot]
d5b7b4ba58
Update dependency @grafana/experimental to v1.8.0 (#92515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 17:38:09 +01:00
renovate[bot]
475fb6ac3a
Update dependency @types/lodash to v4.17.7 (#92482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 16:09:01 +01:00
grafana-pr-automation[bot]
aba4b42973
I18n: Download translations from Crowdin (#92493)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-27 17:20:36 +03:00