Use a fixed estimate of the amount of space needed for each column
and then if there is extra space, consider adding the Branch and
Topic columns to the change list.
Change-Id: I90ee7f3e1953468a9e81cc508c2c444e1af50efc
When possible, try to shorten the screen title to the shortest
length possible while still being descriptive enough to help
the user navigate.
Also, make the space for the ellipses available for use for
titles that do not need them.
Change-Id: I82e08ac60451e81c2e5a51f8595fb19234f23859
This commit adds matchers for bugs and blueprints on launchpad, and
replicates the behavior of gerrit UI.
Change-Id: Ic721a90df029d5b82d30c7d7193170488c5c0406
This corrects the following error:
urwid.listbox.ListBoxError: Widget <Pile selectable box/flow widget>
at position 2 within listbox calculated X rows but rendered Y!
This happened when related changes links were winder than the screen.
They were rendered as FixedButtons, but there is no reason for them
to be. This changes them to regular urwid Buttons which are flow
widgets and will line-wrap if needed.
Change-Id: Ia91beaffadbb7a3e5341b11c49bb2d6d74df4782
Gertty uses WidgetWraps around the LineBox widget for popup widgets. Add
LineBoxTitlePropertyMixin which adds property and setter for title attribute,
accessing the underlying title_widget on the wrapped LineBox widget.
We use the popup method in the controller to display these dialogs. It uses an
Overlay widget to display our dialog widget on top of the current view. If the
widget to be displayed by the Overlay widget has title attribute, copy it to
the Overlay widget.
Change-Id: I4c6ecbc7ed87867cd67cd93c1125384dd5d4b9af
This change adds a navigational breadcrumb trail to the bottom of the interface
to allow the user to easily keep track of their location in Gertty.
Change-Id: I40de19084bf66d095c14ac7a4a901f293b30b9be
This is basically the reference config file translated to rst.
This also makes some minor updates to the reference config file.
Change-Id: I6aa3f9a7410a219ad00cee827ac4c273cf54bff5
This commit adds a new config option 'git-url', where the
base URL can be specified to anything recognised by git-clone:
https://www.kernel.org/pub/software/scm/git/docs/git-clone.html#URLS
This is useful if the values provided by gerrit are incorrect, or if
you have access to a gerrit mirror closer to you.
Change-Id: I35ee5540aad2f27125ec15e6e933ac1ad3f3050e
GitPython had a very incompatible change that breaks any call that
uses a single character option (e.g., -U) that requires no space
between the option and the value. So far, this breaks the diff API
where we used the -U option instead of the long option equivalent.
For history:
https://github.com/gitpython-developers/GitPython/issues/382
So far, I've only seen one place where this bites gertty. Since the
GitPython author has stated this will not be reverted or fixed, having
a permanent cap on that library seems harsh as we won't get any other
bug fixes.
This fixes the known/found areas where we are affected.
Change-Id: Iadb279234af2ea01fbff35dc629c01dae5a3195c
When using project topics, indent the projects within each topic
for better visual differentiation.
Change-Id: I73fc9bfd16fc6ccb4a818580bf0dda60a82466d8
The update to GitPython that supports easily detecting the filenames
in file-permissions-only changes merged a year ago. Start using it
and raise the mininum GitPython version to one which supports it.
Change-Id: I9a5104a4b399dee0d9e029fd0b10e37b8aafd3f8
And add sort by last seen.
As we add more sorting features, they keymap is getting crowded.
Since most of the time folks will probably set their preferred sort
in the config file, make changing the sort a two-key process. This
also lets them be somewhat more intuitive due to reduced collisions.
Change-Id: I9e7b23f7036f10525d10268f9b3af8296cabdf69
This is basically just so a developer can turn down the chatty
sync operations that are normally going on and just see the
minimum interactive sync operations. It's not something that
should be used normally (reviews may not be uploaded, etc).
Change-Id: I9b891366783a18c2896ac759ed4cb855beff906b
Display [ABANDONED] if the parent is abandoned, and do not display
children if they are abandoned.
Change-Id: I8384cd9df2f3a9310874e62f227963a5f1a9476a
8377e0a went a bit too far and removed some code that was necessary
for 3.4 but broke some utf-8 in git commits. This restores most
of what that removed, with one change that causes it to work with
the test commits listed at the top of the file.
Change-Id: Id39d7799f9c210a0ff0a80aeef34681eb6fe5770
Commit 74877d2 added improved support for python3 but introduced
some regressions around unicode handling.
Inspired-By: James E. Blair <jeblair@linux.vnet.ibm.com>
Change-Id: I424a921d80959777ff72df499c5931a21dc0dccb
The update to support the offset rather than sortkey based batching
neglected to account for a query that would need more than 2 batches.
Change-Id: I04ef3243b1fb20cd688af3227fd9998e850fdf9a
Add some actual sphinx documentation. This is basically the README
split up into sections. Once this is actually published somewhere,
we can remove some of the content from the README and link to an
on-line reference instead.
Change-Id: I25e5ff842e94a5a05aa62c164952df93efc49e98