Jesse Duffield
f8c9ce33c2
move more actions into controller
2023-04-30 13:19:53 +10:00
Jesse Duffield
db12853bbe
lots of changes
2023-04-30 13:19:53 +10:00
Jesse Duffield
43251e7275
split context common from helper common
2023-04-30 13:19:53 +10:00
Jesse Duffield
f081358943
move getDisplayStrings funcs into contexts
2023-04-30 13:19:53 +10:00
Jesse Duffield
1b2fb34ffd
start moving getDisplayStrings funcs into contexts
2023-04-30 13:19:53 +10:00
Jesse Duffield
0e5a4c7a36
move getModel functions into contexts
2023-04-30 13:19:53 +10:00
Jesse Duffield
47b91f1ef5
move views into contexts
2023-04-30 13:19:53 +10:00
Jesse Duffield
e2db6a1732
remove context callback opts
2023-04-30 13:19:53 +10:00
Jesse Duffield
509e3efa70
lots more refactoring
2023-04-30 13:19:53 +10:00
Jesse Duffield
8edad826ca
Begin refactoring gui
...
This begins a big refactor of moving more code out of the Gui struct into contexts, controllers, and helpers. We also move some code into structs in the
gui package purely for the sake of better encapsulation
2023-04-30 13:19:52 +10:00
Ryooooooga
a624e0457f
feat(subcommits): load unlimited sub-commits
2023-02-27 15:29:00 +09:00
Jesse Duffield
c517d1e0a2
update view cursor when selecting new line in patch explorer view
2023-02-18 10:19:34 +11:00
stk
8cad8cda8f
Don't bother setting view cursor pos for staging/stagingSecondary views
...
Now that the cursor highlight is never shown (see previous commit), there's no
reason to update the cursor position any more.
2023-02-15 21:32:21 +01:00
Jesse Duffield
af5b3be286
integrate snake game into lazygit
2022-12-30 12:18:59 +11:00
Jesse Duffield
e4e04cfa8f
fix hidden suggestions
2022-08-07 19:20:02 +10:00
Jesse Duffield
755ae0ef84
add deadlock mutex package
...
write to deadlock stderr after closing gocui
more deadlock checking
2022-08-07 11:16:14 +10:00
Jesse Duffield
7410acd1aa
move merge conflicts code into controller
2022-08-07 11:16:03 +10:00
Jesse Duffield
445a625b56
rename merging context to mergeConflicts
2022-08-06 18:05:00 +10:00
Jesse Duffield
524bf83a4a
refactor to only have one context per view
2022-08-06 13:49:11 +10:00
Jesse Duffield
fab2e14b55
fix issue caused by opening a menu over a prompt
2022-08-01 21:38:57 +10:00
Jesse Duffield
ab5a8091f5
add better support for OpensMenu option when creating a menu
2022-07-30 20:27:51 +10:00
Lay
684ea284af
fix: lint error
2022-05-30 23:19:48 +08:00
Lay
666180cfd0
Add config param that displays the whole git graph by default
2022-05-30 13:52:39 +08:00
Ryooooooga
bfefef92a6
chore(i18n): move InitialViewTabContextMap
to gui
package
2022-05-18 21:09:48 +09:00
Ryooooooga
5275161a88
chore(i18n): localize panel titles
2022-05-18 20:55:42 +09:00
Jesse Duffield
6f8063217d
rename displayString to label for menu items
2022-05-08 14:26:18 +10:00
Jesse Duffield
f257740ea7
add tooltip view for showing menu item descriptions
2022-05-08 13:24:36 +10:00
Ryooooooga
2eb866fc62
fix: fix a crash when pressing enter in empty commits, reflog, or stash panel
2022-05-05 21:41:44 +09:00
Jesse Duffield
2fa6d8037c
always show list counts
2022-04-16 17:29:17 +10:00
Jesse Duffield
e68093fe99
add scrollbars
2022-04-16 17:29:17 +10:00
Jesse Duffield
b838b74801
do not highlight line if there are no items to display
2022-04-16 15:19:32 +10:00
Ryooooooga
4835fc00b8
introduce Ref interface
2022-04-02 17:04:42 +11:00
Jesse Duffield
897c4402a4
better colour
2022-03-27 18:16:16 +11:00
Jesse Duffield
e94312b664
use colour
2022-03-27 18:16:16 +11:00
Jesse Duffield
9c226eed37
allow menu to store keybindings for quick menu navigation
2022-03-27 18:16:16 +11:00
Jesse Duffield
102c33433b
remove dead code
2022-03-26 18:00:46 +11:00
Jesse Duffield
ad7703df65
show namesake for child views
2022-03-26 18:00:46 +11:00
Jesse Duffield
13b90ac37f
support viewing commits of reflog entry and show better view title
2022-03-26 18:00:46 +11:00
Jesse Duffield
45dab51214
add basic commits controller for handling actions that apply to all commit contexts
2022-03-26 17:22:42 +11:00
Jesse Duffield
1b75ed3740
many more generics
2022-03-24 20:14:41 +11:00
Jesse Duffield
a34bdf1a04
update linters
2022-03-19 12:12:57 +11:00
Jesse Duffield
d93fef4c61
use generics to DRY up context code
2022-03-19 12:12:57 +11:00
Jesse Duffield
59d4df2a44
fix click handling
2022-03-17 19:13:40 +11:00
Jesse Duffield
46e9946854
refactor credential handling
2022-03-17 19:13:40 +11:00
Jesse Duffield
a643957f89
include stash in commitish controller
2022-03-17 19:13:40 +11:00
Jesse Duffield
bef26b9634
add common commit controller
2022-03-17 19:13:40 +11:00
Jesse Duffield
371b8d638b
more consistent naming
2022-03-17 19:13:40 +11:00
Jesse Duffield
55af07a1bb
fix CI
2022-03-17 19:13:40 +11:00
Jesse Duffield
943a8e83da
ensure we retain state when returning to submodule parent
2022-03-17 19:13:40 +11:00
Jesse Duffield
722410aded
refactor controllers
2022-03-17 19:13:40 +11:00
Jesse Duffield
b93b8cc00a
controller for viewing sub commits
2022-03-17 19:13:40 +11:00
Jesse Duffield
d82f175e79
refactor contexts
2022-03-17 19:13:40 +11:00
Jesse Duffield
145c69d9ae
working again
2022-03-17 19:13:40 +11:00
Jesse Duffield
482bdc4f1e
more refactoring
2022-03-17 19:13:40 +11:00
Jesse Duffield
226985bf76
refactor keybindings
2022-03-17 19:13:40 +11:00
Jesse Duffield
0a8cff6ab6
some more refactoring
2022-03-17 19:13:40 +11:00
Jesse Duffield
b5515da00b
move commit files context into new structure
2022-03-17 19:13:40 +11:00
Jesse Duffield
c084abb378
move more view model logic into the files view model
2022-03-17 19:13:40 +11:00
Jesse Duffield
8ea7b7a62e
migrate files context to new structure
2022-03-17 19:13:40 +11:00
Jesse Duffield
09dc160da9
cleaning up
2022-03-17 19:13:40 +11:00
Jesse Duffield
51547e3822
move all refresh code into the one file
2022-03-17 19:13:40 +11:00
Jesse Duffield
e363606fb6
move context keys into context package
2022-03-17 19:13:40 +11:00
Jesse Duffield
138be04e65
refactor contexts code
2022-03-17 19:13:40 +11:00
Jesse Duffield
1dd7307fde
start moving commit panel handlers into controller
...
more
and more
move rebase commit refreshing into existing abstraction
and more
and more
WIP
and more
handling clicks
properly fix merge conflicts
update cheatsheet
lots more preparation to start moving things into controllers
WIP
better typing
expand on remotes controller
moving more code into controllers
2022-03-17 19:13:40 +11:00