vanilla-framework icon indicating copy to clipboard operation
vanilla-framework copied to clipboard

The table in the what's new page is to tight on small screens

Open anthonydillon opened this issue 3 years ago • 7 comments

Describe the bug

The key information on the what's new page is not accessible on small screens.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://vanillaframework.io/docs/whats-new on a phone
  2. See the version and other important information is truncated

Expected behavior I should be able to see the all the information as it's key content.

Screenshots Screenshot_20220111-235118.jpg

Additional context

The status key below is easy to read and looks nice (if that helps at all)

anthonydillon avatar Jan 11 '22 23:01 anthonydillon

@lyubomir-popov @bartaz quick draft. Would it be structurally okay / possible to merge the status and version values as part of the component? They feel more like labels than needing their own column: grafik.png

Alternatively we could include them in the table from the start in this manner?

Anyhow, quick two options with 1 having the description underneath (not sure if this is possible as part of a table component or whether that's the right approach though).

2 merges status and version into the component field which I think could work out better.

elioqoshi avatar Jan 28 '22 14:01 elioqoshi

What's the point of the version column? We have one table per release, so you can remove the version column altogether.

lyubomir-popov avatar Jan 28 '22 15:01 lyubomir-popov

Good point. Not sure how it ended up there or whether it was automatical. Thought there might be some sub-version releases which might be relevant?

Regardless, even if that's removed there is still space lacking

elioqoshi avatar Jan 28 '22 15:01 elioqoshi

@bartaz any thoughts?

cristinadresch avatar Feb 01 '22 09:02 cristinadresch

@elioqoshi

Overall I think version column is valuable, while we keep separate table for latest release, we do merge all previous releases into one long table, like here with 2.0:

Screenshot 2022-02-02 at 12 00 57

It is valuable to have this version information. While not ideal, we probably can hide version on small screens (because it's definitely supplementary information).

Visually I like your proposal of having notes below rest of the data, but I don't think it would be easily achievable with HTML table now.

Second option to merge status label and version into one cell seems interesting compromise.

The issue is from implementation point of view we don't have much flexibility to change table layout on different screen sizes, so we would need to explore that.

bartaz avatar Feb 02 '22 11:02 bartaz