Gantt Chart aliases require after
(dependencies) or break list order defaults
#4307
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
Gantt charts docs and testing appear to allow a shorthand syntax where each task just starts after the previous task (in that section). It also allows you to explicitly list all the dependencies for an task with the
after
keyword. The after keyword requires setting aliases on the dependencies so you can refer to them later (which makes sense). It also allows you to list tasks out of order or that run in parallel.However, the syntax arbitrarily breaks if you try to set an alias without an
after
. This seems backwards. It should be a problem if I can't find an alias as referenced elsewhere, but setting an alias for the current item, shouldn't require specify it's dependencies.Steps to reproduce
In the snippet below,
d
should work just likec
does, but setting the aliasD
for it, creates an error:Invalid date:D
). If you remove the taskd
or just the alias (and comma:D,
), then it works.Screenshots
Code Sample
No response
Setup
Additional Context
FWIW, this might relate to another, possibly unintended feature:
after
keyword with an alias that hasn't been populated will place the task starting on the current dateIn case the best way to solve this issue is more explicit syntax, it might be nice to be able to indicate, that a task simply starts after the previous, and/or that it should start after today and to do those explicitly, not implicitly.
The text was updated successfully, but these errors were encountered: