Scenes: Add transformation flow for panel edit (#80738)

* Adding transformations works

* Use source data as data input for transformation settings, add search box suffix

* remove useCallback that are probably not needed, fix tests

* remove unused import

* add tests for adding and removing transformations

* use view all constant

* Add reordering functionality

* Fix removing one transformation removes all consecutive transformations

* use closeDrawer function

* Add tests for changing transformations

* Remove any

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
Oscar Kilhed
2024-01-24 14:14:48 +01:00
committed by GitHub
parent a06197188f
commit 57ba8dc75d
8 changed files with 405 additions and 68 deletions

View File

@@ -334,6 +334,7 @@ export const Components = {
searchInput: 'data-testid search transformations',
noTransformationsMessage: 'data-testid no transformations message',
addTransformationButton: 'data-testid add transformation button',
removeAllTransformationsButton: 'data-testid remove all transformations button',
},
NavBar: {
Configuration: {