8157 Commits

Author SHA1 Message Date
39db59fc73 Chore: remove the queryLibraryDashboards toggle since we didn't end up using it (#100749)
remove the queryLibraryDashboards toggle since we didn't end up using it
2025-02-14 16:39:22 +00:00
589340e03c GrafanaUI: Deprecate Select in favor of Combobox (#100294)
* GrafanaUI: Deprecate Select

* add deprecated decorator to stories

* tweak message
2025-02-14 16:07:26 +00:00
861686adaa Combobox: Tighten up storybook documentation (#100313)
* Add JSDoc comments to more props

* Remove in-dev decorator

* reword MDX documentation and add migration guide
2025-02-14 17:34:44 +02:00
af8cab9210 Alerting: Add Jira integration to cloud AMs (#100482)
* Add Jira integration to cloud AMs

* Add alertingJiraIntegration feature toggle for jira integration

* Update integration name to Jira Service Management

* address pr comments

* gen ff

* add project to the getReceiverDescription for jira

* Update getReceiverDescription for jira

* update text

* update texts and add required option

* Add conversion for fields jira integration to JSON format in the dto and viceversa

* add tests

* Add translation for jira receiver summary

* Add placeholder for Jira duration option

* move logic cheking integrtion type outside the conversion method

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-02-14 13:22:04 +01:00
b814f1628f New Logs Panel: Add infinite scrolling support (#99773)
* Create Infinite Scroll wrapper component

* Logs list: refactor event subscriber

* Infinitely load logs

* Move renderer to Infinite Scroll component

* Implement infinite scroll state

* Switch internal implementation to use the existing infinite scrolling component logic

* Integrate with logs panel

* Move scrolling management to infinite scrolling component

* LogList: change subscription dependency to prevent unnecessary runs

* Infinite scroll: remove autoscrolling

* Logs Panel: fix dependencies to prevent re-renders on refresh

* Infinite scroll: introduce pre-scroll state

* LogList: expose initial log position prop

* Infinite scroll: less work on scroll and autoscroll behavior

* Remove console

* Fix imports

* Add infinite scroll translations

* Fix imports

* Add visual delimiter for new pages and increase gap

* Remove log

* Chore: rename interface to LogListModel

* Hover: decrease opacity

* Fix no-logs state

* Prettier

* Infinite scroll: move scroll delimiter

* Load more message: make it clickable
2025-02-14 13:52:34 +02:00
da66060f75 Grafana/ui: Export UsersIndicator (#100698)
grafana-ui: Export UsersIndicator
2025-02-14 11:58:42 +02:00
dc3de1a1d5 Badge: Add darkgrey color (#100699) 2025-02-14 11:57:30 +02:00
5aeaa18ac2 Canvas: One click links and actions (#99616)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-13 11:46:29 -06:00
2bdeb727cf Chore: Bump react-router to v5.3.4 (#100500) 2025-02-13 18:36:16 +02:00
9ad6653871 Dashboard Schema V2: Improve diffing (#100022)
* improve diffing

* define dash spec props a-z

* Fix

* sort deep initialSaveModel

* update tests

* Fix test, description, and query ds issues

* Fix seralizer test

* response transformers

* skip panelMerge tests
2025-02-13 07:20:17 -07:00
afe8b08a48 MultiCombobox: Fix labels disappearing on selected items when filtering (#100602)
* Fix label disappearing on filtering

* Remove only from test

* Fix custom value test
2025-02-13 16:03:54 +02:00
8a8e47fcea PluginExtensions: Added support for sharing functions (#98888)
* feat: add generic plugin extension functions

* updated betterer.

* Fixed type issues after sync with main.

* Remved extensions from datasource and panel.

* Added validation for extension function registry.

* Added tests and validation logic for function extensions registry.

* removed prop already existing on base.

* fixed lint error.

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2025-02-13 10:18:55 +01:00
fbf96916aa Alerting: Use alerting-specific error boundary for page components (#99980)
Use alerting-specific error boundary for page components
2025-02-13 09:20:45 +01:00
3dcd885644 Data links: Show oneClick option just for specific panels (#100298)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-12 16:14:52 -06:00
d1dee968c3 Schema V2: Adjust quick_ranges in time settings and remove time_options (#100135)
* adjut quickRanges type in v2

* clean up unused time_options property

* remove deprecated time_options property on time picker

* add schema migration for time_options

* adjust test
2025-02-12 19:23:09 +00:00
21861867c1 Combobox: Fix broken styles for options (#100536)
Add basicOption styles to Combobox
2025-02-12 18:51:39 +02:00
cfc529cb03 Design/Theme: Change dropdown background in dark themes (#100415)
* Dropdowns: Change background for Selects/Comboboxs

* Update

* Update

* Review fixes

* Update
2025-02-12 17:22:56 +01:00
91242340c1 Prometheus: Fix operator handling when making label expressions utf-8 friendly (#100475)
* fix: operator handling

* refactor: stay dry
2025-02-12 07:09:22 -05:00
33b48f7c6e PanelPlugin: Allow inverting hideFromDefaults (#100473) 2025-02-12 04:46:00 -06:00
b44b82606a MultiCombobox: Add grouping (#100297) 2025-02-12 11:19:28 +01:00
eb4c428d4e NodeGraph: Improve view traces for uninstrumented services (#98442)
* NodeGraph: Improve view traces for uninstrumented services

* Switch to onBuildUrl and more peer attributes

* Update unit tests

* Added test for new logic

* Open traces in same tab

* Update the tests

* bring back internal link

* Update public/app/plugins/datasource/tempo/datasource.ts

Co-authored-by: Joey <90795735+joey-grafana@users.noreply.github.com>

* Revert export of generateInternalHref

* Update tests after change from onBuildUrl to query function

---------

Co-authored-by: Domas Lapinskas <domasx2@gmail.com>
Co-authored-by: Joey <90795735+joey-grafana@users.noreply.github.com>
2025-02-12 11:28:44 +02:00
9593e51da7 Alerting: conversion API structure (#100258) 2025-02-12 08:13:21 +01:00
d199c33d7e Log Context: Fix bug where variables are not replaced in dashboards (#100433)
* Log Context: Fix bug where variables are not replaced in dashboards

* add objects to act as `row` and `options`

* run prettier

* fix lint
2025-02-11 20:25:52 +01:00
c15c9f8af6 Prometheus: Fix cursor jump in prometheus code editor (#100273)
* set save view state prop

* remove custom onChange function
2025-02-11 16:55:54 +01:00
79bd3ffd8c Update dependency rollup-plugin-esbuild to v6.2.0 (#100421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 14:44:41 +00:00
8c0e087ce2 Update dependency esbuild to v0.25.0 [SECURITY] (#100426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 16:04:18 +02:00
bbe21bb1d2 Bump Scenes to 5.42.0 (#100205)
* update scenes and weekStart prop type

* update test

* adjust weekStart type in schemaV2

* clean up weekStart error message

* clean up weekStart in test data
2025-02-11 13:20:47 +00:00
43d7d00247 Combobox: fix check for existing options when creating a custom value (#100123) 2025-02-11 14:13:42 +01:00
e3cb73301e Authz/Schema: Remove unused stub cue definitions (#100387) 2025-02-11 15:24:11 +03:00
9bdacf3833 DesignSystem: Menu and popover styling update to use new elevated background token (#100255)
* DesignSystem: Menu and popover styling tweak proposal

* Fix submenu

* Themes: Add elevated prop

* Update themes

* update

* Fixed tests

* Update

* fix markdown lint

* Update packages/grafana-data/src/themes/createColors.ts

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* Update contribute/style-guides/themes.md

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* Update

* Update

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-02-11 12:27:04 +01:00
d87ef806f0 LoadingBar: Use a theme variable instead of hardcoded hex color (#100407)
use the theme variable in our loadingbar instead of a hardcoded hex color
2025-02-11 11:17:15 +00:00
e5154ce799 Combobox: Add tests for labels with Combobox (#100044)
* Add tests for labels with Combobox

* clean
2025-02-11 09:44:38 +00:00
f2d34254d3 Panel: Editor theme can't change (#99621)
editor theme can't change
2025-02-11 09:51:59 +02:00
27ece859e7 MultiCombobox: Export from grafana/ui (#100368)
* MultiCombobox: Export from grafana/ui

* Fix typos

* Update options styles
2025-02-10 17:37:17 +02:00
55e7c4ae6d Prometheus: Get the utcOffset value of timezone when it's specified (#99910)
* get the utcOffset value of timezone when it's specified

* Update packages/grafana-prometheus/src/datasource.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* calculate utcOffset from timezone when the request timezone is not browser

* lint

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2025-02-10 16:11:06 +01:00
dec07c4c34 Update-faro-versions-in-grafana-packages (#100354)
* update faro versions in grafana-runtime

* update faro packages in root

* update Faro version in Grafana UI

* upgrade faro version in grafana-prometheus

* replace deprecated type
2025-02-10 15:07:32 +01:00
68700e3d7d TimeRangePicker: Options list padding (#100343) 2025-02-10 14:12:23 +01:00
2518012569 grafana-ui: Update InlineField error prop type to React.ReactNode (#100347) 2025-02-10 13:46:46 +02:00
95e61f63f7 Faro: Upgrading faro deps to 1.13.1, enabling error serializer (#100145)
* upping faro deps, enabling error serializer

* linting

* fix lint errors

* more linting stuff

* yarn lock
2025-02-10 09:32:47 +01:00
f5c049012b Chore: Data links and Actions components refactor (#100097)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-07 20:03:05 -06:00
bce05cd48d VizActions: Add confirmation message (#100012)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-07 16:58:09 -06:00
79d7e11fa4 Menu: Uniform padding to make menu item hover state look better (#100275)
* Menu: Uniform padding

* tweak menu header

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-02-07 19:07:10 +01:00
0bd4e3bda2 Theme: properly clip corners in loki/prom query editor (#100253)
properly clip corners in loki/prom query editor
2025-02-07 17:17:46 +00:00
be42685852 Dashboards: Add tabs layout (#100127) 2025-02-07 16:50:53 +02:00
53030e7960 Card: Render description element based on children type (#100276) 2025-02-07 16:39:13 +02:00
9d7a4a53e4 Themes: Adds 1 more GrafanaCon theme (wip) (#100228)
* Themes: Gloom theme wip

* Themes: Gloom theme wip

* refactor

* A bit brown maybe?

* Update secondary to also be a bit brownish orangy

* Not super happy

* down a bit

* Progress

* Update

* Update

* orange primary again
2025-02-07 15:27:56 +01:00
a412394a14 Dashboards: Save rows and responsive grid layouts in v2 (#100035)
* save rows and responsive grid layouts in v2

* Add back accidentally removed assert

* adress feedback

* use getGridItemKeyForPanel

* Fix import

* fix another import

* Remove RowGridLayout
2025-02-07 14:45:04 +01:00
882b993496 Card: Use div for description (#100272) 2025-02-07 15:30:22 +02:00
c43517d278 Explore: Fix resizing split view with Loki query editor (#100257) 2025-02-07 12:05:45 +01:00
ccb9cab131 Plugins: Add synchronous CDN plugin loader (#99096)
* WIP

* Run plugin validations and validation steps sequentially if feature is off

* Remove dependency between sources.Service and pluginscdn.Service

* lint

* Parallelize validation only if class is CDN

* re-generate feature toggles

* remove waitgroup usage

* PR review: Add loader concurrency limit setting

* re-generate feature toggles

* pr review feedback

* fix const name

* Skip module.js validation for cdn plugins

* do not run validation steps in parallel

* lint

* reduce diff

* re-generate feature toggles

* lint

* pr review feedback

* remove leftover config.PluginManagementCfg from sources.Service
2025-02-07 11:07:08 +01:00