summaryrefslogtreecommitdiffstats
path: root/pkg/gui/commits_panel.go
AgeCommit message (Collapse)Author
2019-11-05do not return focus to commitsFiles view after selecting to start a new patchJesse Duffield
2019-11-05handling when to show the split panelJesse Duffield
2019-11-05move PatchManager to GitCommandJesse Duffield
2019-11-05Support building and moving patchesJesse Duffield
WIP
2019-05-06support resetting to a commit in either soft, hard, or mixed modeJesse Duffield
2019-04-07Allow for creating fixup! commitsJesse Duffield
2019-04-06fixed some #397skanehira
2019-04-06add feature of display diff between specific commits #397skanehira
2019-03-23Rely on model rather than view to focus a pointJesse Duffield
Currently when we want to focus a point on a view (i.e. highlight a line and ensure it's within the bounds of a view's box, we use the LinesHeight method on the view to work out how many lines in total there are. This is bad because for example if we come back from editing a file, the view will have no contents so LinesHeight == 0, but we might be trying to select line 10 because there are actual ten things we expect to be rendered already. This causes a crash when e.g. 10 is greater than the height of the view. So we need to pass in to our FocusPoint method the actual number of items we want to render, rather than having the method rely on the LinesHeight, so that the method knows to scroll a bit before setting the cursor's y position. Unfortunately this makes for some awkward code with our current setup. We don't have a good interface type on these state objects so we now need to explicitly obtain the len() of whatever array we're rendering. In the case of the menu panel this is even more awkward because the items list is just an interface{} and it's not easy to get the list of that, so now when we instantiate a menu we need to pass in the count of items as well. The better solution would be to define an interface with a getItems and getLength method and have all these item arrays become structs implementing the interface, but I am too lazy to do this right now :)
2019-03-16appease golangciJesse Duffield
2019-03-16allow user to discard old file changes for a given commitJesse Duffield
2019-03-16minor cleanupJesse Duffield
2019-03-16Add feature of display committed file list #383skanehira
2019-03-03i18n for rebase loading statesJesse Duffield
2019-03-03show loading status for rebasing eventsJesse Duffield
2019-03-02populate dutch and polish i18n files with new messagesJesse Duffield
2019-03-02mouse supportJesse Duffield Duffield
2019-02-24change type of cherryPickedCommits from []string to []*CommitJesse Duffield Duffield
2019-02-24support cherry picking commitsJesse Duffield Duffield
2019-02-24Make it easier to run sync/async commands, switch to interactive rebase when ↵Jesse Duffield Duffield
rebasing on branches
2019-02-24some i18n and restricting rewording during interactive rebaseJesse Duffield
2019-02-24rearranging todo items while interactively rebasingJesse Duffield
2019-02-20wrap amend command in a confirmationJesse Duffield
2019-02-19work towards more interactive rebase optionsJesse Duffield
2019-02-19pull commit list builder functions into their own builder structJesse Duffield
2019-02-18add various interactive rebase commandsJesse Duffield
2019-02-18rename any commitJesse Duffield
2019-02-16consider whether the view has focus when rendering the contents of a viewJesse Duffield
2019-02-11Merge branch 'master' into feature/rebasingJesse Duffield
2019-02-11use go-errors package to display stacktrace of errors that cause panicsJesse Duffield
2018-12-11Make merge panel its own panelJesse Duffield
2018-12-08fetching branches without checking outJesse Duffield
2018-12-08standardising how list panels deal with cursor movementJesse Duffield
2018-12-08making a start on unidirectional data binding to fix these UI bugsJesse Duffield
2018-09-25Merge branch 'feature/informative-commit-colors' of ↵Jesse Duffield
https://github.com/jesseduffield/lazygit into feature/informative-commit-colors
2018-09-25support git flow when colouring commitsJesse Duffield
2018-09-25Merge branch 'master' into feature/informative-commit-colorsJesse Duffield
2018-09-20commands/git : returns an error instead of panicingAnthony HAMON
2018-09-20Merge branch 'master' into feature/informative-commit-colorsJesse Duffield
2018-09-19Merge branch 'master' into hotfix/cursor-positioningJesse Duffield
2018-09-18color merged and unmerged commits differentlyJesse Duffield
2018-09-17standardise rendering of lists in panelsJesse Duffield
2018-09-16gui : remove unreachable codeAnthony HAMON
2018-09-12don't use newlines at the end of panel buffersJesse Duffield
2018-09-07satisfy golangciDawid Dziurla
2018-09-04add renderGlobalOptionsDawid Dziurla
render only global options for all panels
2018-09-04delete optionsDawid Dziurla
2018-09-03remove capitalization of keybindings descriptionsDawid Dziurla
2018-09-03get item position from correct panelDawid Dziurla
2018-09-03make '?' key visible on every panelDawid Dziurla