summaryrefslogtreecommitdiffstats
path: root/pkg/gui/branches_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-05Support building and moving patchesJesse Duffield
WIP
2019-07-14show actual error when trying to check out a branch that doesn't existJesse Duffield
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-16allow autostashing changes when checking out a branchJesse Duffield
2019-03-02mouse supportJesse Duffield Duffield
2019-03-02appease golangciJesse Duffield
2019-02-16more work on rebasing featureJesse Duffield
2019-02-16introduce panel contexts and more work on rebasingJesse Duffield
2019-02-16add loading panelJesse Duffield
2019-02-11Merge branch 'master' into feature/rebasingJesse Duffield
2018-12-11only use subprocess for merging, not rebasingJesse Duffield
2018-12-11Make merge panel its own panelJesse Duffield
2018-12-11more work on rebasing including visual indicatorsJesse Duffield
2018-12-11Making ci happierGlenn Vriesman
2018-12-11Added check to invoke continue/refreshGlenn Vriesman
2018-12-11Error handlingGlenn Vriesman
2018-12-11Added error check to satisfy ciGlenn Vriesman
2018-12-11Added rebase handlerGlenn Vriesman
2018-12-10Removed a lot of duplicated codemjarkk
2018-12-10Changed pushPassUname name to credentialsmjarkk
2018-12-09Worked and fixed a view commentsmjarkk
2018-12-08Merge branch 'master' into https-ask-for-username-passwordMark Kopenga
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-12-07Working popupmjarkk
2018-12-06Made some small inprovementsmjarkk
2018-12-06Started working on the popupmjarkk
2018-12-02Made the bot happymjarkk
2018-12-02Removed a lot of useless codemjarkk
2018-10-23Merge branch 'master' into masterJesse Duffield
2018-10-15Remove unnecessary nil error in NewPullRequest.Kristijan Husak
2018-10-13Add option to create pull request form branches panel.Kristijan Husak
2018-10-06Initial version of delete named branch addedNaveen Vardhi
2018-09-17standardise rendering of lists in panelsJesse Duffield
2018-09-12more efficient building of branch displaystringsJesse Duffield
2018-09-12don't use newlines at the end of panel buffersJesse Duffield
2018-09-04add renderGlobalOptionsDawid Dziurla
render only global options for all panels
2018-09-04delete optionsDawid Dziurla
2018-09-03get selected branch from correct panelDawid Dziurla
2018-09-03make '?' key visible on every panelDawid Dziurla
2018-08-21correct variable assignmentRob Bast
2018-08-21adjust translation(s) for forced branch deletionRob Bast
2018-08-21add returnRob Bast
2018-08-20add option to force delete given branchRob Bast
2018-08-16Fixed comments from jesseduffield on issue #137Mark Kopenga
2018-08-16Fixed comment on issue #137 from @jesseduffieldMark Kopenga
2018-08-15Added all english translations to a file and fixed some typosMark Kopenga