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

Start date equal to the end date of the dependence #293

Open
foscone opened this issue Oct 6, 2022 · 3 comments
Open

Start date equal to the end date of the dependence #293

foscone opened this issue Oct 6, 2022 · 3 comments
Labels
enhancement Adds a feature or improvement

Comments

@foscone
Copy link

foscone commented Oct 6, 2022

Hi, is there a way to avoid defining the start date of a task and make it start when the task it depends on is finished?
Thanks!

@m50S79sM6SRNp8Jn
Copy link

Programmatically, yes. What's the problem?

@foscone
Copy link
Author

foscone commented Aug 23, 2023

In this situation:

const tasks = [
	{name: 'task 1', start: '2023-08-28', duration: 1, id: "task1"},
	{name: 'task 2', duration: 2, id: "task2", dependencies: 'task1'}
];

The result is
immagine

But my expectation is somethings like this
immagine

@safwansamsudeen safwansamsudeen added the enhancement Adds a feature or improvement label Apr 4, 2024
@safwansamsudeen
Copy link
Collaborator

Hi @foscone 👋🏽,

You say you want Task 2 to start when Task 1 finishes... but your expected pic shows something different. Am I misunderstanding something?

Also, your code includes duration - I'm pretty sure that was not supported until today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adds a feature or improvement
Projects
None yet
Development

No branches or pull requests

3 participants