-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Reorder configuration #10817
Reorder configuration #10817
Conversation
What needs to be done for this still? Should we wait on it for a release or not? |
protected render(): TemplateResult { | ||
return html` | ||
${this.pages.map((page) => | ||
canShowPage(this.hass, page) | ||
( | ||
page.path === "#external-app-configuration" |
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.
?
page.path === "#external-app-configuration" | |
page.component === "mobile_app" |
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.
No, your instance have the integration loaded, but this should only show if you are visiting from a app
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.
yes, this still does that?
ev.currentTarget.parentElement.href.endsWith( | ||
"#external-app-configuration" | ||
) |
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.
Not sure I like this, the url will stay changed, and it adds a entry to the history...
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 is how it used to be, but in ha-sidebar
@@ -77,6 +84,16 @@ class HaConfigNavigation extends LitElement { | |||
|
|||
private _entryClicked(ev) { | |||
ev.currentTarget.blur(); | |||
if ( | |||
ev.currentTarget.parentElement.href.endsWith( |
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.
ev.currentTarget.parentElement.href.endsWith( | |
ev.currentTarget.component === "mobile_app" |
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.
No, see #10817 (comment)
https://www.figma.com/file/RSUZAyEXLdvmPWhonsI2xM/Menu?node-id=176%3A20671