198ead7c14
Extract a ListRenderer struct
...
I'm doing this not so much because it's a great abstraction, but just because it
will make it much easier to write tests for it.
2023-08-28 14:21:06 +02:00
061bfce835
Change length parameter of getDisplayStrings to endIdx
...
It's more natural to work with this way, as we will see later in this branch.
2023-08-28 14:21:06 +02:00
6c4e7ee972
Add busy count for integration tests
...
Integration tests need to be notified when Lazygit is idle so they can progress to the next assertion / user action.
2023-07-08 22:54:52 +10:00
a9e2c8129f
Introduce filtered list view model
...
We're going to start supporting filtering of list views
2023-07-03 12:54:13 +10:00
43251e7275
split context common from helper common
2023-04-30 13:19:53 +10:00
e2db6a1732
remove context callback opts
2023-04-30 13:19:53 +10:00
509e3efa70
lots more refactoring
2023-04-30 13:19:53 +10:00
8edad826ca
Begin refactoring gui
...
This begins a big refactor of moving more code out of the Gui struct into contexts, controllers, and helpers. We also move some code into structs in the
gui package purely for the sake of better encapsulation
2023-04-30 13:19:52 +10:00
e4e04cfa8f
fix hidden suggestions
2022-08-07 19:20:02 +10:00
524bf83a4a
refactor to only have one context per view
2022-08-06 13:49:11 +10:00
d93fef4c61
use generics to DRY up context code
2022-03-19 12:12:57 +11:00
722410aded
refactor controllers
2022-03-17 19:13:40 +11:00
d82f175e79
refactor contexts
2022-03-17 19:13:40 +11:00