grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
60.74k stars 11.61k forks source link

Deprecated layout components: get rid of `Layout.tsx` including `HorizontalGroup` and `VerticalGroup` #86844

Open eledobleefe opened 3 weeks ago

eledobleefe commented 3 weeks ago

What is the chore?: The grafana-frontend-platform squad has created a 'non-roadmap' epic to remove the usage of the deprecated layout components: Layout, HorizontalGroup and VerticalGroup.

Is there anything else we need to know?:

Replace HorizontalGroup

<HorizontalGroup spacing="lg">
...
</HorizontalGroup>

with Stack

<Stack gap={3}>
...
</Stack>

or replace VerticalGroup

<VerticalGroup spacing="md">
...
</VerticalGroup>

with Stack using direction

<Stack direction="column" gap={2}>
...
</Stack>

List of issues

Remove HorizontalGroup and VerticalGroup

Thanks in advance for your collab! đŸ™Œ

grafanabot commented 3 weeks ago

@eledobleefe please add one or more appropriate labels. Here are some tips: