Commit Graph

22871 Commits

Author SHA1 Message Date
Dominik Prokop
14c4bb6f87
TemplateSrv: Add test case for SafeSerializableSceneObject (#90808)
* TemplateSrv: Add test case for SafeSerializableSceneObject

* Update dashboard data source to use scoped vars scene object valueOf
2024-08-01 09:38:15 +02:00
Josh Hunt
ff774e210c
E2C: Show snapshot error status (#91214)
* wip getError fn

* Create show errors from all API requests

* suppress error toasts from all e2c endpoints

* require error severity
2024-07-31 16:04:40 +01:00
Josh Hunt
bffcb9de89
E2C: Fix old snapshot showing when reconnecting (#91274) 2024-07-31 15:40:55 +01:00
Sergej-Vlasov
1897de68d4
DashboardGridItem: Add placeholder option when repeat panel options are empty (#91149)
* add placeholder option for repeat panel with empty options

* add tests and update to scenes canary

* adjust tests to not fail on expected console.error
2024-07-31 17:08:29 +03:00
Tom Ratcliffe
6c64d1d443
Alerting: Consume k8s Time Intervals API (#90094) 2024-07-31 16:59:15 +03:00
Sonia Aguilar
d080a91e8a
Alerting: Refactor createUrl and createAbsoluteUrl (#90667)
* Refactor url creatUrl and add tests

* update createUrl to createRelativeUrl in GrafanaRules.tsx

* Add slash if not present in createAbsoluteUrl

* Use template type forcing url parameter to start with slash instead of adding slash if not present

* address review comment
2024-07-31 15:30:35 +02:00
Tobias Skarhed
e8c30c86f0
Frontend: Support tracing with Faro (#91237)
Move code from previous PR
2024-07-31 15:13:05 +02:00
Joao Silva
85d0e17dc4
Bookmarks: Store URLs instead of ids (#91121) 2024-07-31 13:56:39 +01:00
Tom Ratcliffe
562380079f
Alerting: Chore - remove unused alerting upgradeApi (#91250) 2024-07-31 12:57:48 +01:00
Esteban Beltran
782b725d87
Plugins Catalog: Display Request data source and view roadmap links (#91175)
* Add roadmap links to connection tab

* move to its own component

* add roadmaplinks to the catalog browse page

* use trans for text

* Change TextLink to accept ReactNode

* use Space component

* Add translations
2024-07-31 13:12:16 +02:00
Sven Grossmann
14db32cc9f
Loki: Add option to issue forward queries (#91181)
* Loki: Add option to issue forward queries

* Loki: Fix spelling of "backward"/"forward"
2024-07-31 12:53:59 +02:00
Joao Silva
b99d635e30
Bookmarks: Add field for pinNavItems toggle to grafana_navigation_item_clicked interaction (#91184) 2024-07-31 11:07:24 +01:00
Joao Silva
57323e1104
Preferences: Keep navbar preferences when saving from Preferences screen (#91197) 2024-07-31 11:07:08 +01:00
Alex Khomenko
acbf02cd2f
Navigation: Redirect org users to admin users (#91051) 2024-07-31 11:49:14 +02:00
Alexander Zobnin
44f5db5609
RolePicker: Reload org users after role update (#91201) 2024-07-31 11:46:51 +03:00
Tobias Skarhed
ff54333881
Combobox: Add clear and reset onBlur (#90943)
* Add clear and reset onBlur

* use selectItem

* Use downshift hooks instead

* Fix Clear bug and extract i18n

* Remove useMemo from story

* Add loading state to many options story

* Set fallback to null

* Fix unused import

* Use onBlur and pass it to Downshift instead
2024-07-31 10:37:09 +02:00
Nathan Marrs
fc1139e51a
Transformations: Promote format string as generally available (#91161) 2024-07-31 05:10:07 +03:00
Nathan Marrs
0423c67495
Transformations: Promote add field from calc stat function cumulative and window calcs as generally available (#91160) 2024-07-31 03:30:24 +03:00
Nathan Marrs
a71dfd3109
Canvas: Support template variables in base URL of actions (#91227) 2024-07-30 17:21:57 -07:00
Nathan Marrs
0a34b51055
Transformation: Add variable support for filter by value regex matcher (#90926)
* add support for template vars in filter by value transformation for regex matcher

* less code is more code

* add test to confirm interpolation works for regex

* suggestions input for regex editor

---------

Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-07-31 02:15:44 +03:00
Lucy Chen
f96eed5abf
Sharing Redesign: Add missing i18n translation (#90775)
add i18n translations
2024-07-30 15:39:32 -04:00
Kristina
783ff71560
Explore: Allow saving to Query Library from query row (#89381)
* wip

* Add save functionality to query row

* add success conditional

* move around translations

* Add translations

* Add key to fix test

* Add key to the right spot

* define specific save button

* WIP - Use RowActionComponents to add action without modifying the core component

* Only add component once on render

* Move logic to main explore page

* Add keyed render actions to prevent redundancy, use this to add keyed action

* Overcome the forces of dayquil to attempt to make actual sense

* Add scoped actions to query action component

* Spaces not allowed in generateName
2024-07-30 13:56:44 -05:00
Sven Grossmann
e7156e7e60
Logs: Remove grafana_explore_logs_log_details_clicked event (#91171) 2024-07-30 20:12:30 +02:00
Sven Grossmann
270b01f883
Logs: Remove grafana_explore_logs_result_displayed event (#91172) 2024-07-30 20:12:12 +02:00
github-actions[bot]
66b1a219f4
Alerting: Update Swagger spec (#79850)
* chore: update alerting swagger spec
* update public swagger

---------

Co-authored-by: rwwiv <rwwiv@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2024-07-30 18:17:23 +03:00
Egor
ad770cf1e5
Jaeger: Fix calling of search query with the correct time range (#90320)
* Jaeger: call search query with query range (#88156)

* Update test

---------

Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com>
2024-07-30 15:27:22 +03:00
Tom Ratcliffe
6fcf594b32
Alerting: Add eslint testing-library plugin dependency and create separate ESLint config (#91052) 2024-07-30 15:16:54 +03:00
renovate[bot]
e3842df675 Update dependency @types/node to v20.14.13 2024-07-30 11:57:59 +00:00
Tom Ratcliffe
e877b82af7
Chore: Update imports from RTKQ (#91182) 2024-07-30 12:10:18 +01:00
kay delaney
b80e16075f
Scenes/Dashboards: Fix issue where changes in panel height weren't saved (#91125)
* Scenes/Dashboards: Fix issue where changes in panel height weren't saved
2024-07-30 12:34:30 +03:00
Joao Silva
35315f43fe
Pin Nav Items: Don't show icon for items without id (#91141) 2024-07-30 10:33:52 +01:00
ismail simsek
2536049ffd
Chore: Remove MetricCategoryCascader from Explore Metrics (#91039)
remove MetricCategoryCascader
2024-07-29 22:51:52 +02:00
Tom Ratcliffe
9d639278f4
Alerting: Refactor simplified routing contact points hook (#90762) 2024-07-29 19:22:31 +03:00
Josh Hunt
1a7c965f7d
E2C: Fix rebuild snapshot not showing while pending upload (#91077)
* E2C: Fix rebuild snapshot not showing while pending upload

* fix unable to make snapshot after disconnect/reconnect

* fix wrap on migration summary
2024-07-29 18:27:31 +03:00
Tom Ratcliffe
604c99f137
Alerting: Don't show success message after updating AM config (#90934) 2024-07-29 12:02:34 +01:00
Andre Pereira
733807f963
Tempo: Show search streaming status in query options (#90726)
* Show whether search streaming is enabled in query options

* Fix tests

* Address comments
2024-07-29 11:58:01 +01:00
Will Browne
1b3fa8c47f
Plugins: Hide version information when plugin is managed (#88065)
* first pass

* fixup

* fix linter issues

* fix API test

* update naming

* rework

* update var name

* empty check

* prettier

* fix test

* fix lint
2024-07-29 11:18:43 +01:00
Ieva
e2ee7f06eb
RBAC: Prevent role picker from disappearing when many roles are selected (#91065)
make the container of selected roles scrollable
2024-07-29 11:17:55 +01:00
Gilles De Mey
746e2eeee6
Alerting: Add validation for path separators in the rule group edit modal (#90887)
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-07-29 11:59:15 +02:00
Joao Silva
c694c97651
Bookmarks: Make the button accessible (#91037) 2024-07-29 10:31:26 +01:00
Alex Khomenko
47fb116989
Paginate migrated resources (#91055)
* E2C: Add snapshot table pagination

* Fix default page number

* Update defaults

* Reduce page size to 50, correctly calculate number of pages

---------

Co-authored-by: joshhunt <josh@trtr.co>
2024-07-29 10:21:04 +01:00
Piotr Jamróz
8d98c9eba7
Explore: Pass the dataframes along with the time range of the data (#90594)
* Explore: Pass the dataframes along with the time range of the data (#90259)

* Use data time range for rendering instead of selected range from the picker

* Update CustomContainer to use data time range

* Update test

(cherry picked from commit 58285e37a2)

* Memoize visible range passed to LogsVolumePanel

* Ensure onHiddenSeriesChanged is called only when hidden frames change
2024-07-29 12:07:06 +03:00
Drew Slobodnjak
0edb0c5c4f
Canvas: Always show rotation in layout editor (#90571)
* Canvas: Always display rotation in layout editor

* Simplify condition

* Set default rotation from options if null
2024-07-26 14:37:07 -07:00
Victor Marin
2ab746ae76
Disallow edit for panels in repeated rows (#90967) 2024-07-26 23:11:05 +03:00
Juan Cabanas
397dfaf679
ShareDrawer: Share link panel (#90549) 2024-07-26 17:04:34 -03:00
Josh Hunt
d7e85354d1
E2C: Improvements to workflow (#91045)
* E2C: Improvements to workflow

* no eslint comment

* i18n

* i18n:

* lint
2024-07-26 16:56:03 +01:00
renovate[bot]
8e006fedda Update dependency @grafana/experimental to v1.7.13 2024-07-26 15:42:50 +00:00
renovate[bot]
3383e2f6b9
Update dependency @grafana/aws-sdk to v0.4.1 (#90898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 18:03:44 +03:00
Ryan McKinley
ec6c6bd6c3
Identity: Add read-only identity apiserver (#90418) 2024-07-26 17:09:08 +03:00
Tobias Skarhed
ddd38afa57
SCSS: Fix mixed declarations deprecation (#91048)
Fix scss deprecation
2024-07-26 15:51:28 +03:00