grafana/public/app
Dominik Prokop 80e80221b9
Scenes: Grid layout (#56737)
* WIP: First approach to scene grid layout

* Flex layout

* Grid layout rows

* Allow passing custom props to scene object renderers

* Allow nesting grid layouts

* Re-layout nested grid's enclosing grids

* Update public/app/features/scenes/components/layout/SceneGridLayout.tsx

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* Review comments

* Got rid of flex & grid child layout objects

* WIP: Recreating rows behaviour (almost working)

* Major progress on rows

* remove nested grid example (not supported)

* Remove removal damn

* Trying to use children directly

* Ts fixes

* chore: Fix TS

* Fix issue when row bboxes when not updated on layout change

* Now the tricky part

* working

* Removing some code

* needs more work

* Getting some thing working

* Getting some thing working

* fix toggle row

* Starting to work

* Fix

* Yay it's working

* Updates

* Updates

* Added some sorting of children

* Updated comment

* Simplify sorting

* removed commented code

* Updated

* Pushed a fix so we can move a panel out from a row and into the parent grid

* simplify move logic

* Minor simplification

* Removed some unnesary code

* fixed comment

* Removed unnessary condition in findGridSceneParent

* remove unnessary if

* Simplify toGridCell

* removed duplicate if

* removed unused code

* Adds grid demo with different data scenarios

* Make it green

* Demo grid with multiple time ranges

* Move child atomically

* Add tests

* Cleanup

* Fix unused import

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2022-11-15 00:49:39 -08:00
..
angular Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
core Fix: Email and username trimming and invitation validation (#58442) 2022-11-14 13:11:26 +01:00
features Scenes: Grid layout (#56737) 2022-11-15 00:49:39 -08:00
partials
plugins DataSourceWithBackend: Add plugin id to the request headers (#58082) 2022-11-14 19:35:50 -05:00
polyfills
routes Frontend Routing: Always render standalone plugin pages using the <AppRootPage> (#57771) 2022-11-07 15:19:31 +01:00
store PublicDashboard: Add RTK Query with loading and error state. Add MSW dependency for testing. (#55518) 2022-09-22 09:35:04 -03:00
types publicdashboards: split create/update api paths (#57940) 2022-11-03 11:30:12 -08:00
app.ts Echo: Add config option to prevent duplicate page views for GA4 (#57619) 2022-11-09 15:09:19 +01:00
AppWrapper.tsx Explore: Remove camel case from tracking labels (#56809) 2022-10-13 12:12:50 +02:00
dev.ts Chore: Make "why-did-you-render" a dynamic import (#53121) 2022-08-08 15:33:49 +01:00
index.ts