Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compact cards reserve
3.5embeside the name even when the state, attribute, and action button are hidden. A name can be truncated despite fitting in the available text area.Allow the name to use that space when all three are hidden. The action-button condition requires
show: false, since a partially configured button remains visible by default.Fixes #90.
Tested the built card in Chromium at 180px and 300px, with short and long names, every combination of state/attribute/action visibility, and configuration changes. Five checks fail on the original bundle; all 47 pass with the fix. The 34 control layouts retain identical geometry. Lint and the production build pass in Docker.
Also reproduced in an isolated Home Assistant 2026.9.4 instance. In the 242px-wide card below, the name needs 161px and has 187px of text space available. The original limits it to 133px; the patched card shows it in full at the same width.
The screenshots use a synthetic helper and contain no production data.