Commit Graph

11548 Commits

Author SHA1 Message Date
Sergej-Vlasov
7c8184d5bf DashboardModel - Add fallback for variable current value fallback (#91833)
* add variable current value fallback when null

* refactor to avoid loosing reference
2024-08-20 11:55:04 +03:00
Ashley Harrison
ab312914cd Chore: cleanup util SCSS styles (#92078)
migrate SCSS util classes
2024-08-20 09:31:04 +01:00
Laura Benz
e7b6b4cf34 RestoreDashboards: Add folder picker to restore modal (#91945)
* feat: add folder picker

* feat: run i18n extraction

* feat: add target folder to api query

* feat: hand over targetFolder data to api query

* feat: retrieve original location

* feat: Add condition for folder picker

* feat: Modify condition for folder picker default

* refactor: add changes from code review

* refactor: add changes from code review

* feat: add plural to translation, add styling

* feat: run i18n extraction
2024-08-20 10:08:18 +03:00
Tom Ratcliffe
e2a1d59a96 Alerting: Remove disable logic for name field on time intervals when using k8s API (#91885)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-08-19 14:53:12 +01:00
Torkel Ödegaard
43dba8c3f9 DashboardScene: Support bodyScrolling (#91888)
* Progress

* Fix dashboards pane

* almost working

* add hook to get scopesDashboardsScene state

* check whether it's enabled when considering opened state

* add height to container

* Update

* revert change

* Make it work when bodyScrolling is disabled

* Last tweaks

* Update scenes

* Updating

* Fix

* fix tests

* fix lint  issues

* fix lint  issues

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-19 15:42:45 +02:00
Juan Cabanas
a50b5564be ShareModal: shareView query param fix (#92020) 2024-08-19 07:28:54 -03:00
Laura Fernández
84e0aa1ccd RestoreDashboard: Avoid overwrite when saving dashboard triggers a 'name-exists' error (#91881) 2024-08-19 11:31:40 +02:00
Erik Sundell
134467fc4a Plugin Extensions: Introduce new registry for exposed components (#91748)
* refactor app plugin internals

* add base registry and exposed components registry

* refactor usePluginComponent hook

* change type name

* fix hook

* remove comments

* fix broken tests

* add more tests

* remove link and component related changes

* use right id format

* add title prop

* remove comments

* rename registry

* make exportedComponentsConfigs required

* fix broken test

* cleanup tests

* fix prop name

* remove capability related code

* rename exported to exposed

* refactor(extensions): make registry types generic

* Update public/app/features/plugins/extensions/registry/ExportedComponentsRegistry.test.ts

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

* fix levitate error

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2024-08-19 08:43:11 +02:00
Lu Shueh Chou
126169f3ca Alerting: Add LogicOr operation option (#89258)
---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-08-16 11:02:14 -04:00
Lucy Chen
d8ae905758 Change Public Dashboard text in Enterprise Users section (#91816)
* update text

* update tooltip

* add conditionals

* add conditions

* add conditionals

* fix conditionals
2024-08-15 13:09:01 -04:00
Abdessamad Enabih
530355d5db Profile: Add tooltip to revoke session button (#91858)
* A11y: Buttons in profile/sessions do not provide tooltips

* Adressing PR comment for #91858
2024-08-15 18:24:38 +03:00
Matias Chomicki
40c6f741c0 Logs: Show older logs button when infinite scroll is enabled and sort order is descending (#91060)
* LogsNavigation: show older logs button when the order is descending

* LogsNavigation: adjust styles for showing only older logs button

* Logs Navigation: revert changes

* Infinite scroll: add older logs button

* Older logs button: show only in explore

* chore: add unit test

* Formatting

* Update public/app/features/logs/components/InfiniteScroll.test.tsx

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Chore: add missing translation

* Chore: move the button a tiny bit

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-08-15 18:17:47 +03:00
Kat Yang
4b0e8653f2 Refactor: Consolidate code for query generator (#91415)
* Refactor: Consolidate code for query generator

* Update public/app/features/trails/AutomaticMetricQueries/query-generators/default.ts

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

* fix: rename index.ts to getQueryGeneratorFor.ts to avoid barrel files

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-08-15 09:50:56 -04:00
Mihai Doarna
d6e793b31e SSO: Add server discovery URL on Generic OAuth config (#91047)
* add OpenID metadata URL field

* add i18n generated content

* configure server discovery URL in a modal

* remove getValues

* address feedback

* update field name to OpenID Connect Discovery URL

* add well-known suffix to the URL provided

* address feedback

* add isLoading state to ServerDiscoveryField
2024-08-15 15:00:25 +03:00
Ashley Harrison
2ac247be88 Navigation: Fix scope dashboards selector with bodyScrolling (#91892)
* almost working

* add hook to get scopesDashboardsScene state

* check whether it's enabled when considering opened state

* add height to container
2024-08-15 09:58:26 +01:00
Adela Almasan
f6b55ced6f Canvas: Remove null data links (#91859) 2024-08-14 23:58:39 +03:00
Juan Cabanas
07500e11be ShareExternally: Rename public dashboard section (#91928) 2024-08-14 17:03:19 -03:00
Juan Cabanas
8a97143120 ShareDrawer: Share snapshot panel (#90678) 2024-08-14 13:15:47 -03:00
Kristina
7cc925d319 Query Library: Enable edit description (#90009)
* WIP

* Finish getting form to populate

* WIP API

* Get PUT to work although the edit doesnt apply yet

* Complete working PUT

* PATCH v1 no json patch

* This works!

* Fix headers to be configurable

* Fix translations

* Revert "This works!"

This reverts commit d57ffcbc4b.

# Conflicts:
#	public/app/features/query-library/api/factory.ts
#	public/app/features/query-library/api/query.ts
#	public/app/features/query-library/types.ts

* Use normal method of patching 😅

* Replace add to library form with generic version

* make translations generic

* Rename function, fix bad conflict resolution
2024-08-14 10:11:53 -05:00
Andres Martinez Gotor
44290ddf32 Adapt plugin page to preinstalled plugins (#91874) 2024-08-14 17:04:59 +02:00
Bogdan Matei
b0dd3fb1a1 Scopes: Add extra-check for fetching dashboards (#91896) 2024-08-14 18:00:09 +03:00
Juan Cabanas
b569c1610f ShareDrawer: Share embed panel (#90994) 2024-08-14 10:49:10 -03:00
Ieva
134b9f731f RBAC: Hide root level folder creation button if the user doesn't have the right permissions (#91502)
* hide root level folder creation button if the user doesn't have the right permissions

* linting
2024-08-14 11:53:03 +01:00
Yulia Shanyrova
d1b0e70f8d Plugins: Remove cards and list display options functionality from plugin catalogue (#91840)
* remove displayMode functionality from plugin catalogue

* remove test for removed functionality

* fix linting
2024-08-14 10:24:10 +02:00
Gilles De Mey
0a2db346ab Alerting: use new Alertmanager update hooks for mute and active time intervals (#91404) 2024-08-13 17:38:40 +02:00
Leonor Oliveira
d52d04b6d8 Revert "Use dw dynamic config" (#91846)
Revert "Use dw dynamic config (#91222)"

This reverts commit 0258842f87.
2024-08-13 17:24:26 +02:00
Nathan Marrs
d817ee9b99 Docs: Add example to transpose transformation (#91823) 2024-08-13 10:22:56 -04:00
Gilles De Mey
e9e5989549 Alerting: Introduce useProduceNewAlertmanagerConfiguration (#91623)
useProduceNewAlertmanagerConfiguration
2024-08-13 14:34:38 +02:00
Tom Ratcliffe
735954386f Alerting: Consolidate contact points dropdown and add filter in alert rules (#91690)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
2024-08-13 12:56:13 +01:00
Yulia Shanyrova
8044cb50f1 Plugins: Plugin details right panel is added. All the details were moved from thee top to the right panel (#90325)
* PluginDetailsRight panel is added. All the details were moved from the top to the right panel

* Add feature toggle pluginsDetailsRightPanel,Fix build, fix review comments

* Fix the typo

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>

* hasAccessToExplore

* changes after review, add translations

* fix betterer

* fix betterer

* fix css error

* fix betterer

* fix translation labels, fix position of the right panel

* fix the build

* add condition to show updatedAt for plugin details

* add test to check 2 new fields at plugin details right panel;

* change the gap and remove report abuse button from core plugins

* add more tests

---------

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2024-08-13 11:55:30 +02:00
Leonor Oliveira
0258842f87 Use dw dynamic config (#91222)
* Remove kubernetesPlaylists feature_toggle

* Remove unified_storage_mode

* Remove double import

* Regenerate feature-toggles

* Read from config instead from feature_toggle

* cover scenario for when unified storage is not defined
2024-08-13 10:03:28 +02:00
Konrad Lalik
b67bcdb9b8 Alerting: Handle namespace and group query string params in Ruler API (#91533)
* Handle namespace and group query string params in Ruler API

* Use the new namespace and group query params when slashes in names

* Add validation, add group handling in GMA Api

* Move constants

* Use checkForPathSeparator function

* Fix linter issue
2024-08-13 08:31:07 +02:00
Joey
d00b4879d2 Tempo: Simplify span filters logic and fix regex for tag only search (#90819)
Simplify span filters logic and fix regex for tag only search
2024-08-12 14:15:06 +01:00
Ashley Harrison
369cd6f81e Chore: Migrate dashboard_grid styles to emotion (#91673)
migrate dashboard grid styles to emotion
2024-08-12 13:22:14 +01:00
Ashley Harrison
78f78753c7 Chore: Migrate Modal SCSS styles to emotion (#91569)
migrate modal scss styles to emotion
2024-08-12 12:55:22 +01:00
Gilles De Mey
add99fb3d0 Alerting: Add basic support for active_time_intervals (#91710) 2024-08-12 14:51:12 +03:00
Gilles De Mey
f11d6ebcd0 Alerting: Update contact points list and mute timings list on update (#91776)
make sure that contact points list and mute timings list are updated when we update the alertmanager configuration
2024-08-12 13:37:17 +02:00
Bogdan Matei
3303900c09 Scopes: Lift scopes at global level (#90136) 2024-08-12 14:11:50 +03:00
Gilles De Mey
15f2b08f00 Alerting: Catch alert rule search exceptions (#91788)
catch search exceptions and prevent from bubbling
2024-08-12 12:13:26 +02:00
ismail simsek
faf7cb9312 Chore: Refactor explore metrics layout switcher and breakdown scene (#90944)
* refactor breakdown scene

* refactor BreakdownScene along with LayoutSwitcher

* rename

* don't pass default layout

* better type handling

* betterer
2024-08-11 23:48:36 +02:00
Jmdane
8bb548e17b Transformations: Add 'transpose' transform (#88963)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-08-10 02:57:26 +03:00
Taewoo K.
ec7a247674 feat: Add atlassian statuspage (#91769)
* add atlassian statuspage

* fix test
2024-08-10 01:48:31 +03:00
Nathan Marrs
787abccfbc Canvas: Fix selection box glitch when adding certain elements (#91654)
* fix selecto glitch when adding certain elements

* minor doc updates
2024-08-08 09:42:24 -07:00
Andriy
08d9cb095a feat: add drone datasource to the plugins list (#91671) 2024-08-08 16:44:22 +03:00
Tim Mulqueen
f3769d1ab0 add netlify to plugin list (#91684)
* add netlify to plugin list

* Update public/app/features/datasources/state/buildCategories.ts

Co-authored-by: Andriy <andriy.urbanas@grafana.com>

---------

Co-authored-by: Andriy <andriy.urbanas@grafana.com>
2024-08-08 15:25:53 +02:00
Josh Hunt
83d8fde5be E2C: Post success toast when migration finishes (#91640) 2024-08-08 11:18:37 +01:00
Ashley Harrison
1bca86c8d5 E2C: use TextLink component for consistency (#91642)
use TextLink component for consistency
2024-08-08 09:10:20 +01:00
Borja Garrido
a083ec9ff5 Transformations: Add variable support to select groupingToMatrix (#88551) 2024-08-08 05:59:03 +03:00
Beto Muniz
a8b2a75dab GOps: Setup FullStory in the IRM configuration tracker (#90442)
* GOps: Setup support FullStory in the IRM configuration tracker

* fix: improve fs-unmask class application

* fix: remove extrtag as requested in PR review

* fix: revert extratag removed since it affects UI alignment

* fix: wrap text with trans component as betterer ask

* fix: update extraction
2024-08-07 18:08:13 -03:00
Gilles De Mey
d312e2aacf Alerting: Swap useAsync return signature params (#91634) 2024-08-07 17:58:07 +02:00