Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-17 | some more refactoring | Jesse Duffield | |
2022-03-17 | refactor contexts code | Jesse Duffield | |
2022-03-17 | start moving commit panel handlers into controller | Jesse Duffield | |
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 | start refactoring gui | Jesse Duffield | |
2022-01-09 | add some more linters | Jesse Duffield | |
2022-01-09 | shorten name | Jesse Duffield | |
2022-01-09 | trim down gitcommand struct some more | Jesse Duffield | |
2022-01-09 | start breaking up git struct | Jesse Duffield | |
2022-01-07 | refactor | Jesse Duffield | |
2022-01-07 | simplify how we log commands | Jesse Duffield | |
2022-01-04 | more refactoring | Jesse Duffield | |
2022-01-04 | updating specs | Jesse Duffield | |
2022-01-04 | better typing for rebase mode | Jesse Duffield | |
2022-01-04 | WIP | Jesse Duffield | |
2022-01-04 | align Gui struct with GitCommand | Jesse Duffield | |
2022-01-04 | WIP | Jesse Duffield | |
2021-11-01 | support aborting a merge or rebase with esc | Jesse Duffield | |
2021-10-22 | simplify pull logic | Jesse Duffield | |
2021-04-11 | full coverage for logging commands | Jesse Duffield | |
2021-04-11 | start adding support for logging of commands | Jesse Duffield | |
2021-04-10 | fix commit amend | Jesse Duffield | |
2021-04-06 | refactor | Jesse Duffield | |
2021-04-06 | refactor of contexts and filtering | Jesse Duffield | |
2021-04-06 | use suspense rather than close the gui when switching to a subprocess | Jesse Duffield | |
2020-11-28 | Start on supporting auto-suggestions when checking out a branch | Jesse Duffield | |
switch to other fuzzy package with no dependencies | |||
2020-11-18 | fix lint errors | Jesse Duffield | |
2020-10-10 | type i18n | Jesse Duffield | |
2020-10-10 | remove viper | Jesse Duffield | |
WIP | |||
2020-09-29 | factor out code from git.go | Jesse Duffield | |
2020-08-23 | fix focus change on merge popup return | Jesse Duffield | |
2020-08-23 | use context to return to the correct view | Jesse Duffield | |
2020-08-15 | more removing of g | Jesse Duffield | |
2020-08-15 | rename | Jesse Duffield | |
2020-08-15 | clean up interface for popup panels | Jesse Duffield | |
2020-03-28 | fix up some things with the patch handling stuff | Jesse Duffield | |
2020-03-28 | move working tree state function into git.go | Jesse Duffield | |
2020-03-28 | better error handling | Jesse Duffield | |
2020-03-28 | more centralised handling of refreshing | Jesse Duffield | |
2020-03-09 | big golangci-lint cleanup | Jesse Duffield | |
2020-02-25 | do not close over variables in a functionv0.15.3 | Jesse Duffield | |
2020-02-15 | remove old createMenu function | Jesse Duffield | |
2020-02-15 | refactor rebase menu panel | Jesse Duffield | |
2019-11-10 | add mouse support | Jesse Duffield | |
2019-11-05 | do not return focus to commitsFiles view after selecting to start a new patch | Jesse Duffield | |
2019-11-05 | handle empty commit in rebase | Jesse Duffield | |
2019-03-23 | Rely on model rather than view to focus a point | Jesse 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-02 | add another match on the error message to tell us we've encountered merge ↵ | Jesse Duffield | |
conflicts | |||
2019-02-16 | fix golangci errors | Jesse Duffield | |
2019-02-16 | more work on rebasing feature | Jesse Duffield | |
2019-02-16 | consider whether the view has focus when rendering the contents of a view | Jesse Duffield | |