Skip to content

feat: implement material3 table foundation in pkg/x/m3table#17

Open
zodimo wants to merge 2 commits intomainfrom
feature/m3-table-component-14306505180397279488
Open

feat: implement material3 table foundation in pkg/x/m3table#17
zodimo wants to merge 2 commits intomainfrom
feature/m3-table-component-14306505180397279488

Conversation

@zodimo
Copy link
Owner

@zodimo zodimo commented Mar 19, 2026

Added the new component pkg/x/m3table/table.go and pkg/x/m3table/options.go containing Table(), Column, and TableOptions. Includes logic to generate headers dynamically and apply specific layout modifiers (weight, size.Width) to wrap and layout cells correctly in a column-row grid format.


PR created automatically by Jules for task 14306505180397279488 started by @zodimo

Introduced a basic Table composable in `pkg/x/m3table` allowing row/column configuration. Added `Column` layout parameters for dynamic (weight) and fixed (width) sizing. Supports optional headers and Material 3 Horizontal Dividers.

Co-authored-by: zodimo <5030404+zodimo@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@zodimo
Copy link
Owner Author

zodimo commented Mar 25, 2026

What about row height constraints ?

@google-labs-jules
Copy link
Contributor

What about row height constraints ?

I've added minimum row height constraints. They are configurable via TableOptions using WithMinHeaderRowHeight and WithMinRowHeight, defaulting to Material 3 standard sizes (56dp and 52dp respectively).

Added `MinHeaderRowHeight` and `MinRowHeight` to `TableOptions` using standard Material 3 sizes (56dp and 52dp). Constraints are applied using `size.MinHeight` on row creation.

Co-authored-by: zodimo <5030404+zodimo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant