Ashley Harrison
2e2c989530
Dashboard: rewrite useDashboardSave to not use useEffect ( #65602 )
...
rewrite useDashboardSave to not use useEffect
2023-04-11 09:10:32 +01:00
Ashley Harrison
1d0e74f998
PanelHeaderMenuTrigger: Store clickCoordinates in a ref instead of state ( #65601 )
...
rewrite panelheadermenutrigger to use ref instead of state
2023-04-11 09:08:46 +01:00
Ryan McKinley
af31c77331
Dataplane: Support prometheus dataplane contract for transformations and name matchers ( #65237 )
...
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com >
2023-04-08 00:13:19 +03:00
Torkel Ödegaard
e10ef2241d
Transformations: Improve UX and fix refId issues ( #65982 )
...
* Transformations: Improve UX and fix refId issues
* Show query names and frame names in description
* move to main grafan UI component
* Added unit test
* Fix lint error
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-04-07 08:31:37 +02:00
kay delaney
f932952c68
Row-repeats: Fix disappearing panel when viewed panel is refreshed ( #58392 )
...
* Row-repeats: Fix disappearing panel when viewed panel is refreshed
Close #57159
2023-04-04 21:56:47 +03:00
Marcus Andersson
c8ecd0679b
PluginExtensions: Adding full targets to the panel menu context ( #65861 )
...
* Making sure we add the whole query to the dashboard panel context.
* Adding some more tests.
* Synced with main.
2023-04-04 07:17:10 +02:00
Levente Balogh
1380fa54d6
UI Extensions: Rename placement to extensionPointId ( #65841 )
...
* UI Extensions: Rename `placement` to `extensionPointId`
* Fix tests.
* Fix conflicts and review notes
* Remove `placement` from some other places
2023-04-03 18:59:54 +03:00
Marcus Andersson
8b738d770c
PluginExtensions: Added onClick to link as a replacement for the command type ( #65837 )
...
* Added onClick to the link and made path optional.
* Added type to the import.
* revert(plugin-extensions): put back isPromise utility function
* Minor update to the isPromise function.
* added onClick in the panel menu item.
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2023-04-03 17:27:55 +02:00
Jack Westbrook
30b5b8d984
Plugins: Hide extensions menu when editing a panel ( #65840 )
...
Plugins: Hide extensions menu when editing a panel
2023-04-03 18:00:21 +03:00
Polina Boneva
bf0f4a6751
Dashboard: Enable feature toggle emptyDashboardPage by default ( #65464 )
...
* enable FF emptyDashboardPage by default
* fix smoke test for creating a panel after enabling FF emptyDashboardPage by default
2023-04-03 14:04:54 +03:00
Levente Balogh
34f3878d26
UI extensions: Refactor the registry and remove the "command" type ( #65327 )
...
* Wip
* Wip
* Wip
* Wip
* Wip
2023-04-03 10:42:15 +02:00
Alexa V
c03bf7d8ad
New Panel Header: Fix when clicking submenu item the parent menu item onClick get's triggered ( #65691 )
2023-03-31 16:35:34 +02:00
Ashley Harrison
a123e0a97c
e2e tests: Add selector to close dashboard settings and use it in e2e tests ( #65625 )
...
* add selector to close dashboard settings and use it in e2e tests
* check visibility of add panel button
* check visibility of add new panel button before clicking
2023-03-31 09:32:44 +01:00
Polina Boneva
df946ca5eb
Dashboard: Remove tooltip on Add button ( #65619 )
...
nested react-popper-tooltip kills functionality for the inner tooltip
2023-03-30 16:57:18 +03:00
Ashley Harrison
98e66654d6
Chore: Some type fixes needed for react 18 ( #65600 )
...
some type fixes needed for react 18
2023-03-30 13:40:18 +01:00
Polina Boneva
6f818294d3
Dashboard: When dashboard is not found show message instead of empty page ( #65508 )
...
* setup page when dashboard is not found
* reuse ErrorPage for not found dashboard
2023-03-30 13:50:59 +03:00
Polina Boneva
b9fb23502c
Dashboard: Add new visualization/row/library panel/pasted panel is now a dropdown menu ( #65361 )
...
* Empty Dashboard state has its own CTA items and its own separate box to choose a library panel to create
* show empty dashboard screen if no panels
* add feature flag for empty dashboard redesign
* only show empty dashboard redesign if FF
* add-new-panel button is a dropdown with options: visualization, row, import, paste
* fix onPasteCopiedPanel types
* do not create new panel to new dashboard if emptyDashboardPage FF true
* ToolbarButton does not allow rendering of Dropdown's overlay - switch to Button
* remove panel-add icon's default size of xl
* separate components for add new panel from dash navigation bar
2023-03-30 13:50:35 +03:00
Ryan McKinley
c0e7062eb8
Dashboards: Ensure panels have unique ids ( #65468 )
2023-03-29 07:47:13 -07:00
Torkel Ödegaard
b7b608418d
Templating: Introduce macros to simplify and optimize some scopedVars ( #65317 )
...
* Templating: Introduce macros to simplify and optimize some scopedVars
* Fixing tests
* fix test
* minor fix
* refactoring so macros work with formatting
* remove breaking change and keep current inconsistency
* Rename valueIndex to rowIndex
* Minor fixes
* Added test dashboard
* Added tags to dashboard
* Update
* Added test to check it returns match
* Update
* Fixed dashboard
* fix
2023-03-28 19:22:34 +02:00
Polina Boneva
09ff5ab522
Dashboard: Empty dashboard page adapt font size to design ( #65466 )
...
adapt fontsizes to design
2023-03-28 19:34:41 +03:00
Polina Boneva
221c5efedc
Dashboard: Empty/No Panels dashboard with a new design ( #65161 )
...
* Empty Dashboard state has its own CTA items and its own separate box to choose a library panel to create
* show empty dashboard screen if no panels
* start page for empty dashboard
* add feature flag for empty dashboard redesign
* only show empty dashboard redesign if FF
2023-03-28 12:42:23 +03:00
Alexa V
42b58fbca6
[Panel Header - Fullstory]: Make sure new menu's are findable in fullstory ( #65167 )
2023-03-28 10:20:35 +02:00
Ryan McKinley
36e8ca7f13
Dashboards: Unify angular auto-migration code ( #63915 )
2023-03-27 18:11:45 +03:00
Ryan McKinley
baf5a1d141
Angular: Rename autoMigrateGraphPanels feature flag to autoMigrateOldPanels ( #65243 )
2023-03-22 21:02:36 -07:00
Torkel Ödegaard
cd490ba0be
DataLinks: Fixes interpolation (formatting) of __all_variables and __url_time_range ( #65162 )
...
* DataLinks: Fixes interpolation (formatting) of __all_variables and __url_time_range
* simplify if statement
2023-03-22 18:56:18 +01:00
juanicabanas
5435ae25f7
PublicDashboards: Frontend tracking events ( #64854 )
2023-03-22 10:49:34 -03:00
Ryan McKinley
a0d440fb03
Dashboards: Show copy menu item to editors (regardless of dashboard edit state) ( #64826 )
2023-03-21 07:15:45 -07:00
Ryan McKinley
91a4b8b529
Chore: remove dashboardsFromStorage ( #65058 )
2023-03-20 18:36:49 +02:00
Artur Wierzbicki
4274b9414f
Chore: remove querylibrary feature toggle ( #65021 )
...
* chore: remove querylibrary
* chore: remove querylibrary
* chore: remove querylibrary
2023-03-20 20:00:14 +04:00
Ludovic Viaud
07be0643f0
Instrument transformations ( #64960 )
...
* Instrument transformations
* Fix any
* Fix any
* Fix unit test
2023-03-20 15:30:07 +01:00
Ezequiel Victorero
e01a3e0ea5
PublicDashboards: Added grafana special datasources to supported list ( #64930 )
2023-03-17 13:14:24 -03:00
Jack Westbrook
595518ec12
Plugin Extensions: Move PanelMenu links into extensions submenu ( #64599 )
...
* feat(pluginextensions): move panel menu links into an extensions submenu
* refactor(pluginextensions): move extensions submenu above more... submenu
* test(panelmenu): fix failing tests after moving extensions out of more
* fix: fix rebase issues
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2023-03-17 11:09:23 +01:00
Ryan McKinley
2578774188
Chore: Avoid explicit React.FunctionComponent<Props> when possible (round 3) ( #64839 )
2023-03-16 16:56:26 +02:00
Alexa V
fef0ee913c
Panel Header: Add CancelQuery option to panel header ( #64796 )
...
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2023-03-16 13:56:58 +01:00
Ryan McKinley
4f13e78d11
Chore: Avoid explicit React.FC<Props> when possible (round 2) ( #64749 )
2023-03-15 16:56:09 +02:00
Ashley Harrison
85e5326040
Chore: Adjust unit tests so they work with react 18 ( #64698 )
...
tweak unit tests so they work with react 18
2023-03-14 17:24:04 +00:00
Ryan McKinley
d710507bc5
Chore: Avoid explicit React.FC<Props> when possible ( #64722 )
2023-03-14 16:38:21 +02:00
Ivan Ortega Alba
cde1b5b162
PanelHeader: Add analytics for non-menu items ( #64729 )
2023-03-14 14:17:14 +01:00
Ashley Harrison
53186c14a4
Chore: Improve some types ( #64675 )
...
* some type fixes
* few more
* more type fixes
* fix the majority of (window as any) calls
* don't make new variable for event
* few more
* MOAR
2023-03-14 09:51:44 +00:00
Ivan Ortega Alba
fc8a753892
PanelChrome: Do not show menu when panel is embedded ( #64549 )
2023-03-13 17:47:52 +01:00
Ryan McKinley
fa740a8bcf
Chore: Remove panel inspect Actions hack ( #64643 )
...
remove actions tab hook
2023-03-13 08:07:36 -07:00
Ryan McKinley
d5a9a0cea0
Chore: remove comments feature ( #64644 )
2023-03-11 04:28:12 -08:00
Leon Sorokin
18e3e0ca8d
FieldMatchers: Add match by value (reducer) ( #64477 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-03-10 17:17:29 -06:00
Levente Balogh
79152969f3
Extensions: Expose an enum for available placements ( #64586 )
...
* feat: expose an enum type for extension placements
* fix: export the enum properly
2023-03-10 13:55:38 +01:00
Ivan Ortega Alba
f1a17d54cd
PanelHeader: Add analytics ( #64533 )
2023-03-10 12:56:41 +01:00
Torkel Ödegaard
af5ee9c66d
PanelChrome: Fixes title max width, and make make menu more prominent ( #64492 )
...
* PanelChrome: Fixes title max width, and make make menu more prominent
* Add fix for wrapping timeshift
2023-03-10 12:25:25 +01:00
juanicabanas
a134b47e01
PublicDashboards: Show email sharing feature depending on featureEnabled flag ( #64555 )
2023-03-09 16:58:29 -03:00
Ryan McKinley
5f7bc54fba
OptionsUI: Enabled settings on the color picker ( #64483 )
2023-03-09 04:53:18 -05:00
Torkel Ödegaard
fb55dd5df6
PanelChrome: Improve error state design ( #63776 )
...
* PanelChrome: Improve error state design
* Simplify logic for hoverHeader
* padding for the title only for the title, not the whole header
* Review fixes
* missed saving file
---------
Co-authored-by: polinaboneva <polina.boneva@grafana.com >
2023-03-09 10:06:25 +01:00
juanicabanas
2ddf105257
PublicDashboards: Not available page wording modifications ( #64413 )
2023-03-08 14:52:51 -03:00