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
b310bdb2d6
Add module awesome-gocui/keybinding
2020-12-27 20:28:29 +09:00
cxsu
5e9380dc63
Update gocui module
2020-12-27 14:56:03 +09:00
springcomet
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
a9c2e48d10
add option to ignore image parsing errors; closes #258
2020-02-09 22:30:21 -05:00
Alex Goodman
16fde15dbf
fix expand bug for details pane and bottom status bar
2020-02-09 10:43:11 -05: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
cc40317207
skip empty keybinding configs
2019-12-27 09:28:37 -05:00
Alex Goodman
bf90d13567
Merge pull request #268 from wagoodman/tree-dim-overflow
...
Fix right border + file tree header for attributes
2019-12-27 09:11:48 -05:00
Anatoli Babenia
20ec5cf2aa
Simplify nil check for slice
...
len() for nil slices is defined as zero (gosimple)
2019-12-26 13:22:48 +03:00
Anatoli Babenia
bf7dd663c1
Propagate error from parsing keybinding ( #129 )
2019-12-26 12:35:50 +03:00
Alex Goodman
b68bce154a
fix filetree attribute header
2019-12-16 22:19:59 -05:00
Alex Goodman
8c6a7ce973
expand right column
2019-12-16 22:19:39 -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
27ef402a7f
fix footer + onLayoutChange propagation on view hide
2019-11-24 22:04:30 -05:00
Alex Goodman
94699db059
introduce area obj + breakup layout function
2019-11-24 12:57:44 -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
fcb50f0c27
Merge branch 'master' into fix-log-and-tar-paths
2019-11-20 14:58:33 -08:00
Alex Goodman
ed57565910
fix nil log dest; clean tar paths
2019-11-19 09:59:57 -08:00
Alex Goodman
ba7b39c52f
add package install tests + basic execution of dive
2019-11-09 15:40:54 -05:00
Alex Goodman
7ec08a364b
add podman dependencies to docker image (switch to debian)
2019-11-05 00:01:33 -05:00
Alex Goodman
74e4fe2560
decouple views with listeners
2019-10-13 20:56:58 -04:00
Alex Goodman
939741625d
drop package names from object names
2019-10-13 11:49:18 -04:00
Alex Goodman
2069a3fede
first step at ui obj refactor
2019-10-13 11:42:13 -04:00
Alex Goodman
34d8cbcef5
move to app object
2019-10-11 12:25:48 -04:00
Alex Goodman
45604e5c66
add keybinding package
2019-10-11 12:11:07 -04:00
Alex Goodman
c8ab7098d8
add tests to cover runtime entrypoint
2019-10-09 14:49:59 -04:00
Alex Goodman
e39e646191
adding docker-archive source option
2019-10-08 18:55:03 -04:00
Alex Goodman
41b42cdd68
only podman via docker archive support
2019-10-08 10:08:53 -04:00
Alex Goodman
c83bc9e3d0
remove podman from darwin/windows builds
2019-10-08 09:38:41 -04:00
Alex Goodman
fcb5ec01ef
gofmt
2019-10-07 18:25:53 -04:00
Alex Goodman
2640bdced8
fix tests
2019-10-07 18:25:35 -04:00
Alex Goodman
4714aca123
fix tests
2019-10-07 17:44:52 -04:00
Alex Goodman
7f786eb725
cleanup layer id/digest & add tags support
2019-10-07 13:57:59 -04:00
Alex Goodman
2712c1017e
remove reverse iteration for layer display and processing
2019-10-07 12:41:57 -04:00
Alex Goodman
a310732060
add shared layer type (instead of interface)
2019-10-07 12:09:31 -04:00
Alex Goodman
d53d8926bc
stop swallowing errors & cleanup exit logic
2019-10-07 11:44:41 -04:00
Alex Goodman
26d37baabd
better error propagation on startup
2019-10-06 12:15:58 -04:00
Alex Goodman
8053a8d1aa
introduced common image format and analyzer
2019-10-03 16:46:29 -04:00
Alex Goodman
50d776e845
rework resolver interface
2019-10-03 10:47:38 -04:00
Alex Goodman
acfdd70854
playing with podman store data
2019-10-02 15:48:10 -04:00
Alex Goodman
5a65ba566c
added sleep to prevent termbox race condition
2019-09-22 22:43:30 -04:00
Alex Goodman
576709ad30
rework package structure
2019-09-21 16:28:45 -04:00