carbon-design-system / ibm-products

A Carbon-powered React component library for IBM Products
https://ibm-products.carbondesignsystem.com
Apache License 2.0
97 stars 138 forks source link

Datagrid stories: improve controls #2270

Closed elycheea closed 1 year ago

elycheea commented 2 years ago

What will this achieve?

Allow users to have more control over datagrid settings. Currently, the controls only use the datagridState but it provides no way view use cases and examples that the datagrid hooks provide.

How will success be measured?

For each story, users should be able to view scenarios matching those described in the in design specs.

Additional information

elycheea commented 2 years ago

This is a list of scenarios we should demonstrate in our stories but some of these may not require a separate story (e.g. alignment, truncation)

Header

For PageHeader or Tabs as table header, should double check accessibility.

Settings

AKA Row height settings

Row action buttons

Batch actions

Select all across all pages in the toolbar not implemented at this time (Carbon). More does not use caret yet due to limitations in ButtonMenu.

Expandable rows

Nested rows

Resizable columns

Keyboard navigation may overlap with that of inline editing.

Column customization

Column alignment

Can either use the default basic table story or one alignment story

Inline editing

Clickable row items

Empty state

Scrolling

Filtering

To be defined.

Ability to handle thousands of entries.

matthewgallo commented 2 years ago

Adding a shortened list of extensions we need to add with it's own extension directory in storybook

elycheea commented 1 year ago

@AlexanderMelox Most of these are covered in the design reviews, but keeping us on the hook to ensure we don’t miss anything.