Blame doc/usage/quick_replies.rst

Lubomír Sedlář 379479
Quick replies
Lubomír Sedlář 379479
=============
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Quick replies are reusable pieces of text that you can use to start a comment
Lubomír Sedlář 379479
on an issue or pull request. They are meant to remove the hassle of typing a
Lubomír Sedlář 379479
similar response again and again.
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Examples where this can be handy:
Lubomír Sedlář 379479
Lubomír Sedlář 379479
* asking for a rebase of a pull request
Lubomír Sedlář 379479
* asking a person to add a ``Signed-off-by`` line to their commit
Lubomír Sedlář 379479
Lubomír Sedlář 379479
All these requests might be accompanied by a description on why it's requested.
Lubomír Sedlář 379479
With quick replies you can prepare the descriptions and the just use them with
Lubomír Sedlář 379479
a click of a button.
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Using quick replies
Lubomír Sedlář 379479
-------------------
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Any user that can comment will be able to use the quick reply. They are offered
Lubomír Sedlář 379479
in a drop down menu next to the *Preview* button above comment form.
Lubomír Sedlář 379479
Lubomír Sedlář 379479
.. image:: /_static/quick_replies.png
Lubomír Sedlář 379479
Lubomír Sedlář 379479
The button is only visible if the project has some quick replies defined.
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Additionally, the button will become insensitive when you type something into
Lubomír Sedlář 379479
the comment box or switch to preview. This should avoid writing over your
Lubomír Sedlář 379479
carefully crafted comment by accident. If you remove the text from the field,
Lubomír Sedlář 379479
the button will work again.
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Creating and modifying quick replies
Lubomír Sedlář 379479
------------------------------------
Lubomír Sedlář 379479
Lubomír Sedlář 379479
Project admins can create them in the settings section. There are no length
Lubomír Sedlář 379479
limits on the reply, but only the first 50 characters will be displayed in the
Lubomír Sedlář 379479
menu for users to choose from. This limitation should encourage you to put the
Lubomír Sedlář 379479
most important message at the beginning.
Lubomír Sedlář 379479
Lubomír Sedlář 379479
The order in which you define the replies will be preserved on the chooser
Lubomír Sedlář 379479
menu. This can be used to put the most frequently used ones on the top of the
Lubomír Sedlář 379479
list.