jesseduffield.lazygit/pkg/integration/tests
Sean 9d68b287db Split commit message panel into commit summary and commit description panel
When we use the one panel for the entire commit message, its tricky to have a keybinding both for adding a newline and submitting.
By having two panels: one for the summary line and one for the description, we allow for 'enter' to submit the message when done from the summary panel,
and 'enter' to add a newline when done from the description panel. Alt-enter, for those who can use that key combo, also works for submitting the message
from the description panel. For those who can't use that key combo, and don't want to remap the keybinding, they can hit tab to go back to the summary panel
and then 'enter' to submit the message.

We have some awkwardness in that both contexts (i.e. panels) need to appear and disappear in tandem and we don't have a great way of handling that concept,
so we just push both contexts one after the other, and likewise remove both contexts when we escape.
2023-04-30 13:19:53 +10:00
..
bisect cleanup integration test code 2023-02-26 12:54:13 +11:00
branch use lowercase text for menu items (as we're still yet to standardise on 'Sentence case') 2023-04-15 17:29:31 +10:00
cherry_pick cleanup integration test code 2023-02-26 12:54:13 +11:00
commit Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
config remove dependency on model 2022-12-27 22:52:20 +11:00
conflicts fix flaky tests 2023-04-14 21:01:45 +10:00
custom_commands Rename test files to match test names 2023-04-13 19:17:08 +02:00
diff update integration test for toggling whitespace 2023-04-30 13:19:53 +10:00
file show file tree by default in integration tests 2023-02-26 13:01:51 +11:00
filter_by_path cleanup integration test code 2023-02-26 12:54:13 +11:00
interactive_rebase Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
misc migrate initial open test 2023-02-19 15:48:09 +11:00
patch_building fix flaky tests 2023-04-14 21:01:45 +10:00
reflog migrate reflog integration tests 2023-02-22 21:15:03 +11:00
shared migrate merge conflict tests 2023-02-26 11:22:24 +11:00
staging cleanup integration test code 2023-02-26 12:54:13 +11:00
stash migrate stash tests 2023-02-20 21:52:27 +11:00
submodule cleanup integration test code 2023-02-26 12:54:13 +11:00
sync show file tree by default in integration tests 2023-02-26 13:01:51 +11:00
tag add reset to tag test 2023-02-20 19:01:08 +11:00
ui show file tree by default in integration tests 2023-02-26 13:01:51 +11:00
undo migrate undo2 2023-02-20 18:20:23 +11:00
test_list.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
test_list_generator.go cleanup integration test code 2023-02-26 12:54:13 +11:00
tests.go cleanup integration test code 2023-02-26 12:54:13 +11:00