Skip to content

Explore making drag event detail interfaces generic and make it easier to set up #11434

@driskull

Description

@driskull

Description

Explore making drag event detail interfaces generic and make it easier to set up

Something like this:

export type BlockDragDetail = DragDetail<
  // actual generic might have different positional args
  BlockGroup, Block
>; 

Proposed Advantages

Easier to setup new drag components and consistent typing

Which Component

block-group, list

Relevant Info

#11319 (comment)

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.needs triagePlanning workflow - pending design/dev review.refactorIssues tied to code that needs to be significantly reworked.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions