Skip to content

[Feature] Add DataTable docs and interactive demo#462

Closed
djalmaaraujo wants to merge 1 commit intoruby-ui:mainfrom
djalmaaraujo:da/data-table-docs
Closed

[Feature] Add DataTable docs and interactive demo#462
djalmaaraujo wants to merge 1 commit intoruby-ui:mainfrom
djalmaaraujo:da/data-table-docs

Conversation

@djalmaaraujo
Copy link
Copy Markdown
Contributor

Summary

  • Add DataTable component documentation page with 6 examples (complete demo, server-driven, selection + bulk actions, column visibility, custom renderers, expandable rows)
  • Add interactive demo with search, sort, pagination, per-page select, column toggle, row selection, bulk actions, and row action dropdowns
  • Copy DataTable (17 components) and NativeSelect (4 components) from ruby_ui gem v1.2.0
  • Update layout and preview styling for better table rendering

Test plan

  • Visit /docs/data_table — docs page renders with all examples
  • Visit /docs/data_table_demo — interactive demo works (search, sort, paginate, select rows, bulk actions)
  • Sidebar menu shows "Data Table" with "New" badge
  • Column visibility toggle works client-side
  • Other docs pages unaffected by layout changes

Add documentation pages for the new DataTable component family
(v1.2.0) with interactive demo featuring search, sort, pagination,
column visibility, row selection, and bulk actions.

Also copies NativeSelect component (DataTable dependency) and
updates layout/preview for better table rendering.
@djalmaaraujo djalmaaraujo requested a review from cirdes as a code owner April 29, 2026 21:30
@djalmaaraujo
Copy link
Copy Markdown
Contributor Author

Superseded by #463 (rebased on main, conflicts resolved)

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