Skip to content
This repository was archived by the owner on Mar 23, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/TaskDetailsCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default class TaskDetailsCard extends Component {
secondary={`${task.status.retriesLeft} of ${task.retries}`}
/>
</ListItem>
<CopyToClipboard text={task.created}>
<CopyToClipboard title={task.created} text={task.created}>
<ListItem button className={classes.listItemButton}>
<ListItemText
primary="Created"
Expand All @@ -159,7 +159,7 @@ export default class TaskDetailsCard extends Component {
<ContentCopyIcon />
</ListItem>
</CopyToClipboard>
<CopyToClipboard text={task.deadline}>
<CopyToClipboard title={task.deadline} text={task.deadline}>
<ListItem button className={classes.listItemButton}>
<ListItemText
primary="Deadline"
Expand All @@ -173,7 +173,7 @@ export default class TaskDetailsCard extends Component {
<ContentCopyIcon />
</ListItem>
</CopyToClipboard>
<CopyToClipboard text={task.expires}>
<CopyToClipboard title={task.expires} text={task.expires}>
<ListItem button className={classes.listItemButton}>
<ListItemText
primary="Expires"
Expand Down
8 changes: 4 additions & 4 deletions src/components/TaskRunsCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export default class TaskRunsCard extends Component {
secondary={<StatusLabel state={run.reasonCreated} />}
/>
</ListItem>
<CopyToClipboard text={run.scheduled}>
<CopyToClipboard title={run.scheduled} text={run.scheduled}>
<ListItem button className={classes.listItemButton}>
<ListItemText
primary="Scheduled"
Expand All @@ -270,7 +270,7 @@ export default class TaskRunsCard extends Component {
<ContentCopyIcon />
</ListItem>
</CopyToClipboard>
<CopyToClipboard text={run.started}>
<CopyToClipboard title={run.started} text={run.started}>
<ListItem button className={classes.listItemButton}>
<ListItemText
primary="Started"
Expand All @@ -288,7 +288,7 @@ export default class TaskRunsCard extends Component {
<ContentCopyIcon />
</ListItem>
</CopyToClipboard>
<CopyToClipboard text={run.resolved}>
<CopyToClipboard title={run.resolved} text={run.resolved}>
<ListItem button className={classes.listItemButton}>
<ListItemText
primary="Resolved"
Expand Down Expand Up @@ -335,7 +335,7 @@ export default class TaskRunsCard extends Component {
<ListItemText primary="Worker ID" secondary={run.workerId} />
<LinkIcon />
</ListItem>
<CopyToClipboard text={run.takenUntil}>
<CopyToClipboard title={run.takenUntil} text={run.takenUntil}>
<ListItem button className={classes.listItemButton}>
<ListItemText
primary="Taken Until"
Expand Down
4 changes: 2 additions & 2 deletions src/components/WorkerTable/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default class WorkerTable extends Component {
</TableCellListItem>
</TableCell>
<TableCell>{task.taskId}</TableCell>
<CopyToClipboard text={task.started}>
<CopyToClipboard title={task.started} text={task.started}>
<TableCell>
<TableCellListItem button>
<ListItemText
Expand All @@ -136,7 +136,7 @@ export default class WorkerTable extends Component {
</TableCellListItem>
</TableCell>
</CopyToClipboard>
<CopyToClipboard text={task.resolved}>
<CopyToClipboard title={task.resolved} text={task.resolved}>
<TableCell>
{task.resolved ? (
<TableCellListItem button>
Expand Down
5 changes: 4 additions & 1 deletion src/components/WorkerTypesTable/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@ export default class WorkerTypesTable extends Component {
<TableCell>
<StatusLabel state={workerType.stability} />
</TableCell>
<CopyToClipboard text={workerType.lastDateActive}>
<CopyToClipboard
title={workerType.lastDateActive}
text={workerType.lastDateActive}
>
<TableCell>
<TableCellListItem button>
<ListItemText
Expand Down
12 changes: 9 additions & 3 deletions src/components/WorkersTable/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@ export default class WorkersTable extends Component {
<TableCell>
{<StatusLabel state={latestTask.run.state} />}
</TableCell>
<CopyToClipboard text={latestTask.run.started}>
<CopyToClipboard
title={latestTask.run.started}
text={latestTask.run.started}
>
<TableCell>
<TableCellListItem button>
<ListItemText
Expand All @@ -192,7 +195,10 @@ export default class WorkersTable extends Component {
</TableCellListItem>
</TableCell>
</CopyToClipboard>
<CopyToClipboard text={latestTask.run.resolved}>
<CopyToClipboard
title={latestTask.run.resolved}
text={latestTask.run.resolved}
>
<TableCell>
{latestTask.run.resolved ? (
<TableCellListItem button>
Expand All @@ -211,7 +217,7 @@ export default class WorkersTable extends Component {
)}
</TableCell>
</CopyToClipboard>
<CopyToClipboard text={firstClaim}>
<CopyToClipboard title={firstClaim} text={firstClaim}>
<TableCell>
<TableCellListItem button>
<ListItemText
Expand Down