feat(ui): add a settings dialog for the compact card #6
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/settings-menu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Adds a settings dialog for the compact card view (below 1280 px). A gear in the header opens it. The user chooses the order of Alexa name, device name and entity ID for the card title, shows or hides the small line below the title, and shows or hides the badges for manufacturer, area, source and category. The dialog can reset everything to the defaults. The choice is remembered in the browser. Columns can be hidden in the card only (
hideInCard), so the desktop table does not change.Release 1.0.36.
Type of Change
Changes Made
hideInCardfor the card only, without changing the desktop tableDOCS.md,DOCS.de.md, README) and changelog (en/de) for 1.0.36config.ymlandpackage.jsonRelated Issues
Closes #
Testing
Unit tests cover the settings model, the dialog and the compact card. An E2E test for the phone and tablet projects checks that the card title order is remembered after a reload. Tested by hand on a phone and a tablet.
Checklist
Screenshots (if applicable)
Additional Notes
The desktop table (1280 px and wider) is unchanged. The settings only affect the compact card.