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

Add option do drop new tasks to the timeline from an external component #941

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

Remco4EF
Copy link
Contributor

This pull request proposes a solution for #940

We suggest a table (to the right) containing draggable elements. These can be dropped onto the timeline canvas.
Since rct already uses interactjs, why not use that to reach this goal?

image

Overview of PR

All logic on what to drop at which moment is allowed, is up to the user via the interact configuration.
The library needs to expose some callbacks in order to be able to calculate where the new item is dropped.

Also #939 is fixed with this PR, so no bundled stylesheet anymore.
And basic demo with nextjs 15 is added.

Don't forget to update the CHANGELOG.md file with any changes that are in this PR

@Ilaiwi
Copy link
Collaborator

Ilaiwi commented Nov 24, 2024

Great job! I had an example long time ago that does this but I couldn't find it. I will take a closer look tomorrow morning and merge.
Thanks for all the hard work @remcoblumink and @Remco4EF

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

Successfully merging this pull request may close these issues.

3 participants