Skip to content

Name/Text card with tap action on icon set to default(nothing) tries to show more-info panel #1364

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

Closed
viatro opened this issue Mar 25, 2025 · 1 comment
Labels
bug Something isn't working Bug-Fix 🥳

Comments

@viatro
Copy link

viatro commented Mar 25, 2025

Describe the bug
As title says.

To Reproduce
Steps to reproduce the behavior:

  1. In the editor select card type "Button".
  2. Select button type "Name / Text".
  3. Make sure that "Tap action on icon" - "Tap action" is set to "Default (nothing)" or select it manually.
  4. Tap on icon in the preview or on dashboard card after saving.
  5. See more-info panel with "undefined" title and "This entity is unavailable" warning.

Expected behavior
Tap on icon with action set to "Default(nothing)" shoud do literally nothing, as it happens with actual "Nothing" setting.

Informations (please complete the following information):

  • OS: Windows 11 23H2
  • Browser: Google Chrome 134.0.6998.118
  • Bubble Card version: 2.5.0-beta.9
  • Home Assistant version: 2025.3.4
@viatro viatro added the bug Something isn't working label Mar 25, 2025
@Clooos
Copy link
Owner

Clooos commented Apr 17, 2025

Hi! I just fixed all issues related to the actions. This fix will be part of the next beta 🙂

Clooos added a commit that referenced this issue Apr 22, 2025
- Changed version to v3.0.0-beta.1.
- Fixed click propagation. PR #1396 by @AlexDaniel
- Added calendar card. PR #1207 by @brunosabot
- Fixed many slider-related issues
- Horizontal button stack now enters edit mode correctly
- Improved editor performance, UX, and info texts
- In Modules, unsupported is now supported (not a breaking change, but new Modules must follow this rule – editable in the Module editor)
- Fixed wrong zoom level in map-card inside pop-up-card. #1334
- Restored ability to use forecast attributes like forecast[0]?.temperature with HA 2025.4. #1369
- Additional pop-up optimizations
- Improved pop-up history handling
- Optimized and fixed issues in the action/haptic feedback system – #1354 #1364 #1372
- Play/pause button in media players can now be hidden properly – #1363
- Sliders now respect the defined step value correctly on release – #1399
- The "idle" state is no longer considered as "on" – #1388
- Attempt to fix random "Custom element doesn’t exist" errors – #1340 #1351
- Changed default accent color to blue – improves contrast with most themes, especially the default HA theme.
⚠️ Note: Older browsers may not support this. To revert, add this to your theme YAML: bubble-default-color: var(--accent-color)
- Made throttle function more reliable – PR #1395 by @AlexDaniel
- Changed default double-tap action to none – PR #1393 by @AlexDaniel
- Fixed sluggish buttons when double-tap is disabled – PR #1392 by @AlexDaniel
- Removed YAML install warnings (only shown to YAML users now)
- Added ability to edit YAML directly from the modules panel
- Added module creation directly from the editor
- Export module with full discussion structure
- Create custom sliders with a range directly in the UI (no YAML needed anymore)
- Fixed “Cannot read properties of null (reading 'shadowRoot')” error?
- Fixed layout issue breaking older custom styles (default grid_layout row is now set to auto)
- You can now create pop-ups directly! No need to start with a vertical stack, it is now added automatically. Makes setup much easier! You can also insert an example configuration.
- Module Store
- And so much more optimizations and fixes.
Clooos added a commit that referenced this issue Apr 22, 2025
- Changed version to v3.0.0-beta.1.
- Fixed click propagation. PR #1396 by @AlexDaniel
- Added calendar card. PR #1207 by @brunosabot
- Fixed many slider-related issues
- Horizontal button stack now enters edit mode correctly
- Improved editor performance, UX, and info texts
- In Modules, unsupported is now supported (not a breaking change, but new Modules must follow this rule – editable in the Module editor)
- Fixed wrong zoom level in map-card inside pop-up-card. #1334
- Restored ability to use forecast attributes like forecast[0]?.temperature with HA 2025.4. #1369
- Additional pop-up optimizations
- Improved pop-up history handling
- Optimized and fixed issues in the action/haptic feedback system – #1354 #1364 #1372
- Play/pause button in media players can now be hidden properly – #1363
- Sliders now respect the defined step value correctly on release – #1399
- The "idle" state is no longer considered as "on" – #1388
- Attempt to fix random "Custom element doesn’t exist" errors – #1340 #1351
- Changed default accent color to blue – improves contrast with most themes, especially the default HA theme.
⚠️ Note: Older browsers may not support this. To revert, add this to your theme YAML: bubble-default-color: var(--accent-color)
- Made throttle function more reliable – PR #1395 by @AlexDaniel
- Changed default double-tap action to none – PR #1393 by @AlexDaniel
- Fixed sluggish buttons when double-tap is disabled – PR #1392 by @AlexDaniel
- Removed YAML install warnings (only shown to YAML users now)
- Added ability to edit YAML directly from the modules panel
- Added module creation directly from the editor
- Export module with full discussion structure
- Create custom sliders with a range directly in the UI (no YAML needed anymore)
- Fixed “Cannot read properties of null (reading 'shadowRoot')” error?
- Fixed layout issue breaking older custom styles (default grid_layout row is now set to auto)
- You can now create pop-ups directly! No need to start with a vertical stack, it is now added automatically. Makes setup much easier! You can also insert an example configuration.
- Module Store
- And so much more optimizations and fixes.
@Clooos Clooos closed this as completed May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Bug-Fix 🥳
Projects
None yet
Development

No branches or pull requests

2 participants