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]: Hierarchy list variant 🌳 #18224

Open
1 task done
dianasanborn opened this issue Dec 9, 2024 · 1 comment
Open
1 task done

[Contained list]: Hierarchy list variant 🌳 #18224

dianasanborn opened this issue Dec 9, 2024 · 1 comment

Comments

@dianasanborn
Copy link

dianasanborn commented Dec 9, 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 hierarchy list variant existed in the Sustainability PAL for hierarchical needs in various list scenarios.

Image

Note: This hierarchy list existed before the Carbon tree view so this can be discussed amongst the team whether it's worth having both options or not.

Although the tree view can replace the scenarios where hierarchy lists were used for navigation, it might not work for use cases such as list builders.

The C4IP has a different pattern for hierarchy in the Add and select pattern. There can be some consolidation around here too.

The solution

  • Carbon team discuss differences and needs between the Carbon tree view and Hierarchy list variant
  • Carbon/C4IP team evaluate hierarchy list variant and add and select hierarchy pattern
  • See if there are opportunities to consolidate to support all use cases from the hierarchy list variant. If not, consider including hierarchy variant in the contained list component

Examples

Ask Diana for examples when being reviewed

Application/PAL

Sustainability Software PAL

Business priority

None

Available extra resources

https://carbon-design-system.github.io/carbon-addons-iot-react/?path=/story/1-watson-iot-list-hierarchylist--stateful-list-with-nested-searching

Code of Conduct

Copy link
Contributor

github-actions bot commented Dec 9, 2024

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.

@guidari guidari moved this from Triage to Next ➡ in Roadmap Dec 11, 2024
@sstrubberg sstrubberg added the adopter: PAL Work-stream that directly helps a Pattern & Asset Library. label Dec 11, 2024
@sstrubberg sstrubberg moved this from Next ➡ to Later 🧊 in Roadmap Dec 11, 2024
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