This aimes to resolve multiple minor bugs and refactorings for the Tech Data Server. It also resolves the bug that prevented the import functionality from working correctly.
Details
ParentConfigList:
the anchor tag for config export appended to document.body is now properly removed after download
edit-modal is now closed properly after edit is handled
sorting by description is removed in accordance with the process list design
sorting by date now actually sorts by date not alphabetically
Upload-Button now is hidden at breakpoint xs in accordance with the process list design
redundant Tooltip for Upload-Button saying the same as label removed
Delete-Buttons now properly show Tooltips
import errors now correctly propagate
an imported configs folderID and environmentId are now set to the IDs of the current environment
ConfigurationTreeView:
Tooltip placement is now set from "top" to "right"
changed placement of Expand/Collapse- and Hide-Button
improved readability of deletion-modal
ConfigEditor:
creation of new parameters now creates properties with default strings for optional fields. Previously when no input was given the associated property was omitted as a whole, which caused errors.
Delete-Button for parameters added
machine-config:
new optional parameter (newId: boolean = false) added to the following functions: parametersToStorage, targetConfigToStorage, machineConfigsToStorage, parentConfigToStorage
the parameter determines if a new ID is to be generated for the data
this is used to handle duplicate IDs in imports
addParentConfig now handles duplicates and generates new IDs in case of a collision
Summary
This aimes to resolve multiple minor bugs and refactorings for the Tech Data Server. It also resolves the bug that prevented the import functionality from working correctly.
Details
ParentConfigList:
document.body
is now properly removed after downloadfolderID
andenvironmentId
are now set to the IDs of the current environmentConfigurationTreeView:
ConfigEditor:
machine-config:
newId: boolean = false
) added to the following functions:parametersToStorage
,targetConfigToStorage
,machineConfigsToStorage
,parentConfigToStorage
addParentConfig
now handles duplicates and generates new IDs in case of a collision