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/Timeline.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'webui/src/bug/Timeline.js') diff --git a/webui/src/bug/Timeline.js b/webui/src/bug/Timeline.js index d331d11d..f5990711 100644 --- a/webui/src/bug/Timeline.js +++ b/webui/src/bug/Timeline.js @@ -27,15 +27,15 @@ class Timeline extends React.Component {
{ops.map((op, index) => { switch (op.__typename) { - case 'CreateOperation': + case 'CreateTimelineItem': return ; - case 'AddCommentOperation': + case 'AddCommentTimelineItem': return ; - case 'LabelChangeOperation': + case 'LabelChangeTimelineItem': return ; - case 'SetTitleOperation': + case 'SetTitleTimelineItem': return ; - case 'SetStatusOperation': + case 'SetStatusTimelineItem': return ; default: -- 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/Timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webui/src/bug/Timeline.js') diff --git a/webui/src/bug/Timeline.js b/webui/src/bug/Timeline.js index f5990711..3123f45f 100644 --- a/webui/src/bug/Timeline.js +++ b/webui/src/bug/Timeline.js @@ -8,7 +8,7 @@ import SetTitle from './SetTitle'; const styles = theme => ({ main: { '& > *:not(:last-child)': { - marginBottom: 10, + marginBottom: theme.spacing.unit * 2, }, }, }); -- cgit