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

Blockly datesupport fix #1410

Merged
merged 6 commits into from
Jun 19, 2022
Merged

Conversation

stefan-hoehn
Copy link
Contributor

fix: when providing an item state to getZonedDateTime() it is not detected as string by ecma-script and replace() fails -> convert explicitly to String first

…ange item blocks, typos

Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
@stefan-hoehn stefan-hoehn requested a review from a team as a code owner June 17, 2022 07:07
@relativeci
Copy link

relativeci bot commented Jun 17, 2022

Job #427: Bundle Size — 10.74MB (~-0.01%).

a93edd9 vs 596b542

Changed metrics (1/10)
Metric Current Baseline
Cache Invalidation 4.18% 0%
Changed assets by type (1/7)
            Current     Baseline
JS 8.69MB (~-0.01%) 8.69MB

View Job #427 report on app.relative-ci.com

…erations (openhab#1412)

Fixes openhab#1411.

Signed-off-by: H. William Welliver III <william@welliver.org>
@@ -368,6 +367,7 @@
<shadow type="oh_item" />
</value>
</block>
<block type="oh_item" />
Copy link
Member

@ghys ghys Jun 18, 2022

Choose a reason for hiding this comment

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

I would keep this green block where it was because it sort of serves as "header" of the group of block types related to items, the same way the green "thing picker" is the header of the things blocks, even if there's only one (or put these at the end of each group).

Copy link
Contributor Author

@stefan-hoehn stefan-hoehn Jun 18, 2022

Choose a reason for hiding this comment

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

I hear what you saying and I was thinking about it but I noticed that many people use these and think it is the state but it actually is "not more than a string". I would then go for putting both to the end which is probably a good compromise:
image

Copy link
Member

Choose a reason for hiding this comment

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

Thinking about this further I would also put the "send command/update state" block immediately after "get state" as they're somewhat related and probably the most used.

Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
@stefan-hoehn
Copy link
Contributor Author

It seems during the rebase I didn't signoff. How can I amend that later without making things worse?

Copy link
Member

@ghys ghys left a comment

Choose a reason for hiding this comment

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

No worries about the DCO, I will include it in the squashed commit to main.

@ghys ghys merged commit e687102 into openhab:main Jun 19, 2022
@ghys ghys added bug Something isn't working main ui Main UI labels Jun 19, 2022
@ghys ghys added this to the 3.3 milestone Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants