Skip to content

Conversation

dagbolade
Copy link

@dagbolade dagbolade commented Oct 3, 2025

This PR updates the drag-and-drop behavior for TemplateCard so that only the icon is shown as the drag preview, while the entire card remains draggable. This improves the drag UX as requested in the related issue.

Can you please add the hacktoberfest2025 labels, thank you

@kresimir-coko
Copy link
Collaborator

Hey @dagbolade, thanks for showing interest in contributing to Bytechef, welcome!

Can you tell me what issue is this PR related to?

Apart from that, you need to run npm run format and npm run typecheck to source-format the code.

@dagbolade
Copy link
Author

Hey @dagbolade, thanks for showing interest in contributing to Bytechef, welcome!

Can you tell me what issue is this PR related to?

Apart from that, you need to run npm run format and npm run typecheck to source-format the code.

Hi @kresimir-coko thanks, this is related to the issue #3208

@kresimir-coko
Copy link
Collaborator

Hey @dagbolade I think you got confused with the component that I was referring to in the issue description. Here's the component that represents the individual card that has drag support - WorkflowNodesTabsItem

When you're done, I would appreciate a quick video of the drag and drop behavior showcasing your solution so it's easier for me to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When dragging a component from the right side panel, the dragged element should be just the icon
2 participants