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

Gantt excludes breaking dynamic task duration #5867

Open
AndreKurait opened this issue Sep 16, 2024 · 0 comments
Open

Gantt excludes breaking dynamic task duration #5867

AndreKurait opened this issue Sep 16, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@AndreKurait
Copy link

AndreKurait commented Sep 16, 2024

Description

When an excludes day occurs within a task that doesn't have a fixed duration (uses until or fixed end), the duration of the task is extended.

Steps to reproduce

e.g. task Two is supposed to occur until task three, but they overlap with the excludes day added

gantt
    title       Until POC
    dateFormat  D
    axisFormat Day %d
    excludes    3
    tickInterval 1day

    section Until Demo
    One   :  one, 1, 1d
    Two   :  after one, until three
    Three :  three, 4, 1d
Loading
gantt
    title       Until POC
    dateFormat  D
    axisFormat Day %d
    excludes    2
    tickInterval 1day

    section Fixed end
    OneToThree   :  one, 1, 3
Loading

Screenshots

image

Code Sample

gantt
    title       Until POC
    dateFormat  D
    axisFormat Day %d
    excludes    3
    tickInterval 1day

    section Until Demo
    One   :  one, 1, 1d
    Two   :  after one, until three
    Three :  three, 4, 1d

Setup

  • Mermaid version: v11.2.0+7a86fd7
  • Browser and Version: [Arc]

Suggested Solutions

No response

Additional Context

Note: This does not occur if the excludes day starts at the beginning of a task

gantt
    title       Until POC
    dateFormat  D
    axisFormat Day %d
    excludes    2
    tickInterval 1day

    section Until Demo
    One   :  one, 1, 1d
    Two   :  after one, until three
    Three :  three, 4, 1d
Loading
@AndreKurait AndreKurait added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 16, 2024
@AndreKurait AndreKurait changed the title Gantt Until not respecting excludes during task Gantt excludes breaking dynamic task duration Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant