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

Milestone overlaps milestone doesn't get detected #7327

Closed
taauntik opened this issue Aug 17, 2023 · 0 comments
Closed

Milestone overlaps milestone doesn't get detected #7327

taauntik opened this issue Aug 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@taauntik
Copy link

Forum post

Hi, I have one resource and it has multiple tasks on same date. I have used eventrenderer to highlight the color orange if the dates overlap. It works fine for some task but shows green for others too.

using

eventRenderer(data) {
          const { eventRecord : task, resourceRecord, renderData } = data;
          const { eventStore } = task;
          // Highlight overlapping tasks within a resource
          if (!eventStore.isDateRangeAvailable(task.startDate, task.endDate, task, resourceRecord)) {
              renderData.eventColor = '#f4803a';
          }
          return task.name;
      },
    };

Reproducible in scheduler basic demo https://bryntum.com/products/scheduler/examples/basic/
bryntum event renderer.jpg

@taauntik taauntik added bug Something isn't working forum Issues from forum labels Aug 17, 2023
@isglass isglass self-assigned this Aug 18, 2023
@isglass isglass added in progress ready for review Issue is fixed, the pull request is being reviewed and removed in progress labels Aug 18, 2023
@isglass isglass added this to the 5.6.0-alpha-2 milestone Aug 21, 2023
@isglass isglass added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Aug 21, 2023
@SergeyMaltsev SergeyMaltsev modified the milestones: 5.6.0-alpha-2, 5.6.0 Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

3 participants