Entities Card: Add Header & Footer Editor#6751
Conversation
|
Thinking out loud here: We are going to get action editors, row editors (+ entity detail editor), and then we have a separate tab for the header and footer. Should we do the header and footer the same way? |
|
The problem is putting too much on one Tab. Header and footer (while maybe Advanced is a bad tab name) aren't something that will be on every card. Maybe we rename the tab to We should not muddy up the row UI with more and more options that arent used in every card. Same with the sensor card. Extra tab with the primary color field |
|
But also, no I dont have a mock up. My mockups are made by CSS and HTML. I am somewhat dumb when it comes to editing software. idk why. Honestly I don't have a good finalized idea of how I want the entity detail editor and special row "adder" to look like yet. I am building them in steps, hence the other special row pr |
|
I think I will come back to this once I have finalized the other editor for entities. So that everything is the same way |
For adding special rows, my idea was to have it inside the Entity dropdowns themselves. So at the very top of the dropdown would be something like this (special row name + descriptive text): And then under those, in the same dropdown list, would be all your entities just like today. This would eliminate the need for another button or tab to add special rows. I had a bunch more mockups for this but can't find them anymore. |
|
Gif in the OP has been updated to reflect changes |
src/panels/lovelace/editor/config-elements/hui-entities-card-editor.ts
Outdated
Show resolved
Hide resolved
src/panels/lovelace/editor/header-footer-editor/hui-dialog-create-headerfooter.ts
Show resolved
Hide resolved
src/panels/lovelace/editor/config-elements/hui-entities-card-editor.ts
Outdated
Show resolved
Hide resolved
|
I don't think I understand the T typing... |
OK, ask me on discord if you're ready |
This reverts commit 62dd9ad.

Proposed change
Type of change
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: