Victor Colomb
f478504bc9
Dashboard: Fix library panels in collapsed rows not getting updated ( #66643 )
2023-05-16 12:44:19 +01:00
sam boyer
33fd83f7e3
kindsys: Adapt to new PanelCfg schema interface ( #65297 )
...
* kindsys: Adapt to new PanelCfg schema interface
* building locally
* Remove Panel prefix in cue files
* Regenerate
* Update imports
* fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes
* Fix formatting
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
2023-05-15 23:07:54 -04:00
Laura Fernández
07f2aec576
Grafana UI: Create Text component use case example ( #68248 )
2023-05-15 12:27:12 +02:00
Marcus Andersson
58aa098ed7
Extensions: Moved the "Extensions" menu item so the "More..." is displayed last in the panel menu. ( #68372 )
...
Moved the extensions before the more option.
2023-05-15 09:01:05 +02:00
Ben Sully
e7a67e749c
Plugins: Pass panel data in plugin extension context ( #67509 )
...
* Plugins: Pass panel data in plugin extension context
Similar to https://github.com/grafana/grafana/pull/65861 , this passes
the panel's data as part of the context object used when configuring
extension links.
This is useful if the plugin wants to conditionally show the link
depending on the presence or absence of certain features in the
data. For example in the ML plugin we only want to offer Outlier
Detection links for a query if the query returned more than 3 series.
* Update getPanelMenu extension test to include data object
2023-05-12 14:12:00 +02:00
Ezequiel Victorero
11c388a10f
PublicDashboards: change wording and FF to public preview state ( #68262 )
2023-05-11 15:31:19 -03:00
Marcus Andersson
5605d2f4a5
PluginExtensions: Expose scopedVars via the context to plugins that extends the dashboard panel menu ( #67917 )
...
* Exposes the scoped vars to UI extensions via context.
* reverted the interpolation when running a query via the query runner.
* adding scoped vars to test.#
2023-05-11 12:58:19 +02:00
Alexa V
c025783367
Dashboard: Fix Drawer validation to avoid errors with empty request
objects ( #68214 )
2023-05-11 10:59:50 +02:00
kay delaney
7801cf6585
Dashboards: Only refresh panels on panel edit exit if refresh is set ( #67652 )
...
Closes #66838
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-05-10 14:12:55 +01:00
Ryan McKinley
1f43c62d03
HelpWizard: Show snapshot preview regardless of scenes feature toggle ( #68157 )
2023-05-10 05:32:20 -07:00
Giordano Ricci
b99e9668a9
QueryRow: Make toggle actions screen-readers accessible ( #67998 )
2023-05-10 11:57:08 +01:00
Torkel Ödegaard
4c536e5942
AngularDeprecation: Show warnings in panel edit for angular panels ( #67891 )
...
* AngularDeprecation: Show warnings in panel edit for angular panels
* update wording
* Update public/app/features/dashboard/components/PanelEditor/AngularPanelPluginWarning.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Update public/app/features/dashboard/components/PanelEditor/AngularPanelPluginWarning.tsx
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-05-09 14:51:02 +02:00
Torkel Ödegaard
ea1c1b9fb8
DashboardGrid: Fixes moving panels on first load ( #67953 )
...
* DashboardGrid: Fixes moving panels on first load
* Minor tweak
* Use theme breakpoint and add media query
2023-05-09 14:33:41 +02:00
Torkel Ödegaard
1d537086c4
DashboardPage: Remove file drop code ( #67954 )
2023-05-09 11:01:09 +02:00
Juan Cabanas
24668137f8
NavBar: app chrome state wrongly overwritten when ds modal is opened ( #67952 )
2023-05-08 16:51:42 -03:00
Torkel Ödegaard
5155455c55
Dashboard: Change add panel button to fill to remove outline border ( #68004 )
2023-05-08 16:56:06 +02:00
Torkel Ödegaard
ae1a85b5ad
Drawer: Position under nav & minor redesign ( #67824 )
...
* Drawer: Redesign WIP
* Fix double margin
* Teak pos
* align paddings
* Hide toolbar actions when drawer is open
* deprecate expandable
* Updated test
* remove expandable var
* Added clickaway
2023-05-05 17:00:33 +02:00
Torkel Ödegaard
20217db100
Drawer: Introduce a size property that set's width percentage and minWidth ( #67809 )
...
* Drawer: Introduce drawer size that sets width and min-width
* media queries
* Change large drawer to 75%
* Change news drawer to medium as the news items have better layout then with images on the side
* Tweaks and fixed inline drawer issue
* review fixes
* Deprecate inline, update mdx docs
* remove inline var
2023-05-05 11:31:02 +02:00
Torkel Ödegaard
2ecc1802e7
Page: Remove toolbar prop as it's no longer needed ( #67734 )
2023-05-03 16:07:43 +02:00
Ryan McKinley
e493bec3a8
Geomap: Improve migration logic ( #65500 )
2023-04-28 12:20:10 -07:00
Ivan Ortega Alba
cdf8555ace
Use URL isFirstPanel to enable panel editor onboarding ( #67546 )
2023-04-28 19:09:44 +02:00
Oscar Kilhed
149adb0992
FileImport: add interaction reporting for dropping files ( #67512 )
...
add interaction reporting for dragndrop
2023-04-28 18:41:00 +02:00
Juan Cabanas
e88e50efe4
ShareModal: Responsive tabs and Public Dashboards modal fixed ( #66805 )
2023-04-28 13:37:11 -03:00
Kuba Siemiatkowski
f8faacd54a
Datasource: Overhaul plugin error handling and action buttons ( #67014 )
...
* - initial work on data source config page
* - add links to test status box
- add tracking function
* - add test for the DataSourceConfigAlert component
* - fix flicker of the alert box
* - fix the build
* - small improvements
* - fix failing build
* - fix failing unit tests
* - prettier and betterer fixes
* - fix failing e2e tests
* - fix build again
* - rewrite solution according to the PR comments
* - cleanup
* - fix failing e2e
* - use absolute path in link
* Minor fixes
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-04-28 15:57:17 +02:00
Alexa V
b4a7427f31
[Chore] Refactor Panel Menu Rudderstack events and add missing instrumentation ( #66850 )
2023-04-28 12:19:39 +02:00
Torkel Ödegaard
43def489f4
PageNotFound: G10 Redesign ( #66909 )
...
* PageNotFound: G10 Redesign
* Make into a reusable component so we can have a more specific version for dashboards
* Make graphic abit smaller
2023-04-28 08:18:14 +02:00
Ryan McKinley
8352e716dd
ArrayDataFrame: Convert to a simple utility function rather than dynamically loaded values ( #67427 )
2023-04-27 12:38:19 -07:00
Juan Cabanas
fc3737bf4f
PublicDashboards: Email sharing users page ( #67124 )
2023-04-27 14:20:03 -03:00
kay delaney
2dc5872bd6
New Dashboard: Fix "build a dashboard" when empty dash page feature is enabled ( #66816 )
...
* New Dashboard: Fix "build a dashboard" when used with empty dash page feature
Closes #66659
2023-04-27 11:11:19 +01:00
Juan Cabanas
47aa8c7654
PublicDashboards: HoverWidget in panel fix ( #66685 )
...
Hover widget modified for public dashboards.
2023-04-26 09:06:38 -03:00
Alexa V
2a67b8ad32
Panel Header Fix: Implement new Panel Header on Angular Panels ( #66826 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-04-25 18:16:46 +02:00
Polina Boneva
fe23c76250
Dashboard: New panel in a dashboard is not deleted after "Discard"-ing changes in Panel Edit ( #66476 )
...
* add isNew notPersistedProperty to PanelModel
* if panel is newly created and user "Discard"s it, the panel is removed entirely
* add Todo's for when we remove the emptyDashboardPage FF
* add isNew to new panel after file dropping on dashboard page
* handle the "Apply" case
* CSV file dropping is not relevant to a new panel bc it doesnt open edit page
2023-04-25 17:18:58 +03:00
Polina Boneva
2f1a08511a
[Chore] Dashboard: Update analytic events for new panel/row/import/pasted panel ( #67205 )
...
update analytic events for new panel/row/import/pasted panel
2023-04-25 17:06:54 +03:00
Torkel Ödegaard
de18ed6659
PanelContext: Add functionality to update data from panel ( #66993 )
2023-04-25 14:55:50 +02:00
Ashley Harrison
4e492ae725
Navigation: Unify Page
component ( #66951 )
...
* remove old page component
* add test to check initDashboard is only called once (prevent variables loading twice)
* add help node
* update unit tests
* remove last mentions of topnav
* fix unit tests
* remove unused props from ButtonRow interface
* remove prop from test
2023-04-24 16:41:32 +01:00
Agnès Toulet
fe5a07f336
Rendering: Fix panel rendered count on error ( #67027 )
...
Rendering: fix panel rendered count on error
2023-04-24 09:27:49 +02:00
Adela Almasan
b992bdb62d
Annotations: Avoid crash when listing panels (that are rows) ( #66869 )
2023-04-21 23:50:45 +03:00
Ezequiel Victorero
0b246942ae
PublicDashboards: Remove flaky test ( #67061 )
2023-04-21 14:46:27 -03:00
Torkel Ödegaard
34110f68b7
EmptyDashboard: Fix wrong font weight ( #66555 )
2023-04-21 14:15:09 +02:00
Polina Boneva
2f0f5ca09e
[Chore] Dashboard: Add i18n for creating a panel, row, library panel, and pasted panel ( #66234 )
...
* add translation keys for empty dashboard redesign
* run yarn i18n:extract; rephrase one trans key because of [warning] Found translation key already mapped to a map or parent of new key already mapped to a string: dashboard.toolbar.add.visualization
* reduce to 3-step locale phrase IDs
* extract phrase IDs
2023-04-20 10:35:29 -04:00
Matias Chomicki
62a87885fc
Annotations: fix testid attribute ( #66877 )
2023-04-19 20:43:46 +00:00
Torkel Ödegaard
ee247e33b4
AngularMigration: Clear old angular panel props when auto migrating ( #66719 )
...
* AngularMigration: Clear old angular panel props when auto migrating
* Update test name
2023-04-19 13:47:55 +02:00
Ryan McKinley
9452c0d718
Annotations: Support filtering the target panels ( #66325 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-04-18 15:39:30 -05:00
Ashley Harrison
0741f47876
Navigation: Move SectionNav
to AppChrome
( #64391 )
...
* move section nav to app chrome
* unit tests
* Move SectionNav to AppChrome folder
* fix duplicate variable rendering
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-04-18 14:58:00 +01:00
Ryan McKinley
cdb49887d8
HelpWizard: Use scenes to render dashboard inline dashboard ( #64936 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-04-17 23:45:14 -07:00
Ryan McKinley
39c04a8e36
Chore: Remove deprecated dashboardId from panel query runner ( #64786 )
2023-04-14 16:50:10 -07:00
Ashley Harrison
4abe0249ba
Chore: Clean up old navigation ( #66287 )
...
* remove code outside of the topnav feature flag
* delete NavBar folder
* remove topnav toggle from backend
* restructure AppChrome folder
* fix utils mock
* fix applinks tests
* remove tests since they're covered in e2e
* fix 1 of the approotpage tests
* Fix another dashboardpage test
* remove reverse portalling + test for plugins using deprecated onNavChanged method
* kick drone
* handle correlations
2023-04-14 09:43:11 +01:00
Marcus Andersson
c3fee5881f
E2E: Fixed so openPanelMenuItem flow works with new/old panel chrome without breaking changes ( #66118 )
...
Fixed so the openPanelMenuItem works with both angular and react panels.
2023-04-14 09:11:15 +02:00
Ryan McKinley
b83627a661
Table Panel: Fix panel migration for options cell type ( #66305 )
2023-04-12 08:52:44 -07:00
Torkel Ödegaard
1ed75f9709
PageNotFound: Update design so that it looks better in topnav ( #66295 )
2023-04-11 19:19:25 +02:00