jesseduffield.lazygit/pkg/integration/tests
Jesse Duffield 24a4302c52 Add range selection ability on list contexts
This adds range select ability in two ways:
1) Sticky: like what we already have with the staging view i.e. press v then use arrow keys
2) Non-sticky: where you just use shift+up/down to expand the range

The state machine works like this:
(no range, press 'v') -> sticky range
(no range, press arrow) -> no range
(no range, press shift+arrow) -> nonsticky range
(sticky range, press 'v') -> no range
(sticky range, press arrow) -> sticky range
(sticky range, press shift+arrow) -> nonsticky range
(nonsticky range, press 'v') -> no range
(nonsticky range, press arrow) -> no range
(nonsticky range, press shift+arrow) -> nonsticky range
2024-01-19 10:47:21 +11:00
..
bisect Make bisect/basic.go test more concrete 2023-07-31 08:34:01 +02:00
branch Use ErrorToast instead of error panel when invoking a disabled command 2024-01-14 17:45:35 +01:00
cherry_pick Allow cherry-picking commits during a rebase 2023-09-18 10:50:19 +02:00
commit Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
config Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
conflicts Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
custom_commands Allow checking for merge conflicts after running a custom command 2023-07-13 18:40:34 +10:00
demo Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
diff Add busy count for integration tests 2023-07-08 22:54:52 +10:00
file Use ErrorToast instead of error panel when invoking a disabled command 2024-01-14 17:45:35 +01:00
filter_and_search When refreshing models, re-apply active filter for the corresponding view 2023-10-10 08:37:30 +02:00
filter_by_path Pass -f as single arg in integration test 2024-01-12 20:19:50 +11:00
interactive_rebase Allow showing Disabled errors as error panel instead of toast 2024-01-14 17:45:35 +01:00
misc Make it mandatory to acknowledge toasts in tests 2024-01-14 17:42:03 +01:00
patch_building Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
reflog Don't show branch heads in reflog subcommits 2023-07-31 08:34:01 +02:00
shared Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
staging Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
stash feat: add age on stash lines 2023-12-27 11:21:49 +01:00
submodule Use sentence case everywhere 2023-05-25 23:52:19 +10:00
sync Show correct keybindings in force-push prompt 2023-07-31 11:38:52 +02:00
tag Make it possible to handle toasts in integration tests 2024-01-14 17:42:03 +01:00
ui If OpenLink errors, show a dialog instead 2023-08-09 13:12:40 +01:00
undo Use sentence case everywhere 2023-05-25 23:52:19 +10:00
worktree Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00
test_list.go Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
test_list_generator.go Make test_list_generator.go print what it's doing 2023-09-29 20:40:15 +02:00
tests.go Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00