Michael Muré
b76357a5b1
termui: make bugTable only use the cache Easy pick
...
fix #127
2019-04-21 00:55:39 +02:00
ludovicm67
ff686e6d5b
termui: fix bug when trying to edit without selection
2019-04-10 23:53:10 +02:00
Michael Muré
24d6714dd5
cache: properly push/pull identities and bugs
2019-03-27 21:44:11 +01:00
Michael Muré
e100ee9f10
github: fix 3 edge-case failures
2019-03-01 22:48:50 +01:00
Michael Muré
bdbe9e7e82
identity: more progress and fixes
2019-03-01 22:35:37 +01:00
Michael Muré
feab9412df
WIP identity in git
2019-03-01 22:35:36 +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é
60d44f750e
Merge pull request #83 from Steap/improve-termui-paging
...
Improve termui paging
2018-12-25 20:12:20 +01:00
Michael Muré
94b28b68e5
termui: display an explicit placeholder for empty messages
2018-12-23 21:46:47 +01:00
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
Michael Muré
261aa61711
text: fix a wrapping bug leading to line longer than they should
2018-12-23 20:13:14 +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é
1b9121def5
Merge branch 'labeledit'
2018-10-17 19:51:39 +02:00
Michael Muré
7275280de3
termui: some cleanup in the label edition code
2018-10-17 19:50:41 +02:00
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