-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
EEBUS: configure by default #26615
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
base: master
Are you sure you want to change the base?
EEBUS: configure by default #26615
Conversation
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.
|
Friedly ping regarding ui |
|
What needs to be changed here in the UI? |
|
@Maschga replace the yaml editor in ui with custom form based ui (json). relevant fields are If you like you can do this. Should follow our existing pattern of yaml>json conversions 😄 |
|
Thanks for the instructions. Will create a PR for the UI. |
Co-authored-by: Michael Geers <michael@geers.tv>
Co-authored-by: Michael Geers <michael@geers.tv>
| optional | ||
| > | ||
| <PropertyField :id="formId('shipid')" v-model="values.shipid" type="String" /> | ||
| </FormRow> |
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.
Suggested Order:
shipid
certs
-- advanced --
port
interfaces
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.
That's fine with me. I wasn't sure how to arrange them, thought that changing ports or interfaces might happen a little more often.
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.
My assumption would be that a regular user touches non of this - ever 😄
| }, | ||
| textarea() { | ||
| return ["accessToken", "refreshToken", "identifiers"].includes(this.property); | ||
| return ["accessToken", "refreshToken", "identifiers", "interfaces"].includes( |
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.
| return ["accessToken", "refreshToken", "identifiers", "interfaces"].includes( | |
| return this.array || ["accessToken", "refreshToken"].includes( |
|
Do we want to add QR Code as part of this PR as well? See #26882 (comment) by @CiNcH83 This could solve the user flow issue. When opening the eebus modal we could show only the description text and the QR-code - no form, delete and edit options. If the users confirms that he really wants to manual configure (I know what I'm doing) he enters edit-mode (the regular edit form). @andig do we have the qr-code string (see comment) at hand? If we would publish this along side the config (see |
No. Our library version doesn't support that. |
|
Ok, that let's save that for a later pr. |
|
Added config/ski to published values |
|
@naltatis Do we already have such a read/write user flow elsewhere? |
Co-authored-by: Michael Geers <michael@geers.tv>
Do you mean my suggestion that fields are read-only at start? I just look at how we implemented SMA/SEMP. There we decided to make all fields advanced since no manual configuration should be required for most people. We could keep it simple and do exactly the same here.
@DerAndereAndi What text info should we present the user in this dialog? ship id, ski, fingerprints, brand? What is the eebus recommended or commonly used end-user naming? QR-code will follow later.
|
Yes. :)
I like this idea. It is simple and follows a pattern that is already used. I'll create a PR. |


Fix #26596
TODO
Out of scope
/cc @Maschga