Commit Graph
18 Commits
Author SHA1 Message Date
chen a7dfbb7927 fix layer view curosr pgup/pgdn 2023-07-06 11:01:00 -04:00
chen c4b2723d97 fix layer view curosr up/down 2023-07-06 11:01:00 -04:00
Luka Markušić 2aad87c37e Refactor the GUI layout
The Details struct was split into two, LayerDetails and ImageDetails,
Each of the three views (Layer, LayerDetails, ImageDetails) takes up
a third of the available height of the screen, and they are all now
selectable and scrollable.
2022-04-30 00:17:32 +02:00
Alex Goodman 341239b07f Merge branch 'master' into wrap-tree 2021-01-02 11:59:36 -05:00
cxsu aadcbcb443 Add wrapping tree key 2020-12-27 22:52:20 +09:00
cxsu d4a9c08079 Fix detail wrap option 2020-12-27 21:55:48 +09:00
cxsu 5e9380dc63 Update gocui module 2020-12-27 14:56:03 +09:00
springcometandAviv Shavit 3430221ada Add image name to details view (#325)
* 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>
2020-12-12 07:46:09 -05:00
Anatoli Babenia f5b5a42a3d Fix linter S1039: unnecessary use of fmt.Sprintf (gosimple)
https://github.com/wagoodman/dive/runs/526866415#step:7:14
2020-03-23 11:39:39 +03:00
Alex Goodman 8818b9934f reactive layout; addresses #179 2019-12-28 12:28:19 -05:00
Alex Goodman 65f40c2ee6 partially complete with slim layer 2019-12-27 09:51:11 -05:00
Alex Goodman b68bce154a fix filetree attribute header 2019-12-16 22:19:59 -05:00
Alex Goodman 776c1f9436 add tests 2019-11-27 23:07:56 -05:00
Alex Goodman e8301be74d rm unused cursor methods 2019-11-24 22:09:10 -05:00
Alex Goodman 8a3642a57f central header formatter 2019-11-24 12:23:43 -05:00
Alex Goodman 14706152a1 added simple layout manager 2019-11-23 21:13:08 -05:00
Alex Goodman ed57565910 fix nil log dest; clean tar paths 2019-11-19 09:59:57 -08:00
Alex Goodman 74e4fe2560 decouple views with listeners 2019-10-13 20:56:58 -04:00