-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting layout options for the Table block #16355
Comments
Great memory @kjellr! It was considered here: #6923 (comment) Some explorations worth linking in relating to that are: I could totally see a 2 step process here with first being the picking of layout: Then once you had the table being able to adjust visually: |
Just to offer a counterpoint, I've always found those grid selectors to be very finicky. I'm pretty sure they are mostly a non-starter for tablet and smartphone users, because they assume the presence of a hover state to visualize the grid before you select it… not to mention the small tap/click areas. I like the idea of the placeholder style picker UI, similar to the columns block. Potentially you choose that option, then get the option to input rows and columns in the inputs similar to how they exist today? So essentially you choose a style configuration, then choose your table size as a second step? |
Yes, if this was a 2 step process. Just doing the first is also an option to consider and aligns with our existing pattern within columns. |
Providing something visual is always nice. I enjoy the way that G docs handles this. However, I'm not a fan of limiting the rows or columns by using a visual indicator. This, for me, isn't suitable because often times my tables vary too greatly from one to the other as to how many columns or rows I want to begin with. |
I am going to close this as there has been work done on this block outside of this issue and a lot of time has passed. |
The table layout allows you to select from a drop down. What about experimenting a bit with this and looking to the recent work done in Columns by offering layouts on first interaction? Tables have default layouts, for example, header rows. This could look like this:
Perhaps this could go even further and have a second step that allowed you to visually pick a grid. I took inspiration from the awesome Grids layout builder plugin for Gutenberg for this visual: https://wordpress.org/plugins/grids/.
I want to be clear, these are just experiments right now into what could potentially be ways to allow people to get a start in creating the tables they want. I feel strongest about the first screen as a step that aligns with the work just released for columns. With the framing of experimentation and sharing early that, I would love some feedback on this 'what if'.
The text was updated successfully, but these errors were encountered: