jesseduffield.lazygit/pkg/gui/context
Jesse Duffield 0cd5257523 Retain commit message when cycling history
When cycling history, we want to make it so that upon returning to the original prompt, you get your text back.
Importantly, we don't want to use the existing preservedMessage field for that because that's only for preserving
a NEW commit message, and we don't want the history stuff of the commit reword flow to overwrite that.
2023-04-30 12:17:34 +10:00
..
traits do not highlight line if there are no items to display 2022-04-16 15:19:32 +10:00
base_context.go update view cursor when selecting new line in patch explorer view 2023-02-18 10:19:34 +11:00
basic_view_model.go use generics to DRY up context code 2022-03-19 12:12:57 +11:00
branches_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
commit_files_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
commit_message_context.go Retain commit message when cycling history 2023-04-30 12:17:34 +10:00
context.go Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
dynamic_title_builder.go show namesake for child views 2022-03-26 18:00:46 +11:00
list_context_trait.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
local_commits_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
menu_context.go move merge conflicts code into controller 2022-08-07 11:16:03 +10:00
merge_conflicts_context.go update view cursor when selecting new line in patch explorer view 2023-02-18 10:19:34 +11:00
parent_context_mgr.go refactor contexts code 2022-03-17 19:13:40 +11:00
patch_explorer_context.go update view cursor when selecting new line in patch explorer view 2023-02-18 10:19:34 +11:00
reflog_commits_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
remote_branches_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
remotes_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
simple_context.go update view cursor when selecting new line in patch explorer view 2023-02-18 10:19:34 +11:00
stash_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
sub_commits_context.go feat(subcommits): load unlimited sub-commits 2023-02-27 15:29:00 +09:00
submodules_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
suggestions_context.go fix hidden suggestions 2022-08-07 19:20:02 +10:00
tags_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
view_trait.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
viewport_list_context_trait.go add scrollbars 2022-04-16 17:29:17 +10:00
working_tree_context.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00