From 850b9db8744c47b3f42b877078678f62ce77e38d Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 13 Mar 2019 21:16:02 +0100 Subject: webui: Use Timeline API instead of raw operations --- webui/src/bug/LabelChange.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webui/src/bug/LabelChange.js') diff --git a/webui/src/bug/LabelChange.js b/webui/src/bug/LabelChange.js index b1bed4a5..9b19959e 100644 --- a/webui/src/bug/LabelChange.js +++ b/webui/src/bug/LabelChange.js @@ -36,8 +36,8 @@ const LabelChange = ({ op, classes }) => { }; LabelChange.fragment = gql` - fragment LabelChange on Operation { - ... on LabelChangeOperation { + fragment LabelChange on TimelineItem { + ... on LabelChangeTimelineItem { date author { name -- cgit From 22089b5e628f1356e517d24d0346a8ec2def97fc Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Sat, 30 Mar 2019 20:48:19 +0100 Subject: webui: Rework timeline style --- webui/src/bug/LabelChange.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'webui/src/bug/LabelChange.js') diff --git a/webui/src/bug/LabelChange.js b/webui/src/bug/LabelChange.js index 9b19959e..6301f35f 100644 --- a/webui/src/bug/LabelChange.js +++ b/webui/src/bug/LabelChange.js @@ -8,6 +8,10 @@ import Label from '../Label'; const styles = theme => ({ main: { ...theme.typography.body2, + marginLeft: theme.spacing.unit + 40, + }, + author: { + fontWeight: 'bold', }, }); @@ -15,7 +19,7 @@ const LabelChange = ({ op, classes }) => { const { added, removed } = op; return (
- + {added.length > 0 && added the } {added.map((label, index) => (