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] Change syntax for Buttongrid sitemap element #3898

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

lolodomo
Copy link
Contributor

@lolodomo lolodomo commented Dec 4, 2023

Follow-up #3810

Location in the grid is now defined by a row number and a column number.

Signed-off-by: Laurent Garnier [email protected]

@lolodomo lolodomo requested a review from a team as a code owner December 4, 2023 17:57
@lolodomo
Copy link
Contributor Author

lolodomo commented Dec 4, 2023

@kaikreuzer : please have a quick look at this small change. While implementing the Buttongrid widget in Basic UI and playing with it, I realized that we made a wrong choice to how identifying the position in the grid.
This PR simplifies the way for the user to define the button location in the grid by simply provide a line number and a column number.
This breaking change is not yet important because it is not yet implemented by any sitemap UI except my pending PR for Basic UI.
I would like this new widget part of OH 4.1.

@lolodomo lolodomo marked this pull request as draft December 4, 2023 18:16
@lolodomo lolodomo force-pushed the buttongrid_line_column branch from 172e39e to 36e9482 Compare December 4, 2023 19:14
@lolodomo lolodomo marked this pull request as ready for review December 4, 2023 19:15
Follow-up openhab#3810

Location in the grid is now defined by a row number and a column number.

Signed-off-by: Laurent Garnier <[email protected]>
@lolodomo lolodomo force-pushed the buttongrid_line_column branch from 36e9482 to ab40429 Compare December 5, 2023 00:13
Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks.

@kaikreuzer kaikreuzer merged commit 76b10ac into openhab:main Dec 5, 2023
@kaikreuzer kaikreuzer added this to the 4.1 milestone Dec 5, 2023
@lolodomo lolodomo deleted the buttongrid_line_column branch December 5, 2023 22:49
@lolodomo
Copy link
Contributor Author

lolodomo commented Dec 5, 2023

Thank you Kai

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

Successfully merging this pull request may close these issues.

3 participants