Dominik Prokop
f00f56bbff
DashboardLoaders: Add support for loading library panels ( #73406 )
...
* DashboardLoaders: Add support for loading library panels
* Bump scenes
* Scene object for loading library panels
* Remove unused function
* Remove console.log
* Bump scenes
* Review
2023-08-21 08:43:48 -07:00
Dominik Prokop
30393459df
DashboardsLoader: Enable cursor sync in scenes based dashboard ( #73383 )
...
* Bump scenes
* Enable cursor sync in scene dashboard
2023-08-17 07:03:26 -07:00
Laura Fernández
b632eb33b9
Grafana UI: Text component show all text on hover when it is truncated ( #68578 )
2023-07-31 18:04:48 +02:00
Torkel Ödegaard
e7797ac439
SceneDashboard: Adds menu to panels, a start for inspect drawer state ( #71194 )
...
* Began work on panel menu
* SceneDashboard: Basic state handling for inspect panel
* Switched to using scene url sync instead
* Updated
* Update comment on hack
* Fixed url synnc issues and more / better DashboardsLoader tests
* Progress on test
* Updates
* Progress
* Progress
* Update
* Update
* Update
* Update
* Update scenes lib
* Update
* Update
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-07-12 13:37:26 +02:00
Torkel Ödegaard
d87c2c4049
SceneDashboard: Move time controls from nav toolbar into controls and make controls them sticky, and edit mode ( #71082 )
...
* Scene with sticky controls
* Progress on an edit mode
2023-07-06 11:21:03 +02:00
Torkel Ödegaard
f6f3d97288
Eslint: Remove scenes rule for member accessability ( #71087 )
2023-07-06 09:22:02 +02:00
Dominik Prokop
61459e2b96
Bump scenes to 0.17.2 ( #70893 )
...
* Bump scenes to 0.17.2
* Update jest config
* Update tsconfig
* Update webpack config
* Update to latest API
2023-07-05 07:24:48 -07: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
Torkel Ödegaard
51a5f9f3fd
Scenes: Update to 0.7 and update monitoring demo with new form of in-place drilldown ( #68123 )
...
* Update
* Progress
* Update
* Update
2023-05-10 14:07:08 +02:00
Torkel Ödegaard
2ecc1802e7
Page: Remove toolbar prop as it's no longer needed ( #67734 )
2023-05-03 16:07:43 +02:00
Torkel Ödegaard
11446511c1
Scenes: Minor fix to monitoring app ( #67635 )
2023-05-02 16:24:59 +02:00
Torkel Ödegaard
926abcf6aa
Scenes: Update scenes to v6 ( #67110 )
...
* Scenes: Update scenes to v6
* Fix test
2023-04-26 07:03:44 +02:00
Torkel Ödegaard
de18ed6659
PanelContext: Add functionality to update data from panel ( #66993 )
2023-04-25 14:55:50 +02: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
Torkel Ödegaard
3af8f3246a
Scenes: Add support for shared query results of other panel ( #65413 )
...
* Scene: Add support for shared query results of other panel
* Update
* Fixing dashboard
2023-04-05 10:19:54 +02:00
Torkel Ödegaard
bf5f61319a
Scenes: update to v0.3 ( #65886 )
2023-04-04 12:46:04 +02:00
Dominik Prokop
ed45991e1b
Scenes: Add refresh picker to demos and dashboard loader ( #64292 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-04-04 13:02:29 +03:00
Dominik Prokop
bbf74b941b
Update scenes to 0.2 ( #65676 )
...
* Update scenes to latest
* Replace FormatRegistryID with VariableFormatID
* Remove scene demos that were moved to scenes repo, fix the remaining demos
* Fix grafana Monitoring app
* DashboardsLoader migration
* Fix test
2023-03-31 00:59:06 -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
Ryan McKinley
36e8ca7f13
Dashboards: Unify angular auto-migration code ( #63915 )
2023-03-27 18:11:45 +03:00
Torkel Ödegaard
647f693e59
Scenes: Update to latest scenes package and remove editing stuff ( #65222 )
...
* Update to latest scenes and remove editing stuff
* fixing test
2023-03-23 10:31:25 +01:00
Ryan McKinley
7835aacc8f
Schema: Remove exclusion for timeseries and update imports ( #65242 )
2023-03-23 02:14:54 +02:00
Torkel Ödegaard
5c9898a860
Scenes: SceneApp example in core ( #64686 )
...
* Scenes: Progress on demo app
* Argh
* Fixing breadcrumbs
* Added spacer
* Conditional scene objects
* Quick and dirty test for drilldown link via panel title
* Changed the toggle
* Add url state syncing for most links
* Add url state syncing for most links
* Fix instance in url params
* Quick and dirty tabs on the handler page
* fixing breadcrumbs
* Hide footer
* Updates
* new table styles
* Update table cell link styles
* Added search box
* Scene app demo: dynamic data link (#60398 )
* Dynamically build data links
* Add field override tests
* Updates
* Updated
* Updates
* before nesting routing
* Something is working
* Caching and nested routes working
* Simplify model
* Use app components from grafana/scenes
* Make the monitoring app work with section nav
* Fixing
* Update scenes
* Remove unused route
* Updates
* remove file
* Update scenes version and use new features
* Remove semicolon
* removed unused thing
* Add refresh pickers
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-03-20 11:15:42 +01:00
Ryan McKinley
7d1ebe6b75
Scenes: improve createVizPanelFromPanelModel helper ( #64918 )
2023-03-17 06:50:37 -07:00
Torkel Ödegaard
07305c72bf
DashboardScene: Add mapping for hoverHeader and displayMode to DashboardsLoader ( #64870 )
...
Dashboard scene fixes
2023-03-16 09:19:50 +01:00
Torkel Ödegaard
ec003d502b
Scenes: Update to 0.19 and update transformations scenario ( #64789 )
...
* Scene: Transformations update
* Update
2023-03-15 09:29:42 +01:00
kay delaney
4c0571be3a
Scenes: Add textbox var to scenes demo ( #64313 )
...
* Scenes: Add textbox var to scenes demo
* Upgrade scenes version
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2023-03-09 06:09:15 -08:00
Torkel Ödegaard
95bd79ef4b
Scene: Set maxDataPoints for dashboard scene query runners ( #63772 )
2023-03-06 11:00:47 +01:00
Victor Marin
a91e0a49c9
Migrate table to cue model ( #61852 )
...
* WIP table cue model
* WIP table types migration
* refactor
* WIP table cue
* docs
* veneer fix, docs
* docs
2023-03-01 17:48:36 +02:00
Torkel Ödegaard
d5b4a1288a
Scenes: Updates to variables demo ( #63511 )
...
* Scenes: Updates to variables demo to include a collapsable scene to test scenario of part of scene containing a query runnner being inactive while a variable changes value
* Table: Fixes logic for when adhoc filters are shown
* Scene: Variables minor style fix
* rever unrelated change
* Update version
* Update
2023-02-24 09:30:15 +01:00
Torkel Ödegaard
85c81ae080
Scenes: Variables minor style fix for spacing & margin ( #63643 )
...
* Table: Fixes logic for when adhoc filters are shown
* Scene: Variables minor style fix
* rever unrelated change
2023-02-23 06:41:43 -08:00
Torkel Ödegaard
2d90a01f6a
Scenes: Wrapping flex layout demo scene ( #62540 )
...
* Scenes: Adding a demo dashboard with wrapping flex layout
* Updates
* Update version
2023-02-01 10:56:58 +01:00
Will Browne
42732539ed
TestData: Introduce schema types ( #62130 )
...
* schematize data query
* add the stuff you dingus
* feat(testdatasource): add scenario to generated types
* use generated testdata query in frontend
* update code owners
* Add path exception for testdata datasource
* use specific numeric data types
* fix test
* fix e2e smoketest
* add test data query type
* use test data query type
* fix betterer
* Fix typo
* move to experimental
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: sam boyer <sdboyer@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2023-01-26 15:31:34 +00:00
sam boyer
48b620231e
Kindsys: Unique names for composable kind TS types ( #61928 )
...
* Kindsys: Unique names for composable kind TS types
* Update all TS imports
2023-01-23 18:03:44 +00:00
Torkel Ödegaard
70f2b01525
Scenes: Cleanups and simplify ( #61579 )
...
* Remove use of Scene / Embedded scene
* Use DashboardScene
* Update scenes package
* Updated scenes
* Updated DashboardScene
* Updates
* Updates
2023-01-17 18:02:46 +01:00
Torkel Ödegaard
8f37295b02
Scenes: Panel repeater change ( #61302 )
...
* Update scene panel repeater by change in scenes package
* Use latest scenes package
* Fix package.json
* lock update
* Fix lock
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-01-14 09:30:43 +01:00
Dominik Prokop
5dbbaab3f1
Scenes: Use @grafana/scenes ( #60972 )
...
* Use @grafana/scenes WIP
* Use @grafana/scenes package
* Use released @grafana/scenes
* Fix template_srv test
2023-01-10 03:30:53 -08:00
Ryan McKinley
48fbe51d37
Chore: Avoid FC in canvas elements and dimension editors ( #61014 )
2023-01-05 09:55:55 -08:00
Torkel Ödegaard
bd90a6e1be
Transformations: Add context parameter to transformDataFrame and operators ( #60694 )
...
* Transformations: Add context parameter to transformDataFrame and operators
* Remove unused queries prop
* Fixed test
* Fixed test
2023-01-05 17:34:09 +01:00
Ivan Ortega Alba
d0f6a3a4ca
Scene: Dashboard loader supports transformations & unit tests ( #60855 )
...
* Scene: use transformations for panel queries
* refactor: Clean up DashboardLoader class
* test: Add unit tests for creators
* test: Ensure the row herarchy is properly replicated
* test: Ensure the URLSync is initialized
* refactor: Use fixture to create panels
2023-01-04 08:29:22 -05:00
Dominik Prokop
4446d500a4
grafana/data: Deprecate kbn.regexEscape and move to grafana/data ( #60869 )
...
grafana/data: Deprecate kbn.regexEscape and move escapeRegex to grafana/data
2023-01-02 05:57:55 -08:00
Dominik Prokop
831e7697ae
grafana/data: Move useFieldOverrides from core ( #60817 )
...
* grafana/data: Move useFieldOverrides from core
* Update packages/grafana-data/src/field/fieldOverrides.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Review
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-01-02 02:27:48 -08:00
Dominik Prokop
c3c4a57c79
grafana/data: Move getPanelOptionsWithDefaults from core ( #60813 )
...
* grafana/data: Move getPanelOptionsWithDefaults from core
* Add internal comments
2022-12-29 05:48:22 -08:00
Dominik Prokop
168afa99d1
Scenes / DashboardsLoader: Add variables migration ( #60226 )
...
* VizPanel - add variables dependencies definition
* Migrate variables to scene variables
* Constant variable migration
* Update test
* Lint fix
2022-12-29 05:34:22 -08:00
Torkel Ödegaard
591c86e31d
Scene: Consolidate layout props on a layout prop (formerly named size) ( #60437 )
...
* Initial prop rename changes
* Updates
* Rename layout to placement
* Fix
* Fixed test
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-12-27 09:05:06 +01:00
Torkel Ödegaard
c6db57c7d0
Scene: Exploring typed scene panels ( #58168 )
...
* Scene: Exploring typed scene panels
* Updated
* minor rename
2022-12-22 08:19:43 +01:00
sam boyer
f86abf096d
schema: Use generated dashboard model in frontend ( #55769 )
...
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: polinaboneva <polina.boneva@grafana.com>
2022-12-20 15:04:14 +01:00
Dominik Prokop
44ce67aef5
SceneDataTransformer: Update data state regardless of loading state ( #60394 )
...
SceneDataTransformer: useconsumed data when loading state is different than Done
2022-12-15 06:45:46 -08:00
Dominik Prokop
66c076f24e
Scenes: Add support for transformations ( #60329 )
...
* Add support for transformations
* Add tests for data transformers
* Provide replace function to transformations
* Unsubscribe from existing transformations stream if new data comes in
2022-12-15 04:56:29 -08:00
Torkel Ödegaard
ef46761b9a
Scene: Variables and All value support ( #59635 )
...
* Working on the all value
* Support for custom allValue
* Fixes
* More progress
* Progress
* Updated
* Fixed issue with multi and All value
* Clarified tests
2022-12-13 08:20:09 +01:00