mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 00:27:49 +01:00
d92ac4b4b74eb3426313de997192e2441c8fd0e9
* Add solo-select gesture to chart legend Ctrl+click (Cmd+click on Mac) or long-press (touch, 500ms) a legend item to solo-select it: - Solo-click any item → hide everything else, show only that item - Solo-click the only visible item → restore all There is no special "solo mode" — the gesture simply sets which items are hidden. Normal click/tap continues to toggle individual series, including after a solo action (e.g. solo a, then click b to add it). Closes https://github.com/orgs/home-assistant/discussions/1492 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Deduplicate legend parsing in _renderLegend and _getAllLegendIds Both methods parsed options.legend and filtered datasets identically. Extract the shared logic into a new _getLegendItems method. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update src/components/chart/ha-chart-base.ts --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
Home Assistant Frontend
This is the repository for the official Home Assistant frontend.
Development
- Initial setup:
script/setup - Development: Instructions
- Production build:
script/build_frontend - Gallery:
cd gallery && script/develop_gallery
Frontend development
Classic environment
A complete guide can be found at the following link. It describes a short guide for the build of project.
License
Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.
We use BrowserStack to test Home Assistant on a large variety of devices.
Description
Languages
TypeScript
98.8%
JavaScript
1.1%

