Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Working with rows and grid is hard #346

Open
ekpdt opened this issue Sep 14, 2021 · 3 comments
Open

Working with rows and grid is hard #346

ekpdt opened this issue Sep 14, 2021 · 3 comments

Comments

@ekpdt
Copy link

ekpdt commented Sep 14, 2021

Working with rows and the grid in Grafonnet is hard. The library should provide some helpers to make things easier.

  1. Calculating grid positions yourself is annoying. I have developed some helper libraries -- I might be able to share the API and/or impl but will take some time with my employer.
  2. The API is very unhelpful when it comes to working with rows. When are you supposed to do addRow(row) vs addPanel(row)? When to call addPanel() on a row? Numerous corner cases lead to panels disappearing, not being collapsed into rows, and even browser freezes. I've passed some MVEs to the core maintainers via DM.
@malcolmholmes
Copy link
Contributor

Some simple higher level libs to ease working with rows could be helpful.

@isabelgiang
Copy link

Want to mention, also trying to work with grid positions and rows - would greatly appreciate the shared implementation as a helpful example.

@rquinio1A
Copy link

I've been using the utility from #223, it works great for fixed layout (no dynamic/repeating panels)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants