Michael Muré
fb87d44888
termui: don't reset the cursor when paginating with left/right
...
See https://github.com/MichaelMure/git-bug/pull/83 for the rationale
2018-12-23 21:16:27 +01:00
Cyril Roelandt
87098cee7b
Termui: Better position the cursor when changing page.
...
After moving to the previous page, users probably want to have their cursor on
the last entry of the page. When moving to the next page, they probably want it
to be on the first entry.
2018-12-22 01:39:38 +01:00
Cyril Roelandt
1174265e59
Termui: switch to the previous/next page when going up/down.
...
Rather than using 'h' or 'l' to load the previous or next page, allow users to
do this automatically when going up or down the list with 'k' or 'j'. This is
the default behaviour in mutt, for instance.
2018-12-22 00:06:40 +01:00
Michael Muré
9c89cf5b96
termui: tighter column in the bug table
2018-12-01 17:09:13 +01:00
Michael Muré
ab970da4d5
termui: use the '↵' symbol to save screen space
2018-12-01 17:08:19 +01:00
Michael Muré
7cb7994cda
github: also pull users email
2018-10-07 18:27:23 +02:00
Michael Muré
5b3a8f01f0
termui: better responsive columns in the bug table
2018-09-26 22:03:58 +02:00
Michael Muré
bfb5e96aab
commands: git bug comment now show the comments of a bug
2018-09-15 20:30:31 +02:00
Michael Muré
7bec0b1f13
bug: add a data validation process to avoid merging incorrect operations
2018-09-15 13:15:00 +02:00
Michael Muré
f8b0b4f530
termui: use 'q' for quit and 's' for search
2018-09-13 17:55:55 +02:00
Michael Muré
8a25c63d69
termui: add missing query help text
2018-09-13 12:19:49 +02:00
Michael Muré
19f43a83c3
bug: proper int baked enum for merge result status instead of a string
2018-09-13 11:13:51 +02:00
Michael Muré
3605887345
reorganize package for a more idomatic go
2018-09-11 22:14:46 +02:00
Michael Muré
9cbd5b4ee1
termui: allow to change the bug query
2018-09-11 19:28:32 +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é
09e097e1bf
cache: combine sorting and filtering into a query with its micro-DSL
2018-09-09 20:22:27 +02:00
Michael Muré
6d7e79a277
cache: refactor to handle bug changes during Pull
2018-09-08 14:17:08 +02:00
Michael Muré
0728c0050d
cache: provide a generic bug sorting function
2018-09-02 16:36:48 +02:00
Michael Muré
919f98efdb
cache: provide sorted (id, creation, edit) list of bugs
2018-09-02 15:46:43 +02:00
Michael Muré
0514edad1a
cache: maintain, write and load from disk bug excerpts
2018-08-23 21:24:57 +02:00
Michael Muré
e7648996c8
bug: add a new BugExerpt that hold a subset of a bug state for efficient sorting and retrieval
2018-08-23 19:19:16 +02:00
Michael Muré
e482a37776
termiu: show the bug after creation
2018-08-17 12:37:58 +02:00
Michael Muré
6af16c1ccd
termui: fix out of bounds when opening a bug on non-first page
2018-08-17 12:10:28 +02:00
Michael Muré
e2f4b027c9
termui: implement push/pull
2018-08-12 21:09:30 +02:00
Michael Muré
34eea1f43c
termui: reset the scroll between show bug window
2018-08-09 14:55:34 +02:00
Michael Muré
716b859f25
termui: colors in the bug table
2018-08-08 22:21:02 +02:00
Michael Muré
1017f8c6cb
termui: fix an out of bound panic
2018-08-08 21:24:02 +02:00
Michael Muré
9488467c75
termui: show the last edit in a dedicated column
2018-08-02 16:48:07 +02:00
Michael Muré
ae1ed6c11f
termui: implement addComment and setTitle
2018-08-02 16:35:13 +02:00
Michael Muré
c875d40e63
termui: add a view to display a bug
2018-08-01 02:17:06 +02:00
Michael Muré
2f88c28c59
termui: fix a pagination off by one
2018-07-31 22:30:50 +02:00
Michael Muré
6b012b1e48
termui: add a reusable error popup, use it for badly formated bug creation
2018-07-31 22:19:11 +02:00
Michael Muré
87669e0f18
termui: use the editor to create a new bug
2018-07-31 16:44:23 +02:00
Michael Muré
29bb7364c8
termui: interactive and responsible list of bugs
2018-07-30 18:09:44 +02:00
Michael Muré
c0dbe70ee0
wip terminal ui
2018-07-30 17:00:10 +02:00