Commit graph

23 commits

Author SHA1 Message Date
Alex Goodman
bcebe0491c normalize application config and logging 2021-02-15 13:13:08 -05:00
dwillist
ae89e3dc2c create constructors package, move viewmodel initialization into this package
Signed-off-by: dwillist <dthornton@vmware.com>
2021-02-14 17:23:30 -05:00
dwillist
13c58c0055 refactor keybinding structures into separate package
Signed-off-by: dwillist <dthornton@vmware.com>
2021-02-06 12:47:28 -05:00
dwillist
a7a0db6d90 update keybindings to use a file similar to original dive.config file (just requires caseing changes)
Signed-off-by: dwillist <dthornton@vmware.com>
2021-02-01 01:32:34 -05:00
dwillist
e87055b5fa respect dive.config view settings
Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-22 14:31:42 -05:00
dwillist
95387df56f update keybinding display to not carry and state
Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-22 14:07:16 -05:00
dwillist
abee6a60f1 update formatting & refactor to pass unit tests
Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-19 00:46:37 -05:00
dwillist
adbd9d793f remove CNB specific logic for now
Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-18 20:51:36 -05:00
dwillist
9f745c7c8b update styling and improve keybinding display
Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-18 20:07:33 -05:00
dwillist
cf5af7d5b5 add keybinding options that may be added to views
Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-18 14:34:59 -05:00
dwillist
90cc80430e add keybinding menu
- update displayed keybindings as focus changes
- highlight toggleable keys

Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-17 02:18:11 -05:00
dwillist
d2e5ac1e5a update colorization and formatting of output
Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-15 00:33:41 -05:00
dwillist
be945d3501 updates to layer_primitive
- add custom keybindings
- add pagedown functionality (should be factored out evenutally)
- add toggleable layer compare modes

Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-12 23:53:52 -05:00
dwillist
92ce00a1a9 viper configured filetree keybindings
- implement remaining filetree navegation commands

Signed-off-by: dwillist <dthornton@vmware.com>
2021-01-04 00:03:02 -05:00
dwillist
52b326c040 hide image details and layer details for height constrained windows
Signed-off-by: dwillist <dthornton@vmware.com>
2020-12-19 12:28:19 -05:00
dwillist
6666e841eb formatting and import changes using goimports 2020-12-19 02:37:20 -05:00
dwillist
d93c673810 add visible grid component that allows us to hide views and re-allocate the available space
Signed-off-by: dwillist <dthornton@vmware.com>
2020-12-19 02:31:44 -05:00
dwillist
feea882d8e Merge branch 'update_views' of github.com:dwillist/dive into update_views 2020-12-13 22:17:52 -05:00
Dan
1c21a17c11 make ui views hidable, Hide filter view when not in use
Signed-off-by: dwillist <dthornton@vmware.com>
2020-12-13 21:17:49 -05:00
Alex Goodman
4c59494131 add wrapper for dive-like borderless/title style 2020-12-12 11:21:28 -05:00
dwillist
9b01bc02d5 refactor to add composable viewmodels
- fix filetree printing

Signed-off-by: dwillist <dthornton@vmware.com>
2020-10-29 17:19:16 -04:00
dwillist
e2dbdcd3e7 add filterview & update filetree drawing
Signed-off-by: dwillist <dthornton@vmware.com>
2020-10-28 20:16:18 -04:00
dwillist
da7020ad87 implement general behavior using tview
Signed-off-by: dwillist <dthornton@vmware.com>
2020-10-23 19:09:12 -04:00