C3 AI Documentation Home

Change log for uiGanttChartReact

All notable changes to the package uiGanttChartReact are documented here.

8.6.9

Breaking Change

  • Legend: Gantt Chart events now will only show legend if the event has parentId === 'LegendLabel'.

Bug fixes

  • UiSdlGanttChart
    • Solved a bug that prevented users from selecting multiple events when dragging started on the connection of two resources lines.
    • Fix Legends of the non filtered events are not hidden.
    • Fix a bug when using calendarHighlight feature with collectAvailableResources function. The bug was that the code was mutating an internal object that was previously defined in a different way.
    • Fixed a bug where users were not able to start lasso selection (drag select) from resource time ranges.
    • Users were seeing wrong start date when switching between different instances of the gantt component. Fixed the issue, now it shows the correct date every time.

Improvements

  • Enhanced TimelineZoom functionality to fully support and respect custom view presets.
  • Enhanced Timeline header to be initially zoomed to the provided start and end dates so that the initial time range fits the visible area.

8.6.8

Improvements

  • Grouped Gantt event legend into one if legend label, icon and color are all the same.
  • Added Gantt event legend group title UiSdlGanttChartEventDataSpec.legendGroupTitle. Events having the same group title will be displayed together below the group title.

Bug fixes

  • Fixed gantt not responsive to zoom level in state.
  • Fixed gantt not responsive to eventLayout in state.

8.6

Bug fixes

  • UiSdlGanttChartReact
    • Fixed an issue where Drag & Drop Tooltip was not displaying end date correctly.
    • Fixed an issue where Tooltips did not handle daylight saving time correctly for event start and end dates.

8.5.12

Improvements

  • UiSdlGanttChartReact
    • Added the ability to specify a custom field for the GanttChart Legend. This allows for greater flexibility in defining the legend's behavior and appearance.
    • Introduced a new Redux action, clickGanttLegendAction, which is triggered when a legend item is clicked.

8.5

Bug fixes

  • UiSdlGanttChartReact
    • Fixed an issue where multiple time zones were not properly reflected in the currentTimeLine and event tooltips.
    • Fixed a bug where the React component was not respecting the time zone because it was being rerendered and it was losing the assigned time zone.
    • Fixed a bug where event tooltips were not showing correct start/end time upon dragging.
    • Fixed a bug where component was rerendering multiple times and was causing flickering.

Improvements

  • UiSdlGanttChartReact
    • Added the ability to dynamically load the correct style sheet from Bryntum depending on the current theme of the application.

8.4.1

Bug fixes

  • UiSdlGanttChartReact
    • Fix issue where defaultViewPreset is not resolving dynamicValue.
    • Solved a bug where dependencies IDs generation was producing duplicated IDs. Now is taking the unique ID that comes from the dependency object, if not provided, will fallback to new unique ID generation.
    • Solved a bug where UiSdlGanttChartResourceData.children was not supporting passing children as an array of ids.
    • Solved a bug where UiSdlGanttChartResourceData.children was throwing and error when at least one of the children does not exist in the resources array, now just ignores the missing children.
    • Solved a bug where UiSdlGanttChartResourceDataSpec.parentResource was not mapping the specified field name in data spec to the resource data.
    • Fix a bug where lineStyle on dependency doesn't work.
    • Solved a bug in UiSdlGanttChartEventDataSpec where fields were not resolved when they were configured using UiSdlDynamicValueSpec.
    • Solved a bug in UiSdlGanttChartResourceDataSpec where fields were not resolved when they were configured using UiSdlDynamicValueSpec.
    • Solved a bug in UiSdlGanttChartCalendarDataSpec where fields were not resolved when they were configured using UiSdlDynamicValueSpec.
    • Solved a bug in UiSdlGanttChartTimeRangeDataSpec where fields were not resolved when they were configured using UiSdlDynamicValueSpec.
    • Fixed a CSS issue where selected events had no additional styling.

Improvements

  • UiSdlGanttChartReact
    • Added a configurations in eventDataSpec.tooltipFields.placeholder that allows tooltip fields to display placeholder when there is no value associated.
    • Added a configuration in eventDataSpec.tooltipFields.alwaysVisible that allows tooltip fields to be hidden when there is no value and placeholder associated.
    • Added a configuration in evenDataSpec.manuallyScheduled that allows move events if have dependents.

8.4.0

Improvements

  • UiSdlGanttChartReact
    • Added dim option that allows an event to render with opacity of 50%.
    • Added a configurations in eventDataSpec.tooltipFields.placeholder that allows tooltip fields to display placeholder when there is no value associated.
    • Added a configuration in eventDataSpec.tooltipFields.alwaysVisible that allows tooltip fields to be hidden when there is no value and placeholder associated.

Bug fixes

  • UiSdlGanttChartReact
    • Solved a bug where the legend labels were not taking the predefined token values for color.
    • Fixed issue where icon and secondary label did't show up.
    • Fixed issue when UiSdlGanttChartXAxisConfig#viewPresets is not passed.
    • Removing xAxis.name since is not being used.
    • Fixed context menu items are not being translated.
    • Solved a bug in UiSdlGanttChartEventDataSpec where fields were not resolved when they were configured using UiSdlDynamicValueSpec.
    • Solved a bug in UiSdlGanttChartResourceDataSpec where fields were not resolved when they were configured using UiSdlDynamicValueSpec.
    • Solved a bug in UiSdlGanttChartCalendarDataSpec where fields were not resolved when they were configured using UiSdlDynamicValueSpec.
    • Solved a bug in UiSdlGanttChartTimeRangeDataSpec where fields were not resolved when they were configured using UiSdlDynamicValueSpec.

New Features

  • New component
    • uiGanttChartReact
      • Created new component.
Was this page helpful?