jesseduffield.lazygit/pkg
Jesse Duffield 51fb82d6bf Enforce single-item selection in various actions
We want to show an error when the user tries to invoke an action that expects only
a single item to be selected.

We're using the GetDisabledReason field to enforce this (as well as DisabledReason
on menu items).

I've created a ListControllerTrait to store some shared convenience functions for this.
2024-01-19 10:50:49 +11:00
..
app Make it possible to handle toasts in integration tests 2024-01-14 17:42:03 +01:00
cheatsheet Make it possible to handle toasts in integration tests 2024-01-14 17:42:03 +01:00
commands Standardise display of range selection across views 2024-01-19 10:47:21 +11:00
common Add AppState to common.Common 2023-09-04 17:48:39 +02:00
config Support select range for cherry pick 2024-01-19 10:50:49 +11:00
constants update release notes 2021-04-20 18:34:47 +10:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
i18n Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
integration Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
jsonschema Add UserConfig jsonschema generation script 2023-12-02 10:46:24 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Remove secureexec package 2023-07-30 19:59:51 +10:00
theme Standardise display of range selection across views 2024-01-19 10:47:21 +11:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00