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

76 Commits

Author SHA1 Message Date
7410acd1aa move merge conflicts code into controller 2022-08-07 11:16:03 +10:00
ab5a8091f5 add better support for OpensMenu option when creating a menu 2022-07-30 20:27:51 +10:00
6f8063217d rename displayString to label for menu items 2022-05-08 14:26:18 +10:00
22d98249fe better popup resizing logic 2022-05-08 13:24:36 +10:00
f257740ea7 add tooltip view for showing menu item descriptions 2022-05-08 13:24:36 +10:00
9c226eed37 allow menu to store keybindings for quick menu navigation 2022-03-27 18:16:16 +11:00
f0a4dcfdc3 refactor menu context 2022-03-27 18:16:16 +11:00
120078f011 use PopContext 2022-03-17 19:13:40 +11:00
b93b8cc00a controller for viewing sub commits 2022-03-17 19:13:40 +11:00
d82f175e79 refactor contexts 2022-03-17 19:13:40 +11:00
138be04e65 refactor contexts code 2022-03-17 19:13:40 +11:00
1dd7307fde start moving commit panel handlers into controller
more

and more

move rebase commit refreshing into existing abstraction

and more

and more

WIP

and more

handling clicks

properly fix merge conflicts

update cheatsheet

lots more preparation to start moving things into controllers

WIP

better typing

expand on remotes controller

moving more code into controllers
2022-03-17 19:13:40 +11:00
a90b6efded start refactoring gui 2022-03-17 19:13:40 +11:00
8d8bdb948b avoid deadlock in merge panel 2022-01-15 14:15:41 +11:00
cdcfeb396f stop refreshing the screen so much 2022-01-15 14:15:41 +11:00
8263d15b03 fix issue where custom command would not open a menu 2022-01-15 10:14:19 +11:00
01ea5813a8 align Gui struct with GitCommand 2022-01-04 09:07:15 +11:00
1996eddd91 more efficient context diff size changing 2021-12-06 22:37:28 +11:00
ccd80a0e4b add menu options for log stuff 2021-11-05 07:58:21 +11:00
2fc1498517 some refactoring in anticipation of the graph feature 2021-11-01 10:03:49 +11:00
652c97d239 honour options menu press 2021-09-27 19:41:38 +10:00
39c8577074 Use static context 2021-06-16 15:00:17 +10:00
0c135515a5 Use parent view for tab navigation 2021-06-16 15:00:17 +10:00
cf78b86cb5 more support for command log and more code reuse for contexts 2021-04-11 17:07:49 +10:00
4fe512ff3a test
type safe view access
2021-04-06 19:34:32 +10:00
0898a7bb57 refactor 2021-04-06 19:34:32 +10:00
bc9a99387f refactor of contexts and filtering 2021-04-06 19:34:32 +10:00
798d3e2d54 get rid of these positively ghastly method signatures 2021-04-06 19:34:32 +10:00
da3b0bf7c8 Start on supporting auto-suggestions when checking out a branch
switch to other fuzzy package with no dependencies
2020-11-28 20:48:17 +11:00
37bb89dac3 type i18n 2020-10-10 00:23:01 +11:00
4912205adb remove viper
WIP
2020-10-10 00:23:01 +11:00
8dae54ab8c fix panic 2020-09-26 11:56:22 +10:00
fda9f4ea7a centralise logic for rendering options map 2020-08-23 14:29:18 +10:00
146722beb8 rename to SelectedLineIdx 2020-08-23 14:29:18 +10:00
99707a527d WIP 2020-08-23 14:29:18 +10:00
ac0eedda91 lots more stuff 2020-08-23 14:29:18 +10:00
e87635295a dont check for error when sending view to bottom 2020-08-23 14:29:18 +10:00
7f89113245 WIP 2020-08-23 14:29:18 +10:00
44d8b3e8f3 allow overriding default confirm/escape keybindings 2020-08-17 18:22:57 +10:00
9b7a6934b3 more removing of g 2020-08-15 18:01:43 +10:00
cc872b0444 menu view 2020-08-15 18:01:43 +10:00
d9fa02c53b clean up interface for popup panels 2020-08-15 18:01:43 +10:00
845c80721f Decouple escaping from quitting
When a user is not entering text into a prompt, the 'q' key should immediately
quit the application. On the other hand, the 'esc' key should cancel/close/go-back
to the previous context.

If we're at the surface level (nothing to cancel/close) and the user hits the
escape key, the default behaviour is to close the app, however we now have a
`quitOnTopLevelReturn` config key to override this.

I actually think from the beginning we should have made this config option
default to false rather than true which is the default this PR gives it,
but I don't want to anger too many people familiar with the existing behaviour.
2020-07-18 20:00:48 +10:00
07a8ae8c3e add handler for searching in menu 2020-04-21 19:28:31 +10:00
e47ad846c4 big golangci-lint cleanup 2020-03-09 12:23:13 +11:00
52b5a6410c show item counts in frames 2020-02-25 07:19:46 +11:00
5b9996b16f remove old createMenu function 2020-02-15 08:47:36 +11:00
665fdded14 continue refactor of menu panel 2020-02-15 08:47:36 +11:00
814a0ea36f begin refactor of menu panel 2020-02-15 08:47:36 +11:00
3e875cc593 fix display of menu option keybindings 2020-01-07 13:26:29 -08:00