summaryrefslogtreecommitdiff
path: root/gerrit-widget
diff options
context:
space:
mode:
Diffstat (limited to 'gerrit-widget')
-rw-r--r--gerrit-widget/README.md14
-rw-r--r--gerrit-widget/gerrit_widget.pngbin0 -> 5823 bytes
-rw-r--r--gerrit-widget/new_review.pngbin0 -> 16350 bytes
-rw-r--r--gerrit-widget/popup.pngbin0 -> 50956 bytes
4 files changed, 12 insertions, 2 deletions
diff --git a/gerrit-widget/README.md b/gerrit-widget/README.md
index c9b603b..61231d4 100644
--- a/gerrit-widget/README.md
+++ b/gerrit-widget/README.md
@@ -1,6 +1,16 @@
# 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
@@ -8,7 +18,7 @@ It is possible to customize widget by providing a table with all or some of the
| 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 |
| `query` | `is:reviewer AND status:open AND NOT is:wip` | Query to retrieve reviews |
diff --git a/gerrit-widget/gerrit_widget.png b/gerrit-widget/gerrit_widget.png
new file mode 100644
index 0000000..926bc4b
--- /dev/null
+++ b/gerrit-widget/gerrit_widget.png
Binary files differ
diff --git a/gerrit-widget/new_review.png b/gerrit-widget/new_review.png
new file mode 100644
index 0000000..ebc9bad
--- /dev/null
+++ b/gerrit-widget/new_review.png
Binary files differ
diff --git a/gerrit-widget/popup.png b/gerrit-widget/popup.png
new file mode 100644
index 0000000..e08879a
--- /dev/null
+++ b/gerrit-widget/popup.png
Binary files differ