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
Label and style all UID elements consistently #2336
Conversation
Job #1589: Bundle Size — 11.01MiB (~+0.01%).Warning Bundle contains 19 duplicate packages – View duplicate packages Bundle metrics
Bundle size by type
View job #1589 report View jimtng:uniform-entity-id-labelli... branch activity View project dashboard |
For consistency also the doc page should be updated: itemname -> itemid |
I think this really needs a serious discussion from everyone. I feel that this change in terminology is going to be a fundamental change that everyone needs to be aware of and be on board with. @openhab/core-maintainers The start of this discussion is here: https://community.openhab.org/t/item-editor/153739/23 |
cf3d936
to
b9f34de
Compare
@mvalla I've updated the original post with more details + screenshots |
I'd like to hear your opinion too, @rkoshak |
It is probably also part of REST/WebSocket APIs and code in core so if you want to be consistent those should also be updated. Those would be breaking API changes. |
Is it really necessary? Another thing is now refactor the API that has of course huge implications with all the apps… |
48cc51c
to
c39428a
Compare
I've made transformation uid into a separate line just like channel uid. It's still not ideal/foolproof. Perhaps a separate PR to clean up the styling for all the potentially-long fields. |
@jimtng Can you please resolve conflicts? |
What's the preferred method: merging main like what I just did here, or rebase and force push? |
Rebase and force push. |
Would you like me to do that now? |
If we then get rid of the merge commit, yes, please. |
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2a624da
to
7e2436b
Compare
Rebased. There were some minor changes (removal of unnecessary changes) too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
Just two minor comments I will take care myself.
I will also align the placeholders and notes used across the UI.
bundles/org.openhab.ui/web/src/pages/settings/things/channel/channel-general-settings.vue
Outdated
Show resolved
Hide resolved
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@@ -6,12 +6,13 @@ | |||
info="Required. Note: cannot be changed after the creation" | |||
required validate pattern="[A-Za-z0-9_\-]+" error-message="Required. A-Z,a-z,0-9,_,- only" | |||
@input="channel.id = $event.target.value" /> | |||
<f7-list-item v-else :disabled="disabled" media-item class="channel-item" title="Channel UID"> | |||
<div slot="subtitle"> | |||
<f7-list-input v-else label="Channel UID" type="text" :input="false" disabled> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was set to list-item instead of list-input because channel UIDs tend to be long
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I will revert to the old look here, but keep the transformation UID the new way (those usually aren't too long).
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
d8eedbc
to
da0e865
Compare
Resolve #2335
Create a new Thing
Unique ID
=>Thing ID
View an existing Thing
Identifier
=>Thing UID
Add a new channel
Channel Identifier
=>Channel ID
Copy channel
View an existing channel
Add an Item
NewItem
, making the placeholder not visible, and if the given default is erased, an error message is immediately displayed, so the placeholder is never visible either way.Edit/show an existing item
Create a new transformation
Show an existing transformation
Show Page ID
Show existing Rule
Add a new rule