Skip to content

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

Merged
Ilaiwi merged 21 commits intonamespace-ee:masterfrom
4Efficiency-Services:master
Jan 16, 2025
Merged

Add option do drop new tasks to the timeline from an external component#941
Ilaiwi merged 21 commits intonamespace-ee:masterfrom
4Efficiency-Services:master

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

@tvechko-ntm
Copy link

@Ilaiwi Is there an ETA for when this PR gets merged/next beta is released? Would love to have the stylesheet fix for my nextjs project.

@Ilaiwi Ilaiwi merged commit c85225c into namespace-ee:master Jan 16, 2025
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.

4 participants

Comments