Gilles has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/183793

Change subject: Add image right-click stats to dashboard
......................................................................

Add image right-click stats to dashboard

Bug: T75962
Change-Id: I307e74666da6169cdb1327dcedae8ee2c16cf673
---
M datasources/mmv_actions_template.json
M graphs/mmv_actions_template.json
2 files changed, 17 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/multimedia/config 
refs/changes/93/183793/1

diff --git a/datasources/mmv_actions_template.json 
b/datasources/mmv_actions_template.json
index 46c98e6..ebba311 100644
--- a/datasources/mmv_actions_template.json
+++ b/datasources/mmv_actions_template.json
@@ -316,6 +316,11 @@
             "id": "metadata-scroll-close",
             "label": "metadata scroll close",
             "type": "Number"
+        },
+        {
+            "id": "right-click-image",
+            "label": "image right-click",
+            "type": "Number"
         }
     ]
 }
\ No newline at end of file
diff --git a/graphs/mmv_actions_template.json b/graphs/mmv_actions_template.json
index f6ec56e..d35a36c 100644
--- a/graphs/mmv_actions_template.json
+++ b/graphs/mmv_actions_template.json
@@ -1,7 +1,7 @@
 {
     "graph_version": "0.6.0",
     "id": "mmv_actions_%wiki%",
-    "desc": "<b>thumbnail click</b> how many times users clicked on a 
thumbnail which opened media viewer<br><b>enlarge click</b> how many times 
users clicked on the \"enlarge\" icon next to the thumbnail which opened media 
viewer<br><b>fullscreen</b> how many times users went into fullscreen 
mode<br><b>defullscreen</b> how many times users exited fullscreen 
mode<br><b>close</b> how many times users closed media viewer<br><b>view 
original file</b> how many times users clicked on the icon to view the original 
file<br><b>file description page</b> how many times users visited that image's 
File: page<br><b>file description page (above fold)</b> how many times users 
visited that image's File: page using the above-the-fold icon<br><b>use this 
file open</b> how many times users opened \"use this file\"<br><b>download 
open</b> how many times users opened the dialog to download this 
file<br><b>download close</b> how many times users closed the dialog to 
download this file<br><b>options open</b> how many times users opened the 
dialog to set options<br><b>options close</b> how many times users closed the 
dialog to set options<br><b>image view</b> how many times users viewed an 
image<br><b>metadata open</b> how many times users opened the metadata 
panel<br><b>metadata close</b> how many times users closed the metadata 
panel<br><b>next image</b> how many times users navigated to the next 
image<br><b>prev image</b> how many times users navigated to the previous 
image<br><b>terms open</b> how many times users opened the usage 
terms<br><b>license page</b> how many times users visited that image's license 
page<br><b>author</b> how many times users visited that image's author 
page<br><b>source page</b> how many times users visited that image's source 
page<br><b>about page</b> how many times users visited the about 
page<br><b>discuss page</b> how many times users visited the discuss 
page<br><b>help page</b> how many times users visited the help 
page<br><b>location page</b> how many times users visited that image's location 
page<br><b>uploader page</b> how many times users visited that image's uploader 
page<br><b>hash load</b> how many times users opened Media Viewer through a 
hash link<br><b>history navigation</b> how many times users navigated within 
Media Viewer using their browser's history<br>",
+    "desc": "<b>thumbnail click</b> how many times users clicked on a 
thumbnail which opened media viewer<br><b>enlarge click</b> how many times 
users clicked on the \"enlarge\" icon next to the thumbnail which opened media 
viewer<br><b>fullscreen</b> how many times users went into fullscreen 
mode<br><b>defullscreen</b> how many times users exited fullscreen 
mode<br><b>close</b> how many times users closed media viewer<br><b>view 
original file</b> how many times users clicked on the icon to view the original 
file<br><b>file description page</b> how many times users visited that image's 
File: page<br><b>file description page (above fold)</b> how many times users 
visited that image's File: page using the above-the-fold icon<br><b>use this 
file open</b> how many times users opened \"use this file\"<br><b>download 
open</b> how many times users opened the dialog to download this 
file<br><b>download close</b> how many times users closed the dialog to 
download this file<br><b>options open</b> how many times users opened the 
dialog to set options<br><b>options close</b> how many times users closed the 
dialog to set options<br><b>image view</b> how many times users viewed an 
image<br><b>image unview</b> how many times users navigated away from an 
image<br><b>image right-click</b> how many times users right-clicked on an 
image<br><b>metadata open</b> how many times users opened the metadata 
panel<br><b>metadata close</b> how many times users closed the metadata 
panel<br><b>next image</b> how many times users navigated to the next 
image<br><b>prev image</b> how many times users navigated to the previous 
image<br><b>terms open</b> how many times users opened the usage 
terms<br><b>license page</b> how many times users visited that image's license 
page<br><b>author</b> how many times users visited that image's author 
page<br><b>source page</b> how many times users visited that image's source 
page<br><b>about page</b> how many times users visited the about 
page<br><b>discuss page</b> how many times users visited the discuss 
page<br><b>help page</b> how many times users visited the help 
page<br><b>location page</b> how many times users visited that image's location 
page<br><b>uploader page</b> how many times users visited that image's uploader 
page<br><b>hash load</b> how many times users opened Media Viewer through a 
hash link<br><b>history navigation</b> how many times users navigated within 
Media Viewer using their browser's history<br>",
     "name": "Actions",
     "slug": "mmv_actions_%wiki%",
     "root": {
@@ -225,6 +225,17 @@
                         "nodeType": "line",
                         "metric": {
                             "source_id": "mmv_actions_%wiki%",
+                            "source_col": "right-click-image",
+                            "type": "Number"
+                        },
+                        "options": {
+                            "label": "image right-click"
+                        }
+                    },
+                    {
+                        "nodeType": "line",
+                        "metric": {
+                            "source_id": "mmv_actions_%wiki%",
                             "source_col": "metadata-open",
                             "type": "Number"
                         },

-- 
To view, visit https://gerrit.wikimedia.org/r/183793
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I307e74666da6169cdb1327dcedae8ee2c16cf673
Gerrit-PatchSet: 1
Gerrit-Project: analytics/multimedia/config
Gerrit-Branch: master
Gerrit-Owner: Gilles <gdu...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to