components icon indicating copy to clipboard operation
components copied to clipboard

[Feature Request]: Support group dividers on configurable dashboard

Open Samrose-Ahmed opened this issue 2 years ago • 3 comments

Description

Currently, the BoardItem must have minimum rowSpan (height) of 2 (https://github.com/cloudscape-design/board-components/blob/19395ad6640efd93c30798d27d61a8b44b4b5c56/src/internal/constants.ts#L4)

But, for something like e.g a markdown/header/text component it is better to have a height=1 alllowed (e.g. imagine a header that is full width and height=1). I'm currently patching that one line.

Code of Conduct

Samrose-Ahmed avatar Oct 31 '23 00:10 Samrose-Ahmed

Hello!

With such a small row span, the board item will only fit the header and no content. Screenshot from modified version of our demo:

image

Is this what you want? Why?

just-boris avatar Oct 31 '23 10:10 just-boris

Think of e.g. headers of sections in a dashboard, where often the header is the only thing needed

e.g. in cloudwatch:

image

itd be good to make the body min height 0 as well.

Samrose-Ahmed avatar Nov 01 '23 02:11 Samrose-Ahmed

Alright, I got your ask now and updated the ticket name.

I think we can do better treatment for this feature than a "fake widget".

However it is the first time we receive this ask, so no particular plans to address this.

just-boris avatar Nov 01 '23 10:11 just-boris