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

tap_action navigate #874

Open
JonasHe46 opened this issue Dec 14, 2023 · 2 comments
Open

tap_action navigate #874

JonasHe46 opened this issue Dec 14, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@JonasHe46
Copy link

Issue Description:
In the compass-card, when using navigate within tap_action, it opens a new tab. However, other cards behave differently by opening the path in the same tab. This inconsistency could be confusing for users expecting uniform behavior across different cards.

Steps to Reproduce:

  1. Use compass-card.
  2. Apply tap_action with navigate: /path/to/dashboard.
  3. Observe the behavior as it opens a new tab.

example:

tap_action:
  action: navigate
  navigation_path: /map

Expected Behavior:
Consistency in behavior across cards; the navigate action within compass-card should open the path in the same tab, similar to other cards.

Additional Information:
This behavior not only affects the user experience but also has implications when using the Home Assistant app. It results in the page opening in the web browser instead of navigating within the app to the correct dashboard, disrupting the seamless app experience.

Thank you for creating such an excellent card! Overall, it has been a great addition, and this adjustment would further enhance its usability.

@JonasHe46 JonasHe46 added the bug Something isn't working label Dec 14, 2023
@tomvanswam
Copy link
Owner

The way the tap_action opens in another tab is specifically for my usecase, however I can change default behaviour and make opening in a tab an configurable option.

@tomvanswam tomvanswam self-assigned this Dec 15, 2023
@JonasHe46
Copy link
Author

That would be really great, thank you so much! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants