aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/TimelineQuery.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/bug/TimelineQuery.graphql')
-rw-r--r--webui/src/bug/TimelineQuery.graphql25
1 files changed, 25 insertions, 0 deletions
diff --git a/webui/src/bug/TimelineQuery.graphql b/webui/src/bug/TimelineQuery.graphql
new file mode 100644
index 00000000..7a8bc736
--- /dev/null
+++ b/webui/src/bug/TimelineQuery.graphql
@@ -0,0 +1,25 @@
+#import "./MessageCreateFragment.graphql"
+#import "./MessageCommentFragment.graphql"
+#import "./LabelChangeFragment.graphql"
+#import "./SetTitleFragment.graphql"
+#import "./SetStatusFragment.graphql"
+
+query Timeline($id: String!, $first: Int = 10, $after: String) {
+ defaultRepository {
+ bug(prefix: $id) {
+ timeline(first: $first, after: $after) {
+ nodes {
+ ...LabelChange
+ ...SetStatus
+ ...SetTitle
+ ...AddComment
+ ...Create
+ }
+ pageInfo {
+ hasNextPage
+ endCursor
+ }
+ }
+ }
+ }
+}