grafana/public
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
..
app Scenes: Grid layout (#56737) 2022-11-15 00:49:39 -08:00
dashboards Chore: Update version of @grafana/eslint-config (#53403) 2022-08-08 15:19:15 +01:00
emails Alerting: Support values in notification templates (#56457) 2022-10-10 13:40:21 +01:00
fonts chore: remove executable permissions of source files and docs (#46303) 2022-05-03 12:08:14 +02:00
gazetteer Geomap: Add GeoJSON gazetteer (#40589) 2021-10-19 21:05:55 -07:00
img use inherited colors on svg (#57427) 2022-10-21 15:24:02 +02:00
lib AzureMonitor: Kusto language support (#33528) 2021-05-11 16:48:59 +02:00
locales Internationalization: Translate RefreshPicker component (#58530) 2022-11-14 17:47:15 +01:00
maps Geomap: include sample geojson files (#39057) 2021-09-10 09:05:03 -07:00
sass Accessibility: Enable rule jsx-a11y/no-noninteractive-element-interactions (#58077) 2022-11-03 10:55:58 +00:00
test Variables: SceneVariable update process (#57784) 2022-11-09 08:02:24 +01:00
testdata MarketTrend: add new alpha panel (#40909) 2021-11-05 18:01:26 -07:00
vendor Security: Fixes javascript security warnings in old vendored libs (#50382) 2022-06-08 13:55:08 +02:00
views Implementing OpenApi 3 specs (converted from Swagger 2) (#53243) 2022-08-04 13:51:12 -03:00
api-merged.json API: Support creating a nested folder (#58508) 2022-11-10 04:41:03 -05:00
api-spec.json API: Support creating a nested folder (#58508) 2022-11-10 04:41:03 -05:00
openapi3.json API: Support creating a nested folder (#58508) 2022-11-10 04:41:03 -05:00
robots.txt