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
Jesse Duffield
e6274af015
appease golangci-lint ( #2512 )
2023-03-19 11:20:29 +11:00
jiepeng
b8900baf1a
remove deprecated calls
2022-09-17 15:10:41 -07:00
nullishamy
21a4522a51
Merge branch 'master' into feat/detect-bare-repo
2022-08-15 14:00:34 +01:00
nullishamy
154bd975a6
Apply refactoring suggestions
2022-08-15 13:59:34 +01:00
Jesse Duffield
ba96baee32
move code from main into app package to allow test to be injected
2022-08-13 13:55:08 +10:00
Jesse Duffield
d73a236d7c
allow rendering to main panels from anywhere
2022-08-07 12:05:51 +10:00
Jesse Duffield
524bf83a4a
refactor to only have one context per view
2022-08-06 13:49:11 +10:00
Jesse Duffield
3ee2ad511e
prevent crash when opening recent repos panel if no recent repos are present
2022-08-01 22:10:08 +10:00
Luka Markušić
44de380c2b
Add i18n for unknown branch
2022-07-31 08:57:57 +02:00
Luka Markušić
37bdbd9a21
Display short SHA when in detached HEAD
state
2022-07-31 08:51:27 +02:00
Luka Markušić
767ef31661
Use filepath.Join instead of manual concat
2022-07-31 08:43:31 +02:00
Luka Markušić
966733240c
Refactor a bit, enable worktrees
2022-07-30 19:02:19 +02:00
Luka Markušić
25ddac0d8f
Gotta go fast
2022-07-30 17:42:15 +02:00
Luka Markušić
7c09ce3871
Parallelize fetching current branch
2022-07-30 17:05:17 +02:00
Luka Markušić
e6e4513f45
Show active branch for recent repo
...
Split recent repo menu into three columns
2022-07-30 17:05:17 +02:00
Luka Markušić
9c6239df3d
Worktrees should not be filtered out
...
But non-git directories should
2022-07-30 17:03:30 +02:00
Jesse Duffield
32c0b39dbd
Merge pull request #1950 from HiromasaNojima/add_subcommand_into_specific_layout_directly
2022-06-11 11:51:14 +10:00
Jesse Duffield
b1e4968d0b
allow opening lazygit to a specific panel
2022-06-11 11:23:56 +10:00
Luka Markušić
a955dbcfd7
Validate recent repo before blindly opening it
2022-06-11 09:42:51 +10: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
1b75ed3740
many more generics
2022-03-24 20:14:41 +11:00
Jesse Duffield
cd31a762b9
rename OSCommand field to os
2022-03-17 19:13:40 +11:00
Jesse Duffield
2a1e3faa0c
resetting controllers on new repo
2022-03-17 19:13:40 +11:00
Jesse Duffield
138be04e65
refactor contexts code
2022-03-17 19:13:40 +11:00
Jesse Duffield
1a74ed3214
avoid deadlock
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
Jesse Duffield
a90b6efded
start refactoring gui
2022-03-17 19:13:40 +11:00
David Roman
b8fc829f86
Record current directory on switch
2022-03-17 19:01:28 +11:00
Jesse Duffield
cdcfeb396f
stop refreshing the screen so much
2022-01-15 14:15:41 +11:00
Jesse Duffield
364c5db19c
shorten name
2022-01-09 14:09:53 +11:00
Jesse Duffield
3621854dc7
fix tests
2022-01-09 14:09:53 +11:00
Jesse Duffield
f503ff1ecb
start breaking up git struct
2022-01-09 14:09:53 +11:00
Jesse Duffield
43a4fa970d
WIP
2022-01-04 09:07:15 +11:00
Jesse Duffield
192a548c99
refactoring the config struct
2022-01-04 09:07:15 +11:00
Jesse Duffield
01ea5813a8
align Gui struct with GitCommand
2022-01-04 09:07:15 +11:00
Jesse Duffield
18ab086126
introduce Common struct for passing around common stuff
2022-01-04 09:07:15 +11:00
Jesse Duffield
b4c078d565
WIP
2022-01-04 09:07:15 +11:00
Jesse Duffield
b6a5e9d615
use cached git config
2021-10-23 10:26:47 +11:00
Jesse Duffield
d02e52989e
small changes
2021-10-16 12:22:34 +11:00
mjarkk
913a2fd065
Allow having multiple config files
2021-10-16 12:22:34 +11:00
mjarkk
79848087bc
Switch to github.com/gookit/color for terminal colors
2021-07-30 15:14:46 +02:00
Jesse Duffield
7178bab6b4
only re-use repo state when jumping in and out of submodules
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
633b6f596d
WIP
2021-04-06 19:34:32 +10:00
Jesse Duffield
f1d7f59e49
switching repos without restarting the gui
2021-04-06 19:34:32 +10:00
Jesse Duffield
bc9a99387f
refactor of contexts and filtering
2021-04-06 19:34:32 +10:00
Jesse Duffield
8af3fe3b4a
faster startup
2021-04-01 09:13:29 +11:00
Yuki Osaki
4928d1d490
Visualize the commits for all branches
2020-11-28 19:19:47 +11:00