Commit Graph

18451 Commits

Author SHA1 Message Date
Ihor Yeromin
d6bddf3c68
Canvas: New circle/ellipse element (#74389)
* feat(canvas): add circle element
2023-09-12 15:56:48 +02:00
Gilles De Mey
bd23d48660
Alerting: useAbilities hook (#72626) 2023-09-12 15:20:39 +02:00
Juan Cabanas
07d96eb458
PublicDashboards: Disable email sharing inputs when user does not have write permissions (#74046) 2023-09-12 09:32:59 -03:00
Levente Balogh
2fac3bd41e
Plugins: Show deprecated plugins (#74598)
* feat: add a `isDeprecated` field to `CatalogPlugin`

* tests: update the tests for merging local & remote

* feat: display a deprecated badge in the plugins list

* feat: show a deprecated warning if the plugin is deprecated

* Fix linting issues

* Review notes

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* refactor: remove `isDeprecated` from the details (it's already in the main CatalogPlugin object)

* refactor: use an enum for remote statuses

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-09-12 12:49:10 +02:00
Andrej Ocenas
e4f26a5e4b
Flamegraph: Move to package (#73113) 2023-09-12 12:28:48 +02:00
Josh Hunt
b84aab5add
Notifications: Don't show toasts after refreshing (#74712)
* user essentials mob! 🔱

lastFile:public/app/core/reducers/appNotification.ts

* user essentials mob! 🔱

---------

Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
2023-09-12 12:34:43 +03:00
Ivan Ortega Alba
4f329e9fa6
Import:Enhance clarity through improved copy and streamlined links (#74383)
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-12 11:13:00 +02:00
Polina Boneva
b14263af45
Dashboard: Remove old panel code and leave only new panel design (#74196)
* delete PanelHeader

* PanelHeaderMenuItem is only used in PageHeader

* PanelHeaderCorner only used by PanelEditorTableView

* PanelHeaderMenuTrigger not used anywhere

* PanelHeaderMenuWrapperNew is PanelHeaderMenuWrapper, old one is deleted

* remove newPanelChromeUI from test

* delete feature flag newPanelChromeUI

* PanelHeaderMenuWrapperNew is PanelHeaderMenuWrapper, old one is deleted
2023-09-12 11:54:41 +03:00
Marcus Andersson
05ce7e5789
PluginExtensions: Reports user interactions with UI extensions (#74355)
* Added tracking information to how UI links are being used by users.

* Fixed nit.
2023-09-12 11:52:16 +03:00
Andres Martinez Gotor
8cb93bf3e7
Bug: Allow to uninstall a deprecated plugin (#74444) 2023-09-12 10:33:09 +02:00
Andres Martinez Gotor
29238c19fd
Bug: Expect a plugin signature per version (#74595) 2023-09-12 09:31:38 +02:00
Levente Balogh
9c83dd43d9
Plugins: Group tests (#74667)
refactor: group plugin-details page tests together
2023-09-12 08:10:18 +02:00
Brendan O'Handley
951876b465
Prometheus: Add classic query option to variable query editor (#74060)
* add classic query to variable query editor

* copy fixes

* update test
2023-09-11 12:13:16 -04:00
Bryan Huhta
0f552053e9
Pyroscope: add public catalog description (#74630)
* Add readme

* Fix wrong link

* Update public/app/plugins/datasource/grafana-pyroscope-datasource/README.md

Co-authored-by: Dmitry Filimonov <dmitry.filimonov@grafana.com>

* Prettier fix

* Update plugins test

* Prettier fix

* updateSnapshotFlag = false

---------

Co-authored-by: Dmitry Filimonov <dmitry.filimonov@grafana.com>
2023-09-11 18:06:34 +02:00
Gilles De Mey
6a4ba13b44
Alerting: Fix default policy timing summary (#74549) 2023-09-11 18:06:08 +02:00
Yuri Tseretyan
dce492642a
Alerting: Export of alert rules in HCL format (#73166)
* import hashicopr/hcl/v2
* add hcl package and export to HCL
* annotate export structs
---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-09-11 11:48:23 -04:00
Torkel Ödegaard
73a675af02
DashboardScene: Inspect panel data tab (#74646)
* Refactor data tab to be usable from scenes

* DashboardScene: Inspect data tab

* Everything seem to work now

* don't change drawer size in this PR

* Remove uncommented code

* Fix layout issues for data actions

* Added comment explaining retry
2023-09-11 16:11:22 +02:00
Adela Almasan
89127d5ec9
Canvas: Button API - Add support for GET requests (#74566) 2023-09-11 08:03:52 -05:00
Gilles De Mey
3487e89492
Alerting: Update query options layout (#74660) 2023-09-11 15:45:46 +03:00
Gilles De Mey
1fa6623e1c
Alerting: Fix flakey test for rule group export (#74665) 2023-09-11 14:35:23 +02:00
Fabrizio
a939dfadf2
Improve check on Tempo version (#74547) 2023-09-11 14:34:05 +02:00
Torkel Ödegaard
499b02b3c6
DashboardScene: Panel edit route basics (#74081)
* DashboardScene: Panel edit route basics

* remove unused file

* Removed some comments

* Minor fix

* Update

* example of apply changes implementation

* SceneObjectRef: Testing scene object ref

* Rename to ref suffix

* Update

* Fix url sync in panel edit

* Update

* Update

* simplify logic when committing change

* remove import

* Another fix for committing change
2023-09-11 13:51:05 +02:00
Esteban Beltran
b9c681e1a7
Sandbox: Fix panel custom editors not working inside the sandbox (#74589)
* Sandbox: Fix panel custom editors not working inside the sandbox

* Use the plugin-id in the specific rendering category
2023-09-11 13:43:57 +02:00
Torkel Ödegaard
7718a67b77
DashboardScene: Use TimeRangeTransformerBase in PanelTimeRange (#74647) 2023-09-11 12:18:10 +02:00
Torkel Ödegaard
97d568e60a
DashbboardScene: RowRepeaterBehavior (#74505)
* Repeating rows start

* working

* Progress

* Progress

* Update

* up scenes lib

* Update

* Progress

* restore url sync

* Progress

* Fixes and tests

* Update

* Adds tests and code to remove repeats from save model

* Update

* Fix test
2023-09-11 12:02:04 +02:00
Ashley Harrison
fb367bf91d
Chore: fix build (#74651)
put ts-expect-error in the right place
2023-09-11 12:07:05 +03:00
Gábor Farkas
6e75c5d182
postgres/sql: fix imports (#74535)
* postgres/sql: fix imports

* nicer import

Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>

---------

Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>
2023-09-11 09:48:55 +02:00
Torkel Ödegaard
349408d78c
DashboardMigrator: Add migration that removes repeats (#74296)
* DashboardMigrator: Add migration that removes repeats

* Update
2023-09-11 08:34:13 +02:00
Fabrizio
3bb4e24458
Dashboards: Escape tags (#74437) 2023-09-09 14:11:36 +02:00
ismail simsek
9c50296a07
InfluxDB: Fix multiple tag selection (#74205)
Return all tag keys
2023-09-08 20:57:11 +02:00
Konrad Lalik
e7a2c95586
Alerting: Add Grafana-managed groups and rules export (#74522) 2023-09-08 16:26:54 +02:00
Ashley Harrison
a31b02035a
Browse Dashboards: fix viewer permissions check (#74604)
fix permissions check
2023-09-08 15:07:00 +01:00
kay delaney
cca2905ddf
usePanelSave: Fix success/error notifications (#74454) 2023-09-08 16:57:07 +03:00
Josh Hunt
315a43da93
Dashlist: Fix panel not showing for Viewer users (#74596)
* Dashlist: Fix migration failing when API fails

* don't hit api to migrate general folder

* comment
2023-09-08 13:43:15 +00:00
Sonia Aguilar
cad39b7397
Alerting: Revert "Alerting: Show annotations markers in TimeSeries panel when u… (#74576)
Revert "Alerting: Show annotations markers in TimeSeries panel when using Loki as … (#72084)"

This reverts commit de6ef53c8a.
2023-09-08 10:57:31 +02:00
Eric Leijonmarck
394976bb6e
Service accounts: Fix mouse leave event by hide scrollbar in firefox and chrome (#74266)
fix: hide scrollbar in firefox and chrome for menu, due to mouse leave event
2023-09-08 07:40:18 +01:00
Fabrizio
d19f75d499
Fix regex for Tempo version (#74541) 2023-09-07 16:53:33 +03:00
Jack Westbrook
0d1845f857
Plugins: Fix applying default extension and AMD detection (#74471)
* fix(plugins): support edge cases where default extension was not added

* fix(plugins): only apply AMD wrapper to AMD format plugins

* refactor(plugins): update regex for codeql warnings

* refactor(plugins): remove check for commented out dependency strings in AMD regex

* test(plugins): add tests for systemjs hook amd detection
2023-09-07 14:30:35 +02:00
Josh Hunt
44e51ffe8b
Dashlist: Use new nested folder picker (#74011)
* Add new folderUID property

* Add nested folder picker + migration to UID

* fix folderUID

* comment
2023-09-07 13:57:31 +03:00
Ashley Harrison
ebe13a53f7
Browse Dashboards: Split new browse UI from nested folders backend (#74435)
* create new feature toggle + start to put stuff behind it

* block move, tidy up interfaces

* fix new/folder actions buttons

* show warning when deleting library panels/alert rules + run i18n:extract

* pseudo

* update unit tests

* pass alert in description
2023-09-07 11:41:00 +01:00
Fabrizio
96facbdfa2
Tempo: Improve autocompletion and syntax highlighting for TraceQL tab (#73707) 2023-09-07 12:36:23 +02:00
Alex Khomenko
a14af5e680
Share link: Use panel relative time for direct link rendered image (#74438)
* Use relative timerange for share link

* Fix time range
2023-09-07 12:41:21 +03:00
Konrad Lalik
8b00d7d7af
Alerting: Fix contact points url field validation (#74510) 2023-09-07 10:58:47 +02:00
Oscar Kilhed
579709c7a6
MSSQL: Add support for MI authentication to MSSQL (#73597)
* Add support for MI authentication to MSSQL

This adds support for managed identity authentication for MSSQL managed
instances running in Azure.

Co-authored-by: baldm0mma <jev.forsberg@grafana.com>
2023-09-06 18:27:19 +02:00
Fabrizio
3ccfa5620f
Tempo: Fix flaky test (#74169) 2023-09-06 18:08:24 +02:00
Ieva
f52936a604
Chore: remove legacy ac fallback from the route registration (#74464)
remove legacy ac fallback from the routes
2023-09-06 16:57:22 +01:00
Ieva
d46208b28a
Chore: remove legacy AC fallback from frontend access control checks (#74385)
* don't use legacy AC fallback for frontend access control checks

* extend tests

* more test fixes

* more test fixes

* more test fixes

* final test fix

* team test fix

* finally fix tests
2023-09-06 16:07:49 +01:00
Sven Grossmann
f53c0a35aa
LogContext: Remove feedback button (#74447)
remove feedback button
2023-09-06 16:46:48 +03:00
Esteban Beltran
ae858fcdd2
Sandbox: Fix sandbox not loading SystemJs.module objects correctly inside plugins (#74445) 2023-09-06 16:46:31 +03:00
Gilles De Mey
a2c93bb8bc
Alerting: Alert creation UI changes (#73835) 2023-09-06 13:24:48 +02:00