UX: show deployment history of the device

Description

We need to present the deployment history for a given device.

Acceptance criteria:

  • it is possible to see deployment history of different software running on the device;

  • UX prepared and discussed with the epic owner;

Affects versions

None

Environment

None

Checklist

Activity

Show:

Michael ClellandDecember 29, 2022 at 1:00 PM

Fabio TranchitellaDecember 28, 2022 at 6:46 PM

 yes, multiple statuses are (will be) supported.

Michael ClellandDecember 28, 2022 at 4:17 PM

Small adjustments here https://www.figma.com/file/kJdyR4t3DcV1oHIbQxyuFV/deployment-history-wireframes?node-id=0%3A1

Is the filter by status in the API restricted to a single status or can multiple be used?

Fabio TranchitellaDecember 27, 2022 at 3:07 PM

Hello , thanks for your comments and the preliminary wireframe. You are right, we are talking about device deployment history and not software version history. My answers to your questions:

  • We return both the deployment creation time (when the deployment was created) and the device deployment cr beation time (when the specific device started the deployment).

  • Entries are sorted by the backend (status, then creation date/time); we don't want to allow users to sort the table differently.

  • Filter by pending/in progress/pause/finished is enough.

Michael ClellandDecember 27, 2022 at 2:23 PM

 and : If we are basing this UI on the endpoint in https://tracker.mender.io/browse/MEN-6045, I think this task should be renamed to "show deployment history of the device". That endpoint won't provide a nice version history for each different software running on the device - but it will provide a general history of the deployments for the device.

With that in mind, see wireframes at https://www.figma.com/file/kJdyR4t3DcV1oHIbQxyuFV/deployment-history-wireframes?node-id=0%3A1&t=bJGVShB2GMrgj9gX-1

Questions from me:

  • "Start time" might be more valuable than "created time", but it doesn't look like it's available 

  • Besides status, how are the deployments sorted? Start time or created time? This is relevant to the previous point.

  • Filtering by status: should we make filtering available on every device status? It would be a long list if we include everything in the Enumerated Values listed here: https://docs.mender.io/api/#management-api-deployments-list-deployments-for-a-device-parameters. I think the user is rather wanting to filter on less granular statuses e.g. 'finished'/'in progress'/'pending'

Fixed

Details

Assignee

Reporter

Story Points

Remaining Story Points

3

Priority

Days in progress

7

Sprint

Backlog

yes

Zendesk Support

Checklist

Created November 15, 2022 at 12:41 PM
Updated January 3, 2023 at 1:53 PM
Resolved January 3, 2023 at 1:53 PM