v13.19.0
Feature Enhancements
App Development
#1320 Add module TypeScript definitions and compatibility
Elyra Canvas now includes Typescript declarations for its API, including:
- The Common Canvas React object
- The canvas controller
- The Common Properties React object
- The properties controller
The declarations are exported from Elyra Canvas for use in your Typescript code. The files can be found in the canvas-modules/common-canvas/types directory in the Elyra Canvas repo.
These declaration leverage Typescript declarations exported from the elyra/pipeline-schemas package that are automatically generated from the JSON schema files contained in that repo. The declarations are for:
- Pipeline flow objects
- Canvas info objects (which are the internal format used by the canvas controller API methods)
Many thanks to David Pham and Sam Mayer for their contributions to this significant new feature.
Common Canvas
#2354 Update Mapping sample app to have editable column names
The Mapping sample app has been updated to have editable column names. The user can click on a column name to make it editable.
#2356 Keyboard equivalents needed for different types of mouse' click'
Currently, when the configuration property enableKeyboardNavigation is set to true, various keyboard interactions are enabled that simulate gestures that can be performed with the mouse or trackpad. In this release, Common Canvas will emit a call to clickActionHandler with an appropriate parameter value to indicate the type of mouse/trackpad gesture being simulated.
For example, with focus on a node:
- Pressing
Command + /simulates a right-click on the node- Common Canvas will make a call to the
clickActionHandlerwith theclickTypeproperty of thesourceparameter set to"SINGLE_CLICK_CONTEXTMENU"
- Common Canvas will make a call to the
- Pressing
returnsimulates a click on the node- Common Canvas will make a call to the
clickActionHandlerwith theclickTypeproperty of thesourceparameter set to"SINGLE_CLICK"
- Common Canvas will make a call to the
- When the node is currently selected, pressing enter simulates a double-click on the node
- Common Canvas will make a call to the
clickActionHandlerwith theclickTypeproperty of thesourceparameter set to"DOUBLE_CLICK"
- Common Canvas will make a call to the
Common Properties
No new features
Issues Resolved
- #1320 Add module TypeScript definitions by @samueldmeyer in #2282
- #2352 Node context toolbar with an overflow menu and toolbar items behave oddly on Safari-fix by @Jerinjk14 in #2353
- #2354 Update Mapping sample app to have editable column names by @tomlyn in #2355
- #2356 Keyboard equivalents needed for different types of mouse' click' by @tomlyn in #2357
- #2360 MoveFocusTo can sometimes have an error in complex refresh scen… by @tomlyn in #2361
New Contributors
- @samueldmeyer made their first contribution in #2282
Full Changelog: v13.18.0...v13.19.0