jesseduffield.lazygit/pkg
Jesse Duffield a5f3515ad8 Set groundwork for better disabled reasons with range select
Something dumb that we're currently doing is expecting list items
to define an ID method which returns a string. We use that when copying
items to clipboard with ctrl+o and when getting a ref name for diffing.

This commit gets us a little deeper into that hole by explicitly requiring
list items to implement that method so that we can easily use the new
helper functions in list_controller_trait.go.

In future we need to just remove the whole ID thing entirely but I'm too
lazy to do that right now.
2024-01-23 13:03:37 +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 Add config setting to suppress showing file icons 2024-01-22 08:40:03 +01: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 Set groundwork for better disabled reasons with range select 2024-01-23 13:03:37 +11:00
i18n Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
integration Keep same branch selected when refreshing branches 2024-01-19 09:25:07 +01: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