Skip to content
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

[Contained list]: Draggable list items 🌳 #17728

Open
1 task done
dianasanborn opened this issue Oct 11, 2024 · 1 comment
Open
1 task done

[Contained list]: Draggable list items 🌳 #17728

dianasanborn opened this issue Oct 11, 2024 · 1 comment

Comments

@dianasanborn
Copy link

dianasanborn commented Oct 11, 2024

The problem

This is part of the effort to consolidate the Sustainability Software PAL list guidance with Carbon's contained list guidance.

Figma file: List comparison

Currently there are two very similar components available in both Sustainability PAL and Carbon: the list and contained list. The contained list was contributed from the Carbon for IBM Products side, with some references to the Sustainability PAL list component. Sustainability wasn't involved in the contribution at the time.

There are a lot of similarities to both. Within Sustainability we had a few additional use cases that are used in multiple patterns.

The draggable list items variant is not available in the contained list, but is used in multiple patterns:

The solution

  • Add a variant/prop to allow for reordering list items
  • Add design guidance and use case examples for when to use
  • Establish consistent draggable/reordering pattern (consider reordering styles for other use cases like cards on a dashboard)
  • Look into accessibility alternatives outside of just drag and drop

Examples

Image

Image

Image

Application/PAL

Sustainability Software PAL

Business priority

None

Available extra resources

https://ibm-products.carbondesignsystem.com/?path=/story/ibm-products-components-datagrid-columncustomization--column-customization-usage-story&globals=viewport:basic

Code of Conduct

Copy link
Contributor

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Later 🧊
Development

No branches or pull requests

3 participants