File list doesn't support single file view without root and card title information
Solution
If there is only one file provided in the fileList array, it will only show one single file but will keep all the functionality like details, file actions and file status.
Updates
Renamed internal event OPEN_DIFF to FILE_CLICK
Moved FileNode component inside chat-item-tree-view to a separate component for reusability
Updated clickable item style hierarchy from card-body to card to also support items in file list and forms.
Applied prettier on updates scss files.
Removed
inline line comments
Added
onFileClick event handler to replace onOpenDiff on next major version
Deprecation notices for onOpenDiff
Single file view to FileTreeView
File tree card title check statement to render or not render the card title
PAPER_CLIP icon
Demo app
Renamed onOpenDiff event to onFileClick (to follow major change on library)
Replaced progress card checkbox icons with html unicode chars
Updated progress card with single file list support
Single file visuals:
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
Solution
If there is only one file provided in the fileList array, it will only show one single file but will keep all the functionality like details, file actions and file status.
Updates
OPEN_DIFF
toFILE_CLICK
FileNode
component insidechat-item-tree-view
to a separate component for reusabilitycard-body
tocard
to also support items in file list and forms.scss
files.Removed
Added
onFileClick
event handler to replaceonOpenDiff
on next major versiononOpenDiff
PAPER_CLIP
iconDemo app
onOpenDiff
event toonFileClick
(to follow major change on library)Single file visuals:
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.