Michael Muré
9ce84fc1a3
termui: make the help visually easier to parse
2020-08-22 15:12:09 +02:00
Yuri D'Elia
9c3d25e776
Set the Fg color of the status bar to White
...
Always set the Fg color when Bg is set. This fixes poor contrast on
terminals with non-standard foreground colors.
2020-07-13 13:30:46 +02:00
Michael Muré
88ad7e606f
repository: remove tie to Bug, improved and reusable testing
...
- allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code.
- generalize the memory-only and persisted Lamport clocks behind a common interface
- rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily
- test previously untested components with those new tests
Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
2020-06-26 19:14:22 +02:00
Michael Muré
aab3a04d0c
bug: harmonize how time are used, fix some issues in command special formats
...
This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
2020-06-25 23:18:17 +02:00
Michael Muré
97bc5ccd22
various cleanups suggested by golang-ci
2020-02-08 16:17:15 +01:00
Michael Muré
cb8236c9c2
termui: migrate to awesome-gocui instead of the old fork I had
2019-11-03 20:47:29 +01:00
Michael Muré
f72a9dc62b
switch to go-term-text to fix bad underflow for label rendering
2019-11-03 14:00:35 +01:00
ludovicm67
75004e1298
bug: rename RGBA to Color
2019-10-15 20:42:27 +02:00
ludovicm67
d0d9ea56b9
termui: add colors for labels
2019-10-15 20:42:27 +02:00
Michael Muré
99b5c58d43
finish the refactoring for the dedicated identifier type
2019-08-12 16:12:14 +02:00
Michael Muré
612a29b031
fix everything following the hash-->id change
2019-08-08 19:06:13 +02:00
ludovicm67
ff686e6d5b
termui: fix bug when trying to edit without selection
2019-04-10 23:53:10 +02:00
Michael Muré
e100ee9f10
github: fix 3 edge-case failures
2019-03-01 22:48:50 +01:00
Michael Muré
ebcf3a7587
termui: use a forked gocui to fix large character handling
2018-12-25 20:49:54 +01:00
Michael Muré
94b28b68e5
termui: display an explicit placeholder for empty messages
2018-12-23 21:46:47 +01:00
Michael Muré
261aa61711
text: fix a wrapping bug leading to line longer than they should
2018-12-23 20:13:14 +01:00
Michael Muré
1b9121def5
Merge branch 'labeledit'
2018-10-17 19:51:39 +02:00
Michael Muré
7cb7994cda
github: also pull users email
2018-10-07 18:27:23 +02:00
Luke Adams
da1af34584
Remove old label editing code from showBug
2018-10-04 13:51:00 -06:00
Luke Adams
59658bb98e
Use labelSelect to edit labels in bugView
2018-10-04 13:51:00 -06:00
Luke Adams
97afd6b68a
Add edit to instruction view
2018-10-04 13:18:52 -06:00
Luke Adams
c96015e634
Enable editing comments in the term ui
2018-10-04 10:51:19 -06:00
Luke Adams
e47c07681c
Use operation hash for view name
...
This change allows the operation to be found given only the view name.
2018-10-04 10:30:56 -06:00
Luke Adams
6698acd8ce
make changes
2018-10-02 16:18:39 -06:00
Luke Adams
f262a01b1f
add open/close in bug view
2018-10-02 14:14:06 -06:00
Michael Muré
7f86898ef9
bug: use deditated type for all TimelineItem
2018-09-30 17:15:54 +02:00
Michael Muré
bad9cda969
termui: advertise edited comments
2018-09-30 11:03:47 +02:00
Michael Muré
75c921cdf9
termui: fix compilation
2018-09-29 21:00:14 +02:00
Michael Muré
1bf268cebc
merge package operations into bug, they are tightly coupled anyway
2018-09-29 00:51:54 +02:00
Michael Muré
a645c90121
termui: use q as keybinding to quit the show bug view
2018-09-19 19:30:04 +02:00
Michael Muré
fb0f5530f1
catch a lot of error not being checked
2018-09-13 12:43:47 +02:00
Michael Muré
f569e6aacc
operations: return a more convenient array of result for label changes
2018-09-13 12:20:28 +02:00
Michael Muré
3605887345
reorganize package for a more idomatic go
2018-09-11 22:14:46 +02:00
Michael Muré
30e38aab08
termui: use Esc key to quit instead of 'q' to free it for a "query" feature
2018-09-11 17:46:47 +02:00
Michael Muré
7397c94d99
make CLI commands use the cache to lock the repo properly
2018-08-31 17:22:10 +02:00
Michael Muré
0514edad1a
cache: maintain, write and load from disk bug excerpts
2018-08-23 21:24:57 +02:00
Michael Muré
c93c0221ca
termui: fix left/right unnecessarely moving up/down
2018-08-17 13:07:46 +02:00
Michael Muré
e482a37776
termiu: show the bug after creation
2018-08-17 12:37:58 +02:00
Michael Muré
e2f4b027c9
termui: implement push/pull
2018-08-12 21:09:30 +02:00
Michael Muré
721ed3248e
termui: fix scroll bug
2018-08-12 02:45:35 +02:00
Michael Muré
53a3d5e113
termui: add and remove labels
2018-08-12 02:42:03 +02:00
Michael Muré
f51cc4a33f
termui: implement left/right navigation in show bug
2018-08-11 23:36:03 +02:00
Michael Muré
b96819a8e8
termui: properly handle color sequence code even inside a word
2018-08-11 22:27:45 +02:00
Michael Muré
f7ef5cdb3a
termui: fix the instructions being written on in show bug
2018-08-09 16:48:23 +02:00
Michael Muré
a0d509bcdd
termui: display status and label changes in show bug
2018-08-09 15:28:32 +02:00
Michael Muré
de76b6fa15
termui: better padding for show bug
2018-08-09 14:55:18 +02:00
Michael Muré
5675299c8d
termui: commit the bug when quiting the show bug window
2018-08-09 14:45:02 +02:00
Michael Muré
b6087d7e35
termui: colors show bug
2018-08-09 14:36:23 +02:00
Michael Muré
bf0a855f0c
termui: implement scrolling with pageUp / pageDown
2018-08-09 02:46:26 +02:00
Michael Muré
204ca0a9e6
termui: implement scrolling by selecting block in show bug
2018-08-09 01:35:31 +02:00