From 76f3bc1ddf25117d660c4b77d3b3b82090cd3843 Mon Sep 17 00:00:00 2001 From: Palak Bhojani Date: Tue, 12 Feb 2019 11:13:46 -0800 Subject: [PATCH] Update TasksList to display last run date --- CHANGELOG.md | 1 + ui/src/tasks/components/TaskRow.tsx | 1 + ui/src/tasks/components/TasksList.tsx | 12 ++++++++++-- .../components/__snapshots__/TaskRow.test.tsx.snap | 4 ++++ .../components/__snapshots__/TasksList.test.tsx.snap | 12 ++++++++++-- .../containers/__snapshots__/TasksPage.test.tsx.snap | 12 ++++++++++-- 6 files changed, 36 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 400f4ec83df..e4c47cc2e47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ 1. [11809](https://github.com/influxdata/influxdb/pull/11809): Add the ability to name a scraper target 1. [11821](https://github.com/influxdata/influxdb/pull/11821): Display scraper name as the first and only updatable column in scrapers list 1. [11804](https://github.com/influxdata/influxdb/pull/11804): Add the ability to view runs for a task +1. [11824](https://github.com/influxdata/influxdb/pull/11824): Display last completed run for tasks list ### Bug Fixes 1. [11819](https://github.com/influxdata/influxdb/pull/11819): Update the inline edit for resource names to guard for empty strings diff --git a/ui/src/tasks/components/TaskRow.tsx b/ui/src/tasks/components/TaskRow.tsx index 743860f7c7f..1f6d699810c 100644 --- a/ui/src/tasks/components/TaskRow.tsx +++ b/ui/src/tasks/components/TaskRow.tsx @@ -71,6 +71,7 @@ export class TaskRow extends PureComponent { /> {this.schedule} + {task.latestCompleted}