Skip to content

Setup table column presets for common column types #258133

@tkajtoch

Description

@tkajtoch

Summary

We want to have a set of column presets for EuiBasicTable and EuiInMemoryTable components that provide a single source for unified column widths, text truncation and alignment options, and cell content render functions. Presets should live in a shared package and group common patterns seen across Kibana tables, like relative date rendering or action buttons column layout.

Presets should also be able to be defined per plugin or solution, since there are many common column patterns specific to a certain area of Kibana. The package must provide documentation on the differences between global and scoped presets, their usage, and more.

Acceptance criteria

  • A new @kbn/shared-ux-column-presets package should be bootstrapped as the place for all global presets to live
  • A generic ColumnPreset type should be added and exported publicly as the reference type for all preset functions to follow

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions