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

Allow navigation to location cards #1591

Closed
TilmanGuenther opened this issue Dec 19, 2022 · 0 comments · Fixed by #2584
Closed

Allow navigation to location cards #1591

TilmanGuenther opened this issue Dec 19, 2022 · 0 comments · Fixed by #2584
Labels
enhancement New feature or request main ui Main UI

Comments

@TilmanGuenther
Copy link

The problem

I would like to navigate to a specific location card, or more generally, use oh-location-card outside of the "locations" tab in the home page.

Your suggestion

Two ideas:

  1. Expand the functionality of the existing navigate action in, for example, oh-button to navigate to a specific location by semantic name. Example configuration might be actionPage: home:locations:Bedroom or similar, and this directly opens the oh-location-card that's associated with that room.
  2. Enable the usage of oh-location-card outside of the home page locations tab

Additional information

I feel like this would be an extremely useful feature as finding a specific location can be rather cumbersome (particularly on a mobile screen), especially if there are many of them. With this functionality, users could create custom layouts with buttons that link to specific rooms, or, for example, directly link location-cards from a map-view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request main ui Main UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant