Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Support group dividers on configurable dashboard #1702

Open
2 tasks done
Samrose-Ahmed opened this issue Oct 31, 2023 · 3 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@Samrose-Ahmed
Copy link

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 Samrose-Ahmed added the enhancement New feature or request label Oct 31, 2023
@just-boris
Copy link
Member

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?

@Samrose-Ahmed
Copy link
Author

Samrose-Ahmed commented Nov 1, 2023

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.

@just-boris just-boris changed the title [Feature Request]: Can we allow BoardItem to have rowSpan=1? [Feature Request]: Support group dividers on configurable dashboard Nov 1, 2023
@just-boris
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants