1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-04 10:34:55 +02:00
lazygit/pkg/integration/components
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
..
alert_driver.go migrate patch building tests 2023-02-25 21:37:16 +11:00
assertion_helper.go cleanup integration test code 2023-02-26 12:54:13 +11:00
commit_description_panel_driver.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
commit_message_panel_driver.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
common.go cleanup integration test code 2023-02-26 12:54:13 +11:00
confirmation_driver.go migrate patch building tests 2023-02-25 21:37:16 +11:00
file_system.go migrate patch building tests 2023-02-25 21:37:16 +11:00
git.go test: fix TagNamesAt 2023-02-19 23:35:38 +09:00
matcher.go migrate patch building tests 2023-02-25 21:37:16 +11:00
menu_driver.go cleanup integration test code 2023-02-26 12:54:13 +11:00
paths.go cleanup integration test code 2023-02-26 12:54:13 +11:00
popup.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
prompt_driver.go cleanup integration test code 2023-02-26 12:54:13 +11:00
runner.go remove log call because it clutters test output 2023-04-30 13:19:53 +10:00
search_driver.go migrate patch building tests 2023-02-25 21:37:16 +11:00
shell.go Add integration test for dropping a todo commit when there's an update-ref 2023-04-15 08:36:03 +02:00
test_driver.go cleanup integration test code 2023-02-26 12:54:13 +11:00
test_test.go Add GitVersion field to NewIntegrationTestArgs 2023-04-15 08:36:03 +02:00
test.go Add GitVersion field to NewIntegrationTestArgs 2023-04-15 08:36:03 +02:00
view_driver.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
views.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00