summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context.go
AgeCommit message (Collapse)Author
2020-11-18fix lint errorsJesse Duffield
2020-10-10add some safe goroutinesJesse Duffield
WIP
2020-10-02add submodules contextJesse Duffield
2020-10-02make it easier to add a tab to a viewJesse Duffield
2020-10-01add mutex to views arrayJesse Duffield
2020-09-27better validation messagesJesse Duffield
2020-09-27minor fixupJesse Duffield
2020-09-26more lenient handling of views not existingJesse Duffield
2020-09-26add in-built logging support for a better dev experienceJesse Duffield
2020-08-23Return whether the context has a parent or not along with that parentJesse Duffield
There has got to be a better way around this but if we're returning a Context from a function (Context is an interface, not a concrete type), even if we return nil, on the calling end it won't be equal to nil because an interface value is a tuple of the type and the value meaning it's never itself nil, unless both values in the tuple are nil. So we're explicitly returning whether or not the underlying concrete type is nil.
2020-08-23fix up patch managerJesse Duffield
2020-08-23fix logic for entering merging panelJesse Duffield
2020-08-23centralise logic for rendering options mapJesse Duffield
2020-08-23use constantsJesse Duffield
2020-08-23ensure there is always a current contextJesse Duffield
2020-08-23cleanupJesse Duffield
2020-08-23comment these things out because we're not using them yetJesse Duffield
2020-08-23deal with the fact that a nil wrapped in an interface is not equal to nilJesse Duffield
2020-08-23centralise code for copying to clipboardJesse Duffield
2020-08-23genericise creating new branches off thingsJesse Duffield
2020-08-23allow getting the current item genericallyJesse Duffield
2020-08-23add sub commit contextJesse Duffield
2020-08-23commit files kind of generalisedJesse Duffield
2020-08-23allowing commit files to be viewed in reflog as wellJesse Duffield
2020-08-23stop logging stackJesse Duffield
2020-08-23remove unnecessary functionJesse Duffield
2020-08-23statically define context keysJesse Duffield
2020-08-23WIP constants for context keysJesse Duffield
2020-08-23WIPJesse Duffield
2020-08-23use camelCaseJesse Duffield
2020-08-23some more thingsJesse Duffield
2020-08-23WIPJesse Duffield
2020-08-23more standardisation of renderingJesse Duffield
2020-08-23good progressJesse Duffield
2020-08-23prepare for OnRender propJesse Duffield
2020-08-23introduce new approach to handling tab statesJesse Duffield
2020-08-23stop crash due to context stack not being initializedJesse Duffield
2020-08-23centralise setting of main views contextJesse Duffield
2020-08-23concurrent-safe handling of context stateJesse Duffield
2020-08-23better logic for taking focus away from popup panelsJesse Duffield
2020-08-23move into list context fileJesse Duffield
2020-08-23move context specific keybindings into context fileJesse Duffield
2020-08-23minor updateJesse Duffield
2020-08-23lots more stuffJesse Duffield
2020-08-23no need to set views on top anymoreJesse Duffield
2020-08-23small thingsJesse Duffield
WIP
2020-08-23remove previous viewJesse Duffield
2020-08-23WIPJesse Duffield
2020-08-23WIPJesse Duffield
2020-08-23WIPJesse Duffield