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

Sitemap widget grid #4238

Open
jimtng opened this issue May 21, 2024 · 3 comments
Open

Sitemap widget grid #4238

jimtng opened this issue May 21, 2024 · 3 comments
Labels
enhancement An enhancement or new feature of the Core sitemap

Comments

@jimtng
Copy link
Contributor

jimtng commented May 21, 2024

Extending the idea of button widgets inside a buttongrid, we could probably have a generic widget grid that can contain any widget control laid out in the same manner.

Furthermore, perhaps the grid can be made "responsive", ie it can turn into fewer columns on smaller screens. But this is a separate idea.

@jimtng jimtng added the enhancement An enhancement or new feature of the Core label May 21, 2024
@lolodomo
Copy link
Contributor

This would lead to many questions.
How do you render an element inside a cell ? An element has many componenets, an icon, a label, a value and one or many controls.
What will be the size of each cell ? If you put for example an Image element in a cell, should the cell be adjusted to the size of the image (impacting the other cells on the same line) or should the image be downscaled to enter in the standard and fixed cell size ?

@lolodomo
Copy link
Contributor

@openhab/core-maintainers : please add the "sitemap" tag.

@jimtng
Copy link
Contributor Author

jimtng commented Jul 15, 2024

The idea is we still maintain a fixed grid size.
For "long" widgets, you'd need to add a "colspan" attribute, so yes... it does get a lot more complicated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core sitemap
Projects
None yet
Development

No branches or pull requests

3 participants