Add screenshots to gerrit widget

This commit is contained in:
Pavel Makhov 2019-11-23 21:54:52 -05:00
parent 70867f69ff
commit 344fd7923f
4 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,16 @@
# Gerrit widget # Gerrit widget
This widget adds support for [Gerrit](https://www.gerritcodereview.com/). It shows number of currently assigned reviews to the user and shows a notification when new review is assigned. This widget adds support for [Gerrit](https://www.gerritcodereview.com/). It shows number of currently assigned reviews to the user (by default)
![gerrit_widget](./gerrit_widget.png)
when clicked it shows the reviews in a list, if item of a list is clicked, the review will be opened in the default browser:
![popup](./popup.png)
Also, if a new review is assigned to the user, there will be a pop-up:
![new_review](./new_review.png)
## Customization ## Customization
@ -8,7 +18,7 @@ It is possible to customize widget by providing a table with all or some of the
| Name | Default | Description | | Name | Default | Description |
|---|---|---| |---|---|---|
| `icon`| `/.config/awesome/awesome-wm-widgets/gerrit-widget/gerrit_icon.svg| Path to the icon| | `icon`| `/.config/awesome/awesome-wm-widgets/gerrit-widget/gerrit_icon.svg`| Path to the icon |
| `host` | Required | Ex https://gerrit.tmnt.com | | `host` | Required | Ex https://gerrit.tmnt.com |
| `query` | `is:reviewer AND status:open AND NOT is:wip` | Query to retrieve reviews | | `query` | `is:reviewer AND status:open AND NOT is:wip` | Query to retrieve reviews |

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
gerrit-widget/popup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB