* Add image name to details view
When frequently opening multiple images perhaps concurrently on multiple
terminals, it would be convenient to have the image name displayed.
This commit adds the image name to the Image Details view.
Image name is trickled down as an additional string argument
design alternatives discarded:
pass in analysis struct - is not related to analysis
pass new struct with image attributes - premature abstraction
* Fix CI lint errors
Co-authored-by: Aviv Shavit <aviv.shavit@aquasec.com>
* add filetree viewmodel
* added attribute toggle
* these views are really controllers
* fix collapse all dir when selected file
* determine filetree upperbound dynamically
* support bounding cursor movements in the view model
* added first view model test case
* added test cases for filetree viewmodel