Skip to content

release_12.27.0

Compare
Choose a tag to compare
@tomlyn tomlyn released this 09 Mar 06:20
· 437 commits to main since this release
ab26e20

Feature Enhancements

Common-Canvas

#1385 Enhancement request: Add top panel option

A new feature has been added to display a 'top panel' in common-canvas. This appears below the toolbar and between the palette and the right side flyout. The height of the top panel will change to accommodate whatever contents are displayed within it.

image

There are two new props for CommonCanvas react object called:

  • showTopPanel - this is a boolean that, when set to true, will display the top panel
  • topPanelContent - this is a JSX object that contains the contents to be displayed in the top panel

In addition there is a new CanvasController method called isTopPanelOpen() which will return true if the panel is open and false if not.

Common-Properties

#1370 Removed default placeholder for empty list selectcolumn and selelectschema controls

In elyra-ai/canvas version 12.26.0, we added a default placeholder "No options available" for empty dropdown lists. This default placeholder has been removed.

In elyra-ai/canvas version 12.27.0, the default placeholder for empty and non-empty dropdown lists will be . Like this:

image

#1372 Add a line break when description contains \n

When a description contains \n, common-properties will add a line break in the tooltip or on_panel descriptions. For example,

"description": {
    "default": "checkbox with a default value of 'true'\nThis text should be on a new line.\nThis text should also be on a new line."
}

would display this:

image

#1379 Added a config option for required/optional label indicator

In elyra-ai/canvas version 12.26.0, common-properties internally set the required or optional indicator based on number of properties. This internal setting way of showing the optional/required indicator has been removed.

In elyra-ai/canvas version 12.27.0, a new config option showRequiredIndicator has been added to the propertiesConfig object to let the host application decide which indicator to show.

The showRequiredIndicator config option defaults to true to show the (required) indicator next to the property's label, like this:

image

When set to false, it will show the (optional) indicator next to the property's label, like this:

image

Issues Resolved

#1394 Reverse change to common-canvas scss (#1395)
#1391 Accessibility: Fixed Properties tearsheet does not have associated name (#1393)
#1389 Accessibility: Fixed violation in properties table (#1390)
#1385 Enhancement request: Add top panel option (#1386)
#1383 Node port icon still displayed after outputs array is set to undefined (#1384)
#1379 Added a config option for required/optional label indicator (#1380)
#1381 Updated Translations (#1382)
#1377 Warnings showing up in jests tests (#1378)
#1337 Create tests for new enableNodeLayout config parameter and layo… (#1339)
#1375 Fix glmm example in properties (#1376)
#1372 Add a line break when on panel description contains \n (#1374)
#1372 Add a line break when tooltip contains \n (#1373)
#1366 Documentation Updates (#1367)
#1370 Removed default placeholder for empty list selectcolumn and selectschema controls (#1371)
#1368 Align Close Icon With Carbon (#1369)