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
d890238c7b
move input and assert into integration tests package
2022-08-13 13:52:13 +10:00
Jesse Duffield
77881a9c7d
add new integration test pattern
2022-08-11 21:24:15 +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
54fb73080a
use ptmx map so that we can have multiple ptmx's stored for resizing
2022-08-06 13:49:11 +10:00
Jesse Duffield
524bf83a4a
refactor to only have one context per view
2022-08-06 13:49:11 +10:00
Jesse Duffield
debc58b6c5
fix popup focus issue
2022-08-01 22:09:48 +10:00
Jesse Duffield
7077ea428f
add optimistic rendering for staging and unstaging files
2022-07-31 14:34:57 +10:00
Jesse Duffield
b1e4968d0b
allow opening lazygit to a specific panel
2022-06-11 11:23:56 +10: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
f257740ea7
add tooltip view for showing menu item descriptions
2022-05-08 13:24:36 +10:00
Jesse Duffield
517e9445df
refactor view definitions
2022-05-08 11:41:13 +10:00
Ryooooooga
cb13fe7f46
feat(gui): show commit icons
2022-04-23 12:25:41 +09:00
Ryooooooga
b07aeda5a6
feat(gui): show file icons
2022-04-23 12:25:40 +09: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
86c259623c
feat: fix permission problem of temp dirs
2022-04-02 08:48:38 +11:00
Moritz Haase
e35ab3c5fe
pkg/gui: Use 'alert' popups instead of 'confirm' popups where appropriate
...
Invocations of 'IPopupHandler::Confirm()' that use neither 'HandleConfirm' nor
'HandleClose' can be replaced by 'Alert()'.
2022-03-30 20:13:43 +11:00
Moritz Haase
8fb2acc224
pkg/gui: Rename IPopupHandler::Ask() to Confirm()
...
Follow the JavaScript naming scheme for user interaction (alert, prompt,
confirm) as discussed in #1832 .
2022-03-30 20:13:43 +11:00
Jesse Duffield
0dfb7c08b7
remove controllers struct
2022-03-27 18:16:16 +11:00
Moritz Haase
4abd80e2c4
pkg/gui: Fix crash if auto-fetch interval is non-positive
...
Check whether the auto-fetch interval configured is actually positive before
starting the background fetcher. If it is not, an error is logged. Also improve
the config option documentation a bit to make it easier to understand how to
disable auto-fetch.
2022-03-27 10:14:33 +11:00
Moritz Haase
240483953f
config: Add option 'git.autoRefresh' to en-/disable auto-refresh
...
Adds a new 'autoRefresh' option to the 'git' config section that allows user to
disable auto-refresh (defaults to on). If auto-refresh is enabled, the
refreshInterval is now checked before starting the timer to prevent crashes when
it is non-positive.
Fixes #1417
2022-03-27 10:14:33 +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
a34bdf1a04
update linters
2022-03-19 12:12:57 +11:00
Jesse Duffield
8fd6338527
move workspace reset menu into controller
2022-03-17 19:13:40 +11:00
Jesse Duffield
ee1337b931
add remote branches controller
2022-03-17 19:13:40 +11:00
Jesse Duffield
675510ba53
fix integration test
2022-03-17 19:13:40 +11:00
Jesse Duffield
ef7c4c9ca9
refactor custom commands
...
more custom command refactoring
2022-03-17 19:13:40 +11:00
Jesse Duffield
952a4f3f23
prevent interrupting confirmation panel
2022-03-17 19:13:40 +11:00
Jesse Duffield
46e9946854
refactor credential handling
2022-03-17 19:13:40 +11:00
Jesse Duffield
d991d74b06
add commit message controller
2022-03-17 19:13:40 +11:00
Jesse Duffield
ecaff7fc6c
add commit files controller
2022-03-17 19:13:40 +11:00
Jesse Duffield
c685a413c9
stash controller
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
e842d1bc9e
move git flow
2022-03-17 19:13:40 +11:00
Jesse Duffield
8a555dd62e
refactor
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
574c5ca0de
add subcommits controller
2022-03-17 19:13:40 +11:00
Jesse Duffield
eab00de273
reflog 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
943a8e83da
ensure we retain state when returning to submodule parent
2022-03-17 19:13:40 +11:00
Jesse Duffield
41527270ed
appease linter
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
cd31a762b9
rename OSCommand field to os
2022-03-17 19:13:40 +11:00
Jesse Duffield
d82f175e79
refactor contexts
2022-03-17 19:13:40 +11:00