Premium support for our pure JavaScript UI components


Post by djayaram »

Hello,

Issue #1:
We've observed that in calendars with more than two recurring non-working intervals, holidays are not correctly marked as non-working periods on the Gantt bars. In the image below, we have two recurring intervals named 'Off Hours' and 'Lunch Breaks', in addition to a non-recurring holiday, 'Independence Day'.

Our expectation is for the non-working times, including the 4th of July, to be accurately reflected on the bar. However, it is shown as a working day.

steps to reproduce:
I've prepared a code snippet to paste on the gantt calendars. demohttps://bryntum.com/products/gantt/examples/calendars/. I'm attaching the code snippet here since the forum editor doesn't let me paste snippets inline.

Issue #2:
The 'taskNonWorkingTime' feature seems to conflict with the 'fillTicks' feature. In the example provided, the view preset has been changed to 'weekAndDayLetter' with 'fillTicks' enabled. We notice that the nonWorkingTime segment is not confined within the day boundaries.

steps to reproduce:

  • modify the above code snippet: 'viewPreset: weekAndDayLetter',
  • Add a 'fillTicks: true' to the gantt config.
Attachments
Screenshot 2024-03-18 at 12.04.31 PM.png
Screenshot 2024-03-18 at 12.04.31 PM.png (59.55 KiB) Viewed 175 times
taskNonWorkingTime.js
(5.17 KiB) Downloaded 15 times
Screenshot 2024-03-18 at 11.55.29 AM.png
Screenshot 2024-03-18 at 11.55.29 AM.png (66.69 KiB) Viewed 175 times

Post by tasnim »

Hi,

Thank you for your report.
I don't really understand the first issue, can you please explain a bit more about it and would it be possible to share a video about it?
And for the second issue, I've opened a ticket to investigate it. Here it is https://github.com/bryntum/support/issues/8833

Best of luck :),
Tasnim


Post by djayaram »

Hi Tasnim,

Unfortunately, there is no video on the first issue. It's a rendering issue - The gantt bar should be marked as non-working on the 4th of July with my current configuration

"intervals": [
                {   
"name": "Lunch Break", "recurrentStartDate": "on Mon, Tue, Wed, Thu, Fri at 12:00", "recurrentEndDate": "on Mon, Tue, Wed, Thu, Fri at 13:00", "isWorking": false }, { "name": "Off Hours", "recurrentStartDate": "on Mon, Tue, Wed, Thu, Fri at 17:00", "recurrentEndDate": "on Mon, Tue, Wed, Thu, Fri at 08:00", "isWorking": false }, { "name": "Independence Day", "startDate": "2024-07-04", "endDate": "2024-07-05", "isWorking": false }, ]

and currently it does not. I'm attaching screenshots of expected vs incorrect behavior

Attachments
Screenshot 2024-04-03 at 12.58.35 PM.png
Screenshot 2024-04-03 at 12.58.35 PM.png (28.46 KiB) Viewed 87 times
Screenshot 2024-04-03 at 1.01.31 PM.png
Screenshot 2024-04-03 at 1.01.31 PM.png (25.35 KiB) Viewed 87 times

Post by alex.l »

Hi,

Thanks for clarifications, I see the problem. Here is a ticket https://github.com/bryntum/support/issues/8943
You can subscribe on ticket updates to be notified when it's done.

All the best,
Alex


Post Reply