feat: Add a simple mode to the visual card editor (#2588)

This commit is contained in:
Dermot Duffy
2026-07-21 19:13:29 -07:00
committed by GitHub
parent b6e1de5999
commit e29c0826cf
56 changed files with 1722 additions and 353 deletions
+3
View File
@@ -38,6 +38,7 @@ render and can operate in `image` or `folders` views depending on configuration.
| [`cameras_global`](cameras/README.md) | Global defaults that apply to all cameras from the `cameras` section. |
| `card_id` | An optional ID to uniquely identify this card. For use when actions are being sent to card(s) via [URL actions](../usage/url-actions.md). Must exclusively consist of these characters: `[a-zA-Z0-9_]`. |
| [`dimensions`](dimensions.md) | Configures the overall card dimensions. |
| [`editor`](editor.md) | Configures the visual card editor. |
| [`elements`](elements/README.md) | Add custom elements to the card. |
| [`folders`](folders.md) | Configures folders to be used in the card. Optional. If present, the first listed folder is the default. |
| [`image`](image.md) | Configures the `image` view. |
@@ -48,6 +49,8 @@ render and can operate in `image` or `folders` views depending on configuration.
| [`overrides`](overrides.md) | Override card configuration when conditions are met. |
| [`performance`](performance.md) | Configures the card performance. |
| [`profiles`](profiles.md) | Apply pre-configured sets of defaults to ease card configuration. |
| [`remote_control`](remote-control.md) | Configures how a card instance can be remotely controlled. |
| [`status_bar`](status-bar.md) | Configures the card status bar. |
| [`timeline`](timeline.md) | Configures the `timeline` view. |
| [`view`](view.md) | Configures the default view and behavior of the card. |
+1
View File
@@ -5,6 +5,7 @@
- [`cameras`](cameras/README.md)
- [`conditions` / `triggers`](conditions-triggers.md)
- [`dimensions`](dimensions.md)
- [`editor`](editor.md)
- [`elements`](elements/README.md)
- [`folders`](folders.md)
- [`image`](image.md)
+1
View File
@@ -7,6 +7,7 @@
- [`cameras`](../cameras/README.md)
- [`conditions` / `triggers`](../conditions-triggers.md)
- [`dimensions`](../dimensions.md)
- [`editor`](../editor.md)
- [`elements`](../elements/README.md)
- [`folders`](../folders.md)
- [`image`](../image.md)
@@ -7,6 +7,7 @@
- [`cameras`](../../cameras/README.md)
- [`conditions` / `triggers`](../../conditions-triggers.md)
- [`dimensions`](../../dimensions.md)
- [`editor`](../../editor.md)
- [`elements`](../../elements/README.md)
- [`folders`](../../folders.md)
- [`image`](../../image.md)
@@ -7,6 +7,7 @@
- [`cameras`](../../cameras/README.md)
- [`conditions` / `triggers`](../../conditions-triggers.md)
- [`dimensions`](../../dimensions.md)
- [`editor`](../../editor.md)
- [`elements`](../../elements/README.md)
- [`folders`](../../folders.md)
- [`image`](../../image.md)
+1
View File
@@ -7,6 +7,7 @@
- [`engine`](engine.md)
- [`conditions` / `triggers`](../conditions-triggers.md)
- [`dimensions`](../dimensions.md)
- [`editor`](../editor.md)
- [`folders`](../folders.md)
- [`elements`](../elements/README.md)
- [`image`](../image.md)
+21
View File
@@ -0,0 +1,21 @@
# `editor`
These options control the visual card editor.
```yaml
editor:
# [...]
```
| Option | Default | Description |
| ------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `mode` | _Automatic_ | Which editor to show. Acceptable values: `simple` for an abbreviated editor that includes bare bones settings or `full` for every option the editor can set. When unset, the `simple` editor is used unless the configuration sets something it does not show, in which case the `full` editor is used. |
## Fully expanded reference
[](common/expanded-warning.md ':include')
```yaml
editor:
mode: simple
```
+1
View File
@@ -5,6 +5,7 @@
- [`cameras`](../cameras/README.md)
- [`conditions` / `triggers`](../conditions-triggers.md)
- [`dimensions`](../dimensions.md)
- [`editor`](../editor.md)
- [`elements`](README.md)
- [Custom Elements](./custom/README.md)
- [Stock Elements](./stock/README.md)
@@ -5,6 +5,7 @@
- [`cameras`](../../cameras/README.md)
- [`conditions` / `triggers`](../../conditions-triggers.md)
- [`dimensions`](../../dimensions.md)
- [`editor`](../../editor.md)
- [`elements`](../../elements/README.md)
- [Custom Actions](README.md)
- [Stock Actions](../stock/README.md)
@@ -5,6 +5,7 @@
- [`cameras`](../../cameras/README.md)
- [`conditions` / `triggers`](../../conditions-triggers.md)
- [`dimensions`](../../dimensions.md)
- [`editor`](../../editor.md)
- [`elements`](../../elements/README.md)
- [Custom Actions](../custom/README.md)
- [Stock Actions](README.md)