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
0dfb7c08b7
remove controllers struct
2022-03-27 18:16:16 +11:00
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
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
ad7703df65
show namesake for child views
2022-03-26 18:00:46 +11:00
13b90ac37f
support viewing commits of reflog entry and show better view title
2022-03-26 18:00:46 +11:00
a34bdf1a04
update linters
2022-03-19 12:12:57 +11:00
8fd6338527
move workspace reset menu into controller
2022-03-17 19:13:40 +11:00
ee1337b931
add remote branches controller
2022-03-17 19:13:40 +11:00
675510ba53
fix integration test
2022-03-17 19:13:40 +11:00
ef7c4c9ca9
refactor custom commands
...
more custom command refactoring
2022-03-17 19:13:40 +11:00
952a4f3f23
prevent interrupting confirmation panel
2022-03-17 19:13:40 +11:00
46e9946854
refactor credential handling
2022-03-17 19:13:40 +11:00
d991d74b06
add commit message controller
2022-03-17 19:13:40 +11:00
ecaff7fc6c
add commit files controller
2022-03-17 19:13:40 +11:00
c685a413c9
stash controller
2022-03-17 19:13:40 +11:00
a643957f89
include stash in commitish controller
2022-03-17 19:13:40 +11:00
e842d1bc9e
move git flow
2022-03-17 19:13:40 +11:00
8a555dd62e
refactor
2022-03-17 19:13:40 +11:00
bef26b9634
add common commit controller
2022-03-17 19:13:40 +11:00
574c5ca0de
add subcommits controller
2022-03-17 19:13:40 +11:00
eab00de273
reflog controller
2022-03-17 19:13:40 +11:00
371b8d638b
more consistent naming
2022-03-17 19:13:40 +11:00
943a8e83da
ensure we retain state when returning to submodule parent
2022-03-17 19:13:40 +11:00
41527270ed
appease linter
2022-03-17 19:13:40 +11:00
722410aded
refactor controllers
2022-03-17 19:13:40 +11:00
b93b8cc00a
controller for viewing sub commits
2022-03-17 19:13:40 +11:00
cd31a762b9
rename OSCommand field to os
2022-03-17 19:13:40 +11:00
d82f175e79
refactor contexts
2022-03-17 19:13:40 +11:00
145c69d9ae
working again
2022-03-17 19:13:40 +11:00
482bdc4f1e
more refactoring
2022-03-17 19:13:40 +11:00
8e3484d8e9
add global controller
2022-03-17 19:13:40 +11:00
226985bf76
refactor keybindings
2022-03-17 19:13:40 +11:00
2db4636815
no more indirection
2022-03-17 19:13:40 +11:00
2a1e3faa0c
resetting controllers on new repo
2022-03-17 19:13:40 +11:00
0a8cff6ab6
some more refactoring
2022-03-17 19:13:40 +11:00
182c999ee0
fix linting
2022-03-17 19:13:40 +11:00
b5515da00b
move commit files context into new structure
2022-03-17 19:13:40 +11:00
c084abb378
move more view model logic into the files view model
2022-03-17 19:13:40 +11:00
8ea7b7a62e
migrate files context to new structure
2022-03-17 19:13:40 +11:00
f97de692e3
move helpers into their own struct
2022-03-17 19:13:40 +11:00
2692637fbe
standardise naming
2022-03-17 19:13:40 +11:00
77d0732fa8
add actions abstraction
2022-03-17 19:13:40 +11:00
138be04e65
refactor contexts code
2022-03-17 19:13:40 +11:00
1a74ed3214
avoid deadlock
2022-03-17 19:13:40 +11:00
a2318d75b5
fix some things
2022-03-17 19:13:40 +11:00
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
a90b6efded
start refactoring gui
2022-03-17 19:13:40 +11:00
fa8571e1f4
rename field
2022-03-17 19:01:28 +11:00
b8fc829f86
Record current directory on switch
2022-03-17 19:01:28 +11:00