Release Notes 16.1.000
Version Information
Version Information |
---|
Release 16.1.001 |
Bootstrap 4 Upgrade
This release requires to update to Bootstrap Version 4.
See Updating to Bootstrap 4 for details on this mandatory step to perform the update on existing projects.
System requirements
An overview of required dependencies and version can be obtained at SmartComponent Library NG Web System Requirements.
Overview of included tickets
Bug Fixes
SCLNG-681 The Smart Data Source now handles all HTTP errors resulting from the CRUD request
Previously, the Smart Data Source only handled validation errors from the backend; if the HTTP status code was not 200, the error was handled by our global error handler by default. We have changed this behavior so that the Smart Data Source will now handle all HTTP errors that are a result of the CRUD request that was made.
SCLNG-685 Improved the styling of Smart Viewer field sets
We have improved the styling of the Smart Viewer field set title.
SCLNG-691 Improved the styling of Smart Viewer fields that have no labels
We have improved the styling of Smart Viewer fields that do not have a label to better align horizontally with those fields that do have a label.
SCLNG-695 Disable the Smart Lookup field while the selection dialog is open
The Smart Lookup input field will now be disabled while the lookup selection dialog is open.
SCLNG-706 Fixed rendering of text inputs with no label
We have fixed an issue where Smart Viewer and Smart Frame rendering would be broken when the layout included text inputs with no label.
SCLNG-709 Fixed formTitle property not being applied for minimized floating windows
We have fixed an issue where the formTitle property provided with the Smart Form JSON layout would not be applied to minimized floating windows.
SCLNG-728 Fixed issue in Smart Lookup extraFieldsSet method
We have fixed an issue where the Smart Lookup’s extraFieldsSet method could wipe the wrong fields of the Smart Viewer’s data source.
SCLNG-730 Fixed labelStyle setting not being used for Smart Viewer fields
We have fixed an issue where the labelStyle setting, which provides CSS rules for a Smart Viewer field’s label, was not being applied.
SCLNG-731 Improved styling of Smart Lookup search button
We have improved the styling of the Smart Lookup so that the search button is not wrapped into a new line when the Smart Lookup field is too narrow.
SCLNG-733 Implemented support for rendering plain text error messages
We have implemented support in our Smart Error Handler service to render plain text error messages from the backend.
SCLNG-736 Fixed Smart Data Source issue when canceling changes
We have added a check that prevents calling Object.keys on an undefined object while canceling changes within a Smart Data Source.
SCLNG-738 Fixed Smart Grid keyboard navigation
We have fixed an issue where the Smart Grid keyboard navigation would not work in certain cases. We have also limited the keydown event listeners to keydown.ArrowDown / keydown.ArrowUp.
SCLNG-740 Fixed issue when switching from SDI to MDI
We have fixed an issue where if a view had already been navigated to prior to switching from single to multiple display mode, the view would still be rendered after reload.
SCLNG-748 Fixed Smart Combo Editor not expanding on click
We have fixed an issue where the Smart Combo Editor did not expand when the user clicked the combo box.
SCLNG-750 Improved positioning of Smart Toolbar buttons during resizing
We have improved the positioning of Smart Toolbar buttons during the resizing of the parent container element so that they are better aligned.
SCLNG-751 Improved styling of disabled Smart Lookups
We have improved the styling of Smart Lookups that are disabled so that the input field does not contain a white border.
SCLNG-752 Improved styling of disabled Smart Combo Editors
We have improved the styling of Smart Combo Editors that are disabled and have the allowFiltering: true
setting so that the input field does not contain a border.
SCLNG-756 Fixed error when navigable is not set on a Smart Grid
We have fixed an issue where not setting a value for the navigable setting for any Smart Grid within a Smart Form would result in an error being thrown.
SCLNG-760 Disabled Detail Forms from being moved outside of the working area
The Detail Forms of Smart Grids can no longer be moved outside of the working area.
SCLNG-761 Improved alignment of Smart Viewer field sets with no labels
We have improved the styling of Smart Viewer field sets that do not have a label so that they align horizontally with those field sets that do.
SCLNG-762 Optimised usage of space within Smart Forms that include a Smart Tab Folder
We have optimised how available space is distributed between components in Smart Form layouts that include a Smart Tab folder in order to reduce waste of screen real estate.
SCLNG-763 Implemented support for configurable size of Detail Forms
Detail Forms can now be configured to open with a specific width and height that are provided with the Smart Form’s JSON layout.
SCLNG-764 Fixed rendering of date field labels
We have fixed an issue where Smart Viewer date fields would be rendered with labels despite having the noLabel: true
option set.
SCLNG-765 Fixed rendering of Smart Lookup background colors
We have fixed an issue where changing the background color of a Smart Lookup would result in a gray border surrounding the Smart Lookup.
SCLNG-843 Fixed Smart Split Pane orientation when floating window is restored
We have fixed an issue where a Smart Split pane’s orientation would wrongly be set from horizontal to vertical after a floating window was minimized and restored.
SCLNG-844 Fixed the Smart Form's dirty state after error is encountered while saving changes
We have fixed an issue where the Smart Form would no longer be in a dirty state after an error was encountered while saving changes.
SCLNG-845 Fixed enabled state of Smart Viewer fields in MDI
We have fixed an issue in multiple display mode where Smart Viewer fields would be wrongly enabled when a Smart Form was closed and re-launched.
SCLNG-846 Fixed styling of checkbox filter fields within the Smart Filter
We have fixed an issue where checkbox filter fields within the Smart Filter were not displayed properly.
SCLNG-863 Fixed issue with Smart Viewers rendered in unselected tab folder pages
We have fixed an issue where a Smart Viewer rendered within a tab folder page that was not initially selected would throw an error during initialization.
New Features
SCLNG-676 Implemented support for injecting Smart Data Source instances into newly launched forms
We have implemented the ability to inject existing Smart Data Source instances into a newly launched (child) Smart Form.
When starting the second form instance using an API, the first form can provide a map of selected of it’s own data-sources.
{
“customerDataSource”: customerDataSource,
"orderDataSource": orderDataSource
}
SCLNG-680 Implemented support for update-mode in Smart Viewer
We have introduced a new Smart Viewer setting named “SaveMode”. When this setting is set to false, the Smart Viewer fields will be disabled by default enabling them will require that the user presses the “Update” button. When it is set to false, the Smart Viewer fields will be enabled and the user will only need to click “Save” to submit their changes.
SCLNG-692 Angular 16
We updated the project to Angular 16.
SCLNG-693 Implemented support for enabling/disabling only table IO target Smart Toolbar controls
The Smart Toolbar now supports updating the enabled state of only the table IO target controls.
Usage:
toolbar.enableIOTargetControls(); // enables all table IO target controls
toolbar.disableIOTargetControls(); // disables all table IO
SCLNG-703 Support for more levels of depth for the Side Drawer Menu
Previously the Side Drawer Menu only supported two levels of depth. We have updated it to support up to eleven levels.
SCLNG-712 Fixed issue regarding Widget Facade Focus method
We have fixed an issue where calling Focus() on a Widget Facade would not always work.
SCLNG-719 Updated styling rules for Kendo UI update
We have updated our styling rules to support new CSS identifiers used by Kendo UI.
SCLNG-724 CLI Tool support for Angular 16
We have updated our CLI Tool to support Angular 16.
SCLNG-727 Removed Smart Viewer field enabledStates "idle", "reading" and "error"
We have removed the Smart Viewer field enabledStates "idle", "reading" and "error".
SCLNG-732 Implemented support for Modal Forms
We have implemented support for launching Smart Forms modal.
SCLNG-739 Removed additional HostListeners for document level events in the Smart Grid
We have removed additional HostListeners for document level events in the Smart Grid and scoped them to the specific Smart Grid element only.
SCLNG-743 Improved handling of off-screen floating windows
We have improved the handling of off-screen floating windows. When double clicking a floating window’s task bar item, the window will be brought back into view and be given focus.
SCLNG-749 Implemented support for Smart Frame logic classes
We have implemented support for Smart Frame logic classes.
SCLNG-766 Automatically disable update button when SaveMode is enabled
When a Smart Viewer uses the SaveMode=true
option, the “Update” Smart Toolbar button will be automatically disabled if it is provided in the Smart Form’s JSON layout.
SCLNG-780 Simplified Angular directive usage in Smart Grid template
We have simplified the usage of Angular directives within the Smart Grid’s HTML template to optimise rendering performance.
SCLNG-864 Implemented RuntimeClassName decorator
We have implemented a RuntimeClassName decorator that can be used to ensure that a class’s name is maintained at runtime even after code has been minified and obfuscated.
Usage:
@RuntimeClassName('PersistentClassName')
export class PersistentClassName {}