jesseduffield.lazygit/pkg/gui/types
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
..
common.go Set groundwork for better disabled reasons with range select 2024-01-23 13:03:37 +11:00
common_commands.go start moving commit panel handlers into controller 2022-03-17 19:13:40 +11:00
context.go Set groundwork for better disabled reasons with range select 2024-01-23 13:03:37 +11:00
keybindings.go Make DisabledReason a struct 2024-01-14 17:45:35 +01:00
modes.go Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
ref.go fix: fix ambiguous refname 2022-05-13 21:05:51 +09:00
refresh.go Keep same branch selected when refreshing branches 2024-01-19 09:25:07 +01:00
rendering.go Visualize the "ignore whitespace" state in the subtitle of the diff view 2023-05-20 12:58:32 +10:00
search_state.go Add search history 2023-09-20 08:35:41 +03:00
suggestion.go Set groundwork for better disabled reasons with range select 2024-01-23 13:03:37 +11:00
views.go Layout the bottom line view using spacer views 2023-12-09 11:18:28 +01:00