What do people think of allowing entities with custom more-info to use the new more-info dialog design in the front-end? That design raises the custom more-info to the top of the dialog, rather than below the history & dialog sections. Right now access to that functionality is restricted to domains hard-coded in src/dialogs/more-info/const.ts
.
I could imagine enabling this by either adding a new entity attribute that specifies the behavior (similar to how the current custom_ui_more_info
attribute currently works), or adding something to cardTools
to allow registering a custom domain to use the new design.
The motivation for this is I’m creating new entity types for various custom platforms I’m developing. When I show those entities in the front-end in a standard say entities card, it’d be nice for the custom content I show in the more-info dialog that pops up to be more prominently visible since it’s much more relevant than the history & logbook sections.
Thoughts?
Josh