jesseduffield.lazygit/pkg/integration/components
Stefan Haller 5a630aeda1 Refactor: add a separate Prompt view
So far, confirmations and prompts were handled by the same view, context, and
controller, with a bunch of conditional code based on whether the view is
editable. This was more or less ok so far, since it does save a little bit of
code duplication; however, now we need separate views, because we don't have
dynamic keybindings, but we want to map "confirm" to different keys in
confirmations (the "universal.confirm" user config) and prompts (hard-coded to
enter, because it doesn't make sense to customize it there).

It also allows us to get rid of the conditional code, which is a nice benefit;
and the code duplication is actually not *that* bad.
2025-09-05 10:42:03 +02:00
..
alert_driver.go Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
assertion_helper.go Remove retry logic in integration tests 2023-07-09 20:57:18 +10:00
commit_description_panel_driver.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
commit_message_panel_driver.go Improve and adapt commit persistence test-cases 2025-02-07 09:28:27 +01:00
common.go Mention which command is continued in PromptToContinueRebase 2025-04-20 15:53:17 +02:00
confirmation_driver.go Add demo for amending old commit 2023-08-02 22:32:51 +10:00
env.go Fix typos 2025-01-03 10:50:36 +11:00
file_system.go Allow chaining of FileSystem methods 2025-04-09 10:27:57 +02:00
git.go Add integration test that accesses commit properties in a custom command 2024-04-12 08:33:47 +02:00
int_matcher.go Add integration tests for searching/filtering 2023-07-03 12:54:14 +10:00
matcher.go Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
menu_driver.go Add a prompt for the sort order menus for branches 2025-07-09 13:16:42 +02:00
paths.go Rename test/results to test/_results 2023-09-15 18:04:20 +02:00
popup.go Refactor: add a separate Prompt view 2025-09-05 10:42:03 +02:00
prompt_driver.go Refactor: add a separate Prompt view 2025-09-05 10:42:03 +02:00
random.go Add commit graph demo 2023-08-12 16:16:03 +10:00
runner.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
search_driver.go Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
shell.go Add test that demonstrates problem with showing filtered history of file with renames 2025-07-27 12:05:41 +02:00
test.go Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
test_driver.go pkg: fix some typos 2024-04-20 13:47:39 +02:00
test_test.go Don't wait in integration tests when running in headless mode 2024-06-05 14:44:02 +02:00
text_matcher.go [DATALAD RUNCMD] run codespell throughout fixing typos automagically 2024-08-27 18:03:00 +02:00
view_driver.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
views.go Refactor: add a separate Prompt view 2025-09-05 10:42:03 +02:00