aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/identity/GetUserStatistic.graphql
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-20 15:13:10 +0100
committerSascha <GlancingMind@outlook.com>2021-04-13 19:07:57 +0200
commit41e85023019bc13c06a1de2c431e0bd920e9e29a (patch)
tree95ea962e484912538f3b8611d3eb54056bbf3658 /webui/src/pages/identity/GetUserStatistic.graphql
parent998ae348b10efd5af758944143b70125a98e8f86 (diff)
downloadgit-bug-41e85023019bc13c06a1de2c431e0bd920e9e29a.tar.gz
Use profile page for each identity
Authorcomponent links to the authors profile page. Replace pofile buglist with statistics
Diffstat (limited to 'webui/src/pages/identity/GetUserStatistic.graphql')
-rw-r--r--webui/src/pages/identity/GetUserStatistic.graphql13
1 files changed, 13 insertions, 0 deletions
diff --git a/webui/src/pages/identity/GetUserStatistic.graphql b/webui/src/pages/identity/GetUserStatistic.graphql
new file mode 100644
index 00000000..318b860d
--- /dev/null
+++ b/webui/src/pages/identity/GetUserStatistic.graphql
@@ -0,0 +1,13 @@
+query GetUserStatistic($authorQuery: String!, $participantQuery: String!, $actionQuery: String!) {
+ repository {
+ authored: allBugs(query: $authorQuery) {
+ totalCount
+ },
+ participated: allBugs(query: $participantQuery) {
+ totalCount
+ }
+ actions: allBugs(query: $actionQuery) {
+ totalCount
+ }
+ }
+}