f1d7f59e49
switching repos without restarting the gui
2021-04-06 19:34:32 +10:00
bc9a99387f
refactor of contexts and filtering
2021-04-06 19:34:32 +10:00
cc9293b386
add mutex to prevent crashes with merge conflicts
2021-04-02 11:09:12 +11:00
872cf0d726
hide commit files view upon losing focus because you probably don't want it lingering anyway
2021-04-02 11:00:15 +11:00
7d62f103e4
big refactor to give our enums actual types
2021-04-02 11:00:15 +11: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
682db77401
fix lint errors
2020-11-18 08:36:19 +11:00
79e59d5460
add some safe goroutines
...
WIP
2020-10-10 00:23:01 +11:00
7b4a0f20b2
add submodules context
2020-10-02 08:09:42 +10:00
3b93b5dde4
make it easier to add a tab to a view
2020-10-02 08:09:42 +10:00
c12752cf53
add mutex to views array
2020-10-01 07:01:39 +10:00
a09bb5d4d8
better validation messages
2020-09-27 09:49:30 +10:00
266d8bf0d5
minor fixup
2020-09-27 09:49:30 +10:00
92183de29e
more lenient handling of views not existing
2020-09-26 19:33:22 +10:00
077f113618
add in-built logging support for a better dev experience
2020-09-26 11:00:50 +10:00
f172f20219
Return whether the context has a parent or not along with that parent
...
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-23 22:30:32 +00:00
bd66162972
fix up patch manager
2020-08-23 14:29:18 +10:00
a95fd581fd
fix logic for entering merging panel
2020-08-23 14:29:18 +10:00
fda9f4ea7a
centralise logic for rendering options map
2020-08-23 14:29:18 +10:00
f876d8fdc8
use constants
2020-08-23 14:29:18 +10:00
4198bbae6c
ensure there is always a current context
2020-08-23 14:29:18 +10:00
ade54b38c1
cleanup
2020-08-23 14:29:18 +10:00
2c3f5be093
comment these things out because we're not using them yet
2020-08-23 14:29:18 +10:00
5874529f43
deal with the fact that a nil wrapped in an interface is not equal to nil
2020-08-23 14:29:18 +10:00
438abd6003
centralise code for copying to clipboard
2020-08-23 14:29:18 +10:00
f63ec38aae
genericise creating new branches off things
2020-08-23 14:29:18 +10:00
0ac402792b
allow getting the current item generically
2020-08-23 14:29:18 +10:00
974c6510b8
add sub commit context
2020-08-23 14:29:18 +10:00
2d90e1e8ee
commit files kind of generalised
2020-08-23 14:29:18 +10:00
ddf25e14af
allowing commit files to be viewed in reflog as well
2020-08-23 14:29:18 +10:00
48f1adad49
stop logging stack
2020-08-23 14:29:18 +10:00
379d37a255
remove unnecessary function
2020-08-23 14:29:18 +10:00
a59ac064d2
statically define context keys
2020-08-23 14:29:18 +10:00
433d54fcec
WIP constants for context keys
2020-08-23 14:29:18 +10:00
99707a527d
WIP
2020-08-23 14:29:18 +10:00
bc410d8e4a
use camelCase
2020-08-23 14:29:18 +10:00
dbf6bb5f27
some more things
2020-08-23 14:29:18 +10:00
2fac2f9f1f
WIP
2020-08-23 14:29:18 +10:00
2b812b01e9
more standardisation of rendering
2020-08-23 14:29:18 +10:00
2f5d5034db
good progress
2020-08-23 14:29:18 +10:00
a32947e7a7
prepare for OnRender prop
2020-08-23 14:29:18 +10:00
2fdadd383a
introduce new approach to handling tab states
2020-08-23 14:29:18 +10:00
9a2dc3fe15
stop crash due to context stack not being initialized
2020-08-23 14:29:18 +10:00
f0c3d3fc4d
centralise setting of main views context
2020-08-23 14:29:18 +10:00
2488e0044d
concurrent-safe handling of context state
2020-08-23 14:29:18 +10:00
a12d18146c
better logic for taking focus away from popup panels
2020-08-23 14:29:18 +10:00
119d5be1a4
move into list context file
2020-08-23 14:29:18 +10:00
4f4df8f9cc
move context specific keybindings into context file
2020-08-23 14:29:18 +10:00
c730271e09
minor update
2020-08-23 14:29:18 +10:00
ac0eedda91
lots more stuff
2020-08-23 14:29:18 +10:00