Skip to content

feat: clearer card editor and 14 more languages - #121

Merged
tempus2016 merged 6 commits into
mainfrom
release/editor-ux-languages
Nov 13, 2026
Merged

tempus2016 merged 6 commits into
mainfrom
release/editor-ux-languages

Conversation

@tempus2016

Copy link
Copy Markdown
Owner

Two changes in one: a clearer card editor, and 14 more languages.

Editor

  • Chart options in sections. Long chart forms fold into Time span and readings (open), Look, Axes and gridlines, Markers and extras and Layout and sharing. Done once in the shared chartForm, so every chart style gets it; short forms stay flat.
  • What each style is for. The chosen style shows a one-line purpose, and every thumbnail shows its purpose on hover. Names are unchanged.
  • Keyboard-friendly style picker. The grid is one radio group with a single Tab stop: arrow keys, Home and End move (mirrored in right-to-left languages), Enter, Space or a click picks. Each group of styles is named for screen readers. Picking the chosen style again changes nothing.
  • Notices and warnings. Says when a style change turns grouping off, or sorts the battery grid emptiest first. Warns when the minimum isn't below the maximum, when an entity's state isn't a number on a bar or gauge style, and when two bands start at the same value.
  • Instructions out of labels. About 30 labels lost their bracketed instructions to helper text under the field. The series conditions sit under an "Only show the series while…" heading.
  • Section summaries. Closed sections say what's set: "2 entities", "Line", "0 to 100", "Battery (low is bad)". Entities opens on a card that has none.
  • Phone width and right-to-left. Band rows and entity rows rearrange below 420 px; the options border uses logical properties; a limit in Default mode takes the full width.
  • Accessible names. Entity row buttons name their entity ("Remove entity: Battery A"); include and exclude are named groups; band swatches are named.
  • Timeline add button radius matches the other add buttons; the delete icon is defined once.

Languages

Arabic, Bengali, Chinese (Simplified and Traditional), Hindi, Indonesian, Italian, Japanese, Korean, Polish, Russian, Turkish, Urdu and Vietnamese, each a lazily loaded chunk like the existing five. All 20 languages carry the new editor strings.

Checks

Lint, typecheck, 1539 tests and coverage pass; dist/ rebuilt (main file + 19 language chunks + maps). Editor checked on a test Home Assistant in light, dark, 400 px and right-to-left.

…itional, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Russian, Turkish, Urdu, Vietnamese)
# Conflicts:
#	dist/chartdeck-card.js
#	dist/chartdeck-card.js.map
@github-actions github-actions Bot added documentation README, wiki, or in-code documentation editor The visual editor and the card picker translations Languages other than English tests The unit suite and coverage labels Nov 13, 2026
@tempus2016
tempus2016 merged commit 639dce2 into main Nov 13, 2026
9 checks passed
@tempus2016
tempus2016 deleted the release/editor-ux-languages branch November 13, 2026 20:18
@github-project-automation github-project-automation Bot moved this from Todo to Done in Chartdeck Planner Nov 13, 2026
github-actions Bot pushed a commit that referenced this pull request Nov 13, 2026
## [2.3.0](v2.2.0...v2.3.0) (2026-11-13)

### Features

* clearer card editor and 14 more languages ([#121](#121)) ([639dce2](639dce2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation README, wiki, or in-code documentation editor The visual editor and the card picker tests The unit suite and coverage translations Languages other than English

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant