Skip to content

v4.6.3

Compare
Choose a tag to compare
@dogusata dogusata released this 23 Apr 09:33
· 716 commits to main since this release
0823440

This version includes a proper single file view for fileList parameter if it only has one filePath string.

Added

  • Single file view to FileTreeView. If you provide only one file path string in the fileList parameter of ChatItem, it will fit the file row to the parent wrapper and make it look like a standalone attachment with a paper clip icon as appears in the UI/UX design docs. However, you can still use the details (info and status color) and actions parameters for that file.
  • cardTitle check to FileTreeView. If you provide an empty string ("") it is not getting rendered anymore.
  • PAPER_CLIP icon
  • onFileClick event added as a replacement of onOpenDiff in the next major version update. onOpenDiff has the deprecation warning now. Please use onFileClick instead with the exact same arguments.

Updates

  • Replaced internal event name OPEN_DIFF to FILE_CLICK
  • Moved FileNode from FileTreeView to a separate component for reusability.
  • Clickable item style hierarchy from .card-body to .card

Demo App

  • Updated the Progressive example with better check icons ([ ] and [x]) and adding a single file view example when the progress finishes.

Change visuals

Screenshot 2024-04-22 at 13 24 37