aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/bug')
-rw-r--r--webui/src/bug/Bug.js7
-rw-r--r--webui/src/bug/LabelChange.js8
-rw-r--r--webui/src/bug/Message.js18
-rw-r--r--webui/src/bug/SetStatus.js8
-rw-r--r--webui/src/bug/SetTitle.js8
5 files changed, 17 insertions, 32 deletions
diff --git a/webui/src/bug/Bug.js b/webui/src/bug/Bug.js
index 1b19149d..ff57dfa9 100644
--- a/webui/src/bug/Bug.js
+++ b/webui/src/bug/Bug.js
@@ -94,13 +94,10 @@ Bug.fragment = gql`
...Label
}
createdAt
- author {
- email
- name
- displayName
- }
+ ...authored
}
${Label.fragment}
+ ${Author.fragment}
`;
export default Bug;
diff --git a/webui/src/bug/LabelChange.js b/webui/src/bug/LabelChange.js
index 1e05b4a6..2405fdb5 100644
--- a/webui/src/bug/LabelChange.js
+++ b/webui/src/bug/LabelChange.js
@@ -44,11 +44,7 @@ LabelChange.fragment = gql`
fragment LabelChange on TimelineItem {
... on LabelChangeTimelineItem {
date
- author {
- name
- email
- displayName
- }
+ ...authored
added {
...Label
}
@@ -57,7 +53,9 @@ LabelChange.fragment = gql`
}
}
}
+
${Label.fragment}
+ ${Author.fragment}
`;
export default LabelChange;
diff --git a/webui/src/bug/Message.js b/webui/src/bug/Message.js
index ff039444..8a6cac09 100644
--- a/webui/src/bug/Message.js
+++ b/webui/src/bug/Message.js
@@ -70,32 +70,26 @@ Message.createFragment = gql`
fragment Create on TimelineItem {
... on CreateTimelineItem {
createdAt
- author {
- name
- email
- displayName
- avatarUrl
- }
+ ...authored
edited
message
}
}
+
+ ${Author.fragment}
`;
Message.commentFragment = gql`
fragment AddComment on TimelineItem {
... on AddCommentTimelineItem {
createdAt
- author {
- name
- email
- displayName
- avatarUrl
- }
+ ...authored
edited
message
}
}
+
+ ${Author.fragment}
`;
export default Message;
diff --git a/webui/src/bug/SetStatus.js b/webui/src/bug/SetStatus.js
index ab591038..eeff1a7b 100644
--- a/webui/src/bug/SetStatus.js
+++ b/webui/src/bug/SetStatus.js
@@ -26,14 +26,12 @@ SetStatus.fragment = gql`
fragment SetStatus on TimelineItem {
... on SetStatusTimelineItem {
date
- author {
- name
- email
- displayName
- }
+ ...authored
status
}
}
+
+ ${Author.fragment}
`;
export default SetStatus;
diff --git a/webui/src/bug/SetTitle.js b/webui/src/bug/SetTitle.js
index d9a09ad5..9ba5a76e 100644
--- a/webui/src/bug/SetTitle.js
+++ b/webui/src/bug/SetTitle.js
@@ -32,15 +32,13 @@ SetTitle.fragment = gql`
fragment SetTitle on TimelineItem {
... on SetTitleTimelineItem {
date
- author {
- name
- email
- displayName
- }
+ ...authored
title
was
}
}
+
+ ${Author.fragment}
`;
export default SetTitle;