Android: Shortcut to Panels (Sidebar)

Created on 18 Apr 2020  路  11Comments  路  Source: home-assistant/android

Describe the solution you'd like

Pull the panels from the WebSocket to add shortcuts to the app.

Additional context

Useful for going straight to panels such as other dashboards or ingress views

enhancement

Most helpful comment

@timmo001 We should just make the preference not visible if the get_panels call fails.

All 11 comments

So how is this supposed to work? When I go to App Configuration > Shortcuts I get nothing.

image

I even tried to create a new lovelace dashboard but nothing gets populated.

Ah looks like we need to wait for the PR in Core to merge?

image

Should we have waited to merge the PR?

We are dependent on the core PR: https://github.com/home-assistant/core/pull/34445. We might want to hide the settings option though if the get_panels call fails.
@timmo001 thoughts?

@dshokouhi We need the app to work even if the Core isn't up to date.

Hmm, yeah will be a while before an update is out there for core. Will need to disable this feature until that webhook is available.

Aha looks like we're handling this now :+1:

https://github.com/home-assistant/android/pull/576/files

Yea the app is working without crashing, its just the screen turns up blank and users will probably open bugs about the error :) . Hopefully they can merge that PR for 0.110 :)

Well I guess we could cherry-pick the next release to disclude these commits if we release before core

We should probably also consider when a user has this version of the app but does not have the expected HA version and will get an error. Are we able to do something like that?

@timmo001 We should just make the preference not visible if the get_panels call fails.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

make-all picture make-all  路  3Comments

kmlucy picture kmlucy  路  3Comments

CedrickFlocon picture CedrickFlocon  路  4Comments

jokerigno picture jokerigno  路  4Comments

Anonym-tsk picture Anonym-tsk  路  3Comments