Cristian Betivu
39c8577074
Use static context
2021-06-16 15:00:17 +10:00
Cristian Betivu
0c2d90a444
Add comment
2021-06-16 15:00:17 +10:00
Cristian Betivu
0c135515a5
Use parent view for tab navigation
2021-06-16 15:00:17 +10:00
Jesse Duffield
a9fbc9eda1
fix merge conflict panel not rendering
2021-04-11 10:21:53 +10:00
Jesse Duffield
39ae122304
more refactoring
2021-04-06 19:34:32 +10:00
Jesse Duffield
4fe512ff3a
test
...
type safe view access
2021-04-06 19:34:32 +10:00
Jesse Duffield
f3a0058eb9
WIP
2021-04-06 19:34:32 +10:00
Jesse Duffield
fafd5234bd
refactor to get view tab context map into gui state
2021-04-06 19:34:32 +10:00
Jesse Duffield
ae0f750770
fix bug where you couldn't change tabs
2021-04-06 19:34:32 +10:00
Jesse Duffield
798d3e2d54
get rid of these positively ghastly method signatures
2021-04-06 19:34:32 +10:00
Jesse Duffield
7d62f103e4
big refactor to give our enums actual types
2021-04-02 11:00:15 +11:00
Jesse Duffield
8dee06f83a
allow toggling tree view for commit files panel
2021-04-02 11:00:15 +11:00
Jesse Duffield
da3b0bf7c8
Start on supporting auto-suggestions when checking out a branch
...
switch to other fuzzy package with no dependencies
2020-11-28 20:48:17 +11:00
Jesse Duffield
682db77401
fix lint errors
2020-11-18 08:36:19 +11:00
Jesse Duffield
4c9ec88be5
fix mutex deadlock
2020-10-10 00:23:01 +11:00
Jesse Duffield
79e59d5460
add some safe goroutines
...
WIP
2020-10-10 00:23:01 +11:00
Jesse Duffield
2e05ac0c90
paging keybindings for line by line panel
...
support searching in line by line panel
move mutexes into their own struct
add line by line panel mutex
apply LBL panel mutex
bump gocui to prevent crashing when search item count decreases
2020-10-10 00:23:01 +11:00
Jesse Duffield
37bb89dac3
type i18n
2020-10-10 00:23:01 +11:00
Jesse Duffield
4912205adb
remove viper
...
WIP
2020-10-10 00:23:01 +11:00
Jesse Duffield
7b4a0f20b2
add submodules context
2020-10-02 08:09:42 +10:00
Jesse Duffield
077f113618
add in-built logging support for a better dev experience
2020-09-26 11:00:50 +10:00
Jesse Duffield
fda9f4ea7a
centralise logic for rendering options map
2020-08-23 14:29:18 +10:00
Jesse Duffield
eb5e54e9fd
use interface for panel state rather than pointer
2020-08-23 14:29:18 +10:00
Jesse Duffield
2fac2f9f1f
WIP
2020-08-23 14:29:18 +10:00
Jesse Duffield
2f5d5034db
good progress
2020-08-23 14:29:18 +10:00
Jesse Duffield
9c866fd49c
more standardisation
2020-08-23 14:29:18 +10:00
Jesse Duffield
3c87ff4eff
WIP: standardising how we render to main
2020-08-23 14:29:18 +10:00
Jesse Duffield
0f7b2c45d7
centralise split main panel code
2020-08-23 14:29:18 +10:00
Jesse Duffield
a12d18146c
better logic for taking focus away from popup panels
2020-08-23 14:29:18 +10:00
Jesse Duffield
ac0eedda91
lots more stuff
2020-08-23 14:29:18 +10:00
Jesse Duffield
7f89113245
WIP
2020-08-23 14:29:18 +10:00
Jesse Duffield
c8add47fe7
move cursor to right when using auto prefix
2020-08-16 18:44:39 +10:00
Jesse Duffield
9b7a6934b3
more removing of g
2020-08-15 18:01:43 +10:00
Jesse Duffield
15229bbdab
more removing of g and v
2020-08-15 18:01:43 +10:00
Jesse Duffield
63e6eea9ec
files view
2020-08-15 18:01:43 +10:00
Jesse Duffield
50d5b9e8e7
status view
2020-08-15 18:01:43 +10:00
Jesse Duffield
cc872b0444
menu view
2020-08-15 18:01:43 +10:00
Jesse Duffield
17b84e09c0
fix remote branches select sig
2020-08-15 18:01:43 +10:00
Jesse Duffield
43f8bae267
fix remotes select sig
2020-08-15 18:01:43 +10:00
Jesse Duffield
b0fe963f8a
fix branches select sig
2020-08-15 18:01:43 +10:00
Jesse Duffield
d9fa02c53b
clean up interface for popup panels
2020-08-15 18:01:43 +10:00
Jesse Duffield
e73937c2bd
more work on new layout functionality
2020-08-13 21:50:23 +10:00
Jesse Duffield
b51ad4fcea
softcode cyclable views
2020-08-13 21:50:23 +10:00
Jesse Duffield
771d4b5811
refactor how we handle layouts
2020-08-13 21:50:23 +10:00
Jesse Duffield
845c80721f
Decouple escaping from quitting
...
When a user is not entering text into a prompt, the 'q' key should immediately
quit the application. On the other hand, the 'esc' key should cancel/close/go-back
to the previous context.
If we're at the surface level (nothing to cancel/close) and the user hits the
escape key, the default behaviour is to close the app, however we now have a
`quitOnTopLevelReturn` config key to override this.
I actually think from the beginning we should have made this config option
default to false rather than true which is the default this PR gives it,
but I don't want to anger too many people familiar with the existing behaviour.
2020-07-18 20:00:48 +10:00
Jesse Duffield
36ac764133
fix race condition when scrolling to merge conflict
2020-05-19 18:05:14 +10:00
Jesse Duffield
9eb1cbc514
reset main's origin when cycling views
2020-03-29 02:36:01 +00:00
Jesse Duffield
a8db672ffb
refactor gui.go
2020-03-29 11:37:29 +11:00
Jesse Duffield
7876cddf4a
remove dead code
2020-03-28 11:59:45 +11:00
Jesse Duffield
29316a528a
better documentation
2020-03-28 11:59:45 +11:00