1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
db12853bbe lots of changes 2023-04-30 13:19:53 +10:00
43251e7275 split context common from helper common 2023-04-30 13:19:53 +10:00
b3d086bdc1 Resolve the prompt just before using it
In case a later command depends on a prompt input from a previous one we
need to evaluate it only after the previous prompt has been confirmed.
2022-11-25 22:46:36 +01:00
c953871ec7 use lowercase 'quote' for consistency with existing custom command template functions 2022-10-02 18:43:25 -07:00
19df238b77 feat: allow OSCommand.Quote to be invoked within a custom command 2022-09-30 21:16:45 +09:00
7e9dffe1b9 Add Key field to CustomCommandPrompt struct
Add Form field to CustomCommandObjects struct

Write user prompts responses to Form field

Ensure that map keys exists

Add form prompts integration test

Remove redundant index
2022-09-17 14:58:44 -07:00
faed509bfd fix CI 2022-08-13 13:56:50 +10:00
46ae55f91e introduce gui adapter 2022-08-13 13:51:56 +10:00
7410acd1aa move merge conflicts code into controller 2022-08-07 11:16:03 +10:00
524bf83a4a refactor to only have one context per view 2022-08-06 13:49:11 +10:00
f2880ecb46 Add empty output message and refreshing to showOutput 2022-07-31 12:04:40 +08:00
e1f41b653c Add showOutput option to custom commands (#1163) 2022-07-28 18:40:30 +08:00
9d304098bb feat: add confirm prompt for custom keybindings
- Supports configuring a custom confirmation prompt via `config.yml` for
  custom keybindings. A new `CustomCommandPrompt.Body` field is
  used to store the immutable body text of the confirmation popup.
- Adds a sample 'confirm' prompt to the example `config.yml`.
- Updates the `Prompts` section of the documentation to include
  'confirm' prompt type and also describe which fields pertain to it
  (i.e. `initialValue`).

Closes: https://github.com/jesseduffield/lazygit/issues/1858

Signed-off-by: Michael Mead <mmead.developer@gmail.com>
2022-07-04 11:36:13 -07:00
6f8063217d rename displayString to label for menu items 2022-05-08 14:26:18 +10:00
b7928042f0 chore: typo hunting ft. codespell 2022-04-06 08:52:41 +10:00
98e7ec0905 add type alias for Key 2022-03-27 18:16:16 +11:00
1b75ed3740 many more generics 2022-03-24 20:14:41 +11:00
ef7c4c9ca9 refactor custom commands
more custom command refactoring
2022-03-17 19:13:40 +11:00