Commit Graph

131 Commits

Author SHA1 Message Date
Luke Adams
4cb43815d0 Fix label select scrolling
This also sort of breaks the focus-on-add mechanism, but I can't think
of a good way to implement it.
2018-10-16 15:27:07 -06:00
Luke Adams
803fc6a8d0 Fix bug in computing added/removed labels 2018-10-16 14:36:57 -06:00
Luke Adams
3eedb6f65a Fix error when label list is empty 2018-10-16 14:13:04 -06:00
Michael Muré
7cb7994cda
github: also pull users email 2018-10-07 18:27:23 +02:00
Luke Adams
788cdb0633 Set minimum width for labelSelect 2018-10-05 13:12:47 -06:00
Luke Adams
b23f539a77 Error checking and cleanup 2018-10-05 12:22:15 -06:00
Luke Adams
b1b310d978 Make labelSelect with adaptive, add title 2018-10-05 12:18:00 -06:00
Luke Adams
3378e6409e Fix bug in labelSelect addItem
Adding a new item would cause a panic because focusView attempted to
access a view that did not yet exist. Fixed by calling layout before
calling focusView.
2018-10-05 11:52:41 -06:00
Luke Adams
f50d65b892 Add scrolling to labelSelect 2018-10-04 16:49:03 -06:00
Luke Adams
98f27e9e7c Make labelSelect update after add 2018-10-04 13:51:00 -06: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
e8173d4663 Add labelSelect view for choosing labels 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
bc8e6754a7 Make addCommentWithEditor accept a preMessage 2018-10-04 10:29:19 -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é
5b3a8f01f0
termui: better responsive columns in the bug table 2018-09-26 22:03:58 +02:00
Michael Muré
ac29b8253e
termui: detect when the title is not changed and abort the operation 2018-09-26 16:28:44 +02:00
Michael Muré
82eaceffc1
repo: split the Repo interface to avoid abstraction leak in RepoCache 2018-09-21 18:53:37 +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é
6f5d433e33
docs & cleaning 2018-09-16 13:50:53 +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é
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é
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é
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é
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é
c974cc022d
termui: fix a crash when a bug is created with an empty message 2018-08-17 16:42:10 +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é
6af16c1ccd
termui: fix out of bounds when opening a bug on non-first page 2018-08-17 12:10:28 +02:00
Michael Muré
df144e727a
fix some linting trouble 2018-08-13 15:28:47 +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é
34eea1f43c
termui: reset the scroll between show bug window 2018-08-09 14:55:34 +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
Michael Muré
f1fa169c28
termui: selectable bloc 2018-08-08 22:22:35 +02:00
Michael Muré
716b859f25
termui: colors in the bug table 2018-08-08 22:21:02 +02:00
Michael Muré
ad9e35e302
termui: add the previous title in the template when editing 2018-08-08 21:25:06 +02:00
Michael Muré
1017f8c6cb
termui: fix an out of bound panic 2018-08-08 21:24:02 +02:00
Michael Muré
ba16fc10b4
termui: more work on the show bug window 2018-08-03 17:29:53 +02:00
Michael Muré
5c86164f22
util: add a text wrapping function 2018-08-03 17:29:11 +02:00
Michael Muré
d8f89726fe
implement media hosting in git for comments + API for the webui 2018-08-02 23:37:49 +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é
e6a64b4985
cache: some refactoring 2018-08-02 14:56:50 +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é
091ac03f1f
termui: PgUp & PgDown to pagine the bug list as well 2018-07-30 18:59:34 +02:00
Michael Muré
12b0fecd9b
vendor gocui on the master branch because of no release in a while 2018-07-30 18:22:52 +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