Suboptimal display of long device type lists [affects demo artifact]

Description

Steps to reproduce:

  1. Create an artifact with a lot of device types compatible

    • For example, this cmdline can be used which is using the directory update module artifact generator (the 2.0.0 one is slightly broken, so get the 2.0.x one):

  2. Upload the resulting artifact to the server

  3. Select the release in the release list

This results in an overflown list, as can be seen in the attached screenshot.

The list given above is the one that will be used for the demo artifact, so this affects the initial demo experience.

Affects versions

Environment

None

Attachments

1

Checklist

Activity

Show:

Michael ClellandJune 3, 2019 at 11:26 AM

I think it should probably be in the expanded details too. But there is a ticket for adding 'artifact_depends' there, and I have recently realised we don't display any custom metadata (which in the docs example: https://docs.mender.io/2.0/apis/management-apis/deployments#example-http-response-1, but NOT the docs schema: https://docs.mender.io/2.0/apis/management-apis/deployments#artifact). So we can probably take those things together in one task, since it should all be in the expanded view.

Manuel ZedelJune 3, 2019 at 10:46 AM

this should be marked as 'done' as soon as  https://github.com/mendersoftware/gui/pull/479 gets merged - there the full text is shown in tooltip on hover. would this be enough? Since the `device_type` might not be very long very often I was hesitant to move this into a new row in the expanded details...

Michael ClellandMay 21, 2019 at 8:22 AM

I would suggest we make that column wider, and 'type' and 'signed' (which will be replaced with 'size') can be narrower as they will have shorter contents. In addition, we should truncate lists in the row when it is unexpanded, and show the full list in the expanded details (where 'description' and other metadata is displayed)

Fixed

Details

Assignee

Reporter

Story Points

Priority

Days in progress

0

Sprint

Backlog

yes

Zendesk Support

Checklist

Created May 15, 2019 at 7:18 AM
Updated June 25, 2024 at 12:02 PM
Resolved July 9, 2019 at 10:05 AM