-
Notifications
You must be signed in to change notification settings - Fork 96
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
Roadmap #419
Comments
Good 👌 Could we also add an item to the roadmap to improve the developper experience. We could investigate a way to introduce new hooks to create draggables and droppables instead of using render function e.g. Current render function API <Draggable draggableId={item.id} index={index}>
{(
dragProvided: DraggableProvided,
dragSnapshot: DraggableStateSnapshot,
) => (
<Item
key={item.id}
item={item}
isDragging={dragSnapshot.isDragging}
isGroupedOver={Boolean(dragSnapshot.combineTargetFor)}
provided={dragProvided}
/>
)}
</Draggable> What a hooks API could look like const {
draggableProvided
draggableStateSnapshot,
} = useDraggable({ draggableId: item.id, index });
<Item
key={item.id}
item={item}
isDragging={dragSnapshot.isDragging}
isGroupedOver={Boolean(dragSnapshot.combineTargetFor)}
provided={dragProvided}
/> EDIT: This could serves has an inspiration: https://github.com/thisbeyond/solid-dnd#how-do-i-get-started- |
An other item could be to investigate how we could leverage GitHub discussions. EDIT: Just saw that it was already open! 🎉 #417 |
Could also be nice to observe/watch the code coverage of the library. |
Hello - I am having trouble using @atlaskit/trees in my project. I'm a newbie coder, but the errors I'm getting are with out of date dependencies. I am already using RBD (soon switching to RFD), and I'd love to implement trees using the package. Do you folks have implementing trees as a feature anywhere on your radar? |
Tree & Grid would be awesome additions |
yes tree grid is a really good example |
What's the plan for the tree grid? |
This issue will serve as a living document of our short and long-term goals for this project.
In no particular order:
The text was updated successfully, but these errors were encountered: