api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

Model Type column text overflow tooltip does not show array brackets

Open krispenner opened this issue 6 years ago • 6 comments

With the Type column being so narrow many type names are being cut-off, it may be good option to expand this column a little bit more. More importantly though, when the text is cut-off any array bracket indicator is not shown in the tooltip. There is effectively no way to tell that any of the below types noted are an array other than the property name being plural. I would propose three changes. See issue screenshot and my proposals below.

  1. Always include the [] in the text overflow tooltip.
  2. Always include the [] in the column with any type name and ellipsis before it.
  3. Increase the min-width of the type column a little bit as it seems overly narrow in my opinion.

Issue screenshot

image

Proposal sceenshot

image

krispenner avatar Jan 14 '20 03:01 krispenner

Hi @krispenner, thank you, we'll see what we can do.

azaslonov avatar Jan 14 '20 17:01 azaslonov

Thanks @azaslonov, we have already had this raised as an issue from our customers as well.

Another issue causing confusion, several parameters are being shown as a singular object, when they are in fact an array that is returned.

krispenner avatar Jan 17 '20 07:01 krispenner

The column width has already been increased in one of the past releases.

mikebudzynski avatar Jun 15 '20 22:06 mikebudzynski

@mikebudzynski increasing the column width does not address this issue, it only ever so slightly lowers the chance of it occurring. Points 1 and 2 noted in the description is the best way forward. Knowing if a data type is an array or singular object is quite crucial for understanding the API. I'd still like to see this issue remain open and fixed.

krispenner avatar Jun 16 '20 06:06 krispenner

I agree, we'll go with the following option:

Always include the [] in the text overflow tooltip.

mikebudzynski avatar Jun 18 '20 19:06 mikebudzynski

Any progress on this bug?

shagelid avatar Aug 24 '23 09:08 shagelid