Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
290 stars 75 forks source link

Enhancement: Request for Nesting, Drag and Drop, Collapse for Value List Items #3997

Closed saumeel12 closed 6 months ago

saumeel12 commented 2 years ago

Description

This is a feature request for the List Item/ Value List component. This is part of an effort to bring the UI for Content and Member Categories into Calcite.

This was originally opened here: https://github.com/Esri/calcite-components/issues/3551 but has been updated with newer designs in this issue. This also works with Inline editing for list item which I believe is an active issue.

Acceptance Criteria

Implementation of this request should allow:

  1. List Items to nest under other list items, forming a type of hierarchy
  2. The ability to drag List items to rearrage and change nesting hierarchy based on certain rules applied to it.
  3. The ability to Show/hide list items nested under another list item through an expand/collapse

Relevant Info

This enhancement was discussed with Alan and Mitch to determine this as an effective enhancement. This is planned tentatively for 10.1 release.

Which Component

List item and Value List

Example Use Case

Screen Shot 2022-01-24 at 3 34 47 PM Screen Shot 2022-01-24 at 3 35 08 PM Screen Shot 2022-01-24 at 3 35 24 PM Screen Shot 2022-01-24 at 3 32 53 PM Screen Shot 2022-01-24 at 3 30 55 PM Screen Shot 2022-01-24 at 3 31 10 PM Screen Shot 2022-01-24 at 3 31 26 PM
saumeel12 commented 2 years ago

@asangma

macandcheese commented 2 years ago

With our current scope of Calcite Components, it seems like it may be a better fit for arcgis-app-components or a product-specific implementation that leverages the calcite-list-item

jcfranco commented 6 months ago

The ability to Show/hide list items nested under another list item through an expand/collapse

value-list is deprecated, but for list, this is the only outstanding item that might be applicable. cc @SkyeSeitz @ashetland

ashetland commented 6 months ago

I believe this is covered? https://esri.github.io/calcite-design-system/?path=/story/components-list--nested-items

jcfranco commented 6 months ago

Sweet! Thanks for spotting that, @ashetland!

Based on the above, I'll go ahead and close this.