Add '<' and '>' keybindings which are used for diffing pairs of
patchsets. '<' moves to the previous pair, '>' to the next.
Change-Id: I46d24f6e62f113e16be2445a8e52384086c01c8e
Many of the other keybindings seem to have emacs defaults, so add
page-up/page-down, for use on laptop keyboards without real page
keys.
Change-Id: I02bd8bebe9bfea89133d2eb28322bcf5fabaacf8
When entering multi-key commands, display potential completions
in the status bar as a reminder to the user.
Change-Id: I498781576a60789b0f810f08cbc9c8c74d52784f
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
In environments without py27, gertty was unable to run. This patch
addresses all the Py3K issues discovered when getting gertty running in
a py34-only environment.
Change-Id: I32a06f9768bdeaf8e95ddf9a9e54c79059fbaa2f
This way vi users can contribute vi keybindings here and everyone
will be able to benefit. Use "gertty -k vi" or add "keymap: vi"
to the config file.
Change-Id: Iac5db63f8f5394ab874079a6047ddc3a14ec7c22
Add a simple interactive search to the diff view. This is bound
to C-s by default. It highlights text, but does not yet navigate.
Change-Id: Ic795bb5d18911590237b6595f812e10fd4baa1ce
Create a global app kill ring and a custom edit widget that can
kill and yank from it. Also, add Emacs beginning/end of line
keys to the default keymap.
Change-Id: I18d8d47694c89ede4dcec7eaf5d3fb2210ef4438
Being able to refine a search query is useful, but so is being able
to quickly open a specific change from anywhere. Separate these
commands. C-o opens a blank search input; M-o opens a search input
pre-filled with th ecurrent query in list view.
Change-Id: I49d0f076354322a2652de515d476548926a99182
The addition of the ability to review multiple changes at once from the
change_list view duplicates the reverse_order keybinding. They both use
'r'.
Change the reverse_order binding to 'R'.
See, https://storyboard.openstack.org/#!/story/2000290
Change-Id: I3728948a55060ff9f1bd28352474fc4479e68ab9
Add a process mark to the change list so that multiple changes may
be selected at once for further operations. Allow multiple changes
to be reviwed at once by selecting them with the process mark and
then pressing the usual review command key. The categories are
simply taken from the first change in the list for simplicity.
This should be fine most of the time, but if the changes have
different categories available to them, or the user has different
access levels, this may not behave as intended.
Change-Id: I04a790d91b27b270cf1269c7bcb39c12d857ab32
To facilitate escaping from a deep stack of screens, add a key
to clear the history and return to the main project list. Bind
this to meta-home by default.
Change-Id: Ic98e47d7a3a17271bf21230ec4bac184f691ced3
This feature detects when Gertty is about to upload a review with
a positive vote after someone else has left a negative vote while
Gertty was offline. This prevents a situation where it appears
a user is ignoring negative feedback from others. The local user
is alerted and has the option to re-evaluate their review before
proceeding.
Change-Id: I838acaae6d12a2f8557bfd5a16837784c97c031a
We were only performing the '-' -> ' ' substitution needed for
keymap names when updating urwid commands. Do that for all commands.
Change-Id: I2bae39523993da12848c818e6caef259d9f9fa4a
Added key bindings to sort the change list by number (current default), and by
the time the change was last updated. Also added the ability to reverse the
sort, useful for showing the most recent changes at the top of the screen.
Doesn't depend on but sorting by updated column makes more sense with this
patchset: https://review.openstack.org/#/c/122176/
Change-Id: I4d0ee462c106e26857785c9b4e26cc17e906796a
Add a schema change to store whether the user can submit a revision.
Offer the submit button on that revision, as well as on the review
dialog if applicable. Allow the submit action to be bound to
reviewkeys. Also bind it to a key command.
Change-Id: I341663ac84d2ac09f9b1ef8c9e0dff45d2658e1d
Gertty previously supported F1 and '?' as help keys, but '?' was
accidentally switched to 'h' when customizable keymaps were added.
Switch back to the old value.
Change-Id: Iaab801e4d53c59e6f45021ddfaa85bb740898ce8
To further distinguish the local vs remote cherry pick operation,
add 'local' to the name in the keymap. Same for checkout (though
it has no remote).
Change-Id: Idcca8a9dbddfc571eda32634a7dc2a7bfb8a070a
Multiple keymaps may be added in either Gertty itself or in config
files, individual keys may be overriden in the standard map, and
the map can be selected via config file or command line option
just as palettes are.
Change the help text to be dynamically generated based on the
current keymap.
Change-Id: I5f8e63897fab3aa14493465256b5d4516cf47dcd