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

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

Open
1 of 5 tasks
driskull opened this issue Feb 3, 2025 · 0 comments
Open
1 of 5 tasks
Labels
0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. refactor Issues tied to code that needs to be significantly reworked.

Comments

@driskull
Copy link
Member

driskull commented Feb 3, 2025

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
@driskull driskull added 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. refactor Issues tied to code that needs to be significantly reworked. labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. refactor Issues tied to code that needs to be significantly reworked.
Projects
None yet
Development

No branches or pull requests

1 participant