mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Add integration name information to repairs (#22006)
* Add integration name to repairs * Improve dialog-repairs-issue aria and translations * Fix type in dialog-repairs-issue * Remove unused slots in dialog-repairs-issue * Fix ha-config-repairs avoid nested css * Fix ha-config-repairs to use ha-md-list * Add subtitle slot to ha-dialog-header * Move close icon to left in dialog-data-entry-flow * Move severity and reportedBy to dialog subtitle in repair-dialog * Add md buttons to dialog-repairs-issue * Revert dialog-repairs-issue to use normal ha-buttons * Revert dialog-entry-flow close icon position * Improve buttons for dialog-repairs-issue * Add subtitle to all show-dialog-repair-flow headers * Fix integration names for repair dialogs * Fix subtitle title repair dialogs --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
@@ -31,6 +31,11 @@ export interface FlowConfig {
|
||||
|
||||
deleteFlow(hass: HomeAssistant, flowId: string): Promise<unknown>;
|
||||
|
||||
renderAbortHeader?(
|
||||
hass: HomeAssistant,
|
||||
step: DataEntryFlowStepAbort
|
||||
): TemplateResult | string;
|
||||
|
||||
renderAbortDescription(
|
||||
hass: HomeAssistant,
|
||||
step: DataEntryFlowStepAbort
|
||||
@@ -39,7 +44,7 @@ export interface FlowConfig {
|
||||
renderShowFormStepHeader(
|
||||
hass: HomeAssistant,
|
||||
step: DataEntryFlowStepForm
|
||||
): string;
|
||||
): string | TemplateResult;
|
||||
|
||||
renderShowFormStepDescription(
|
||||
hass: HomeAssistant,
|
||||
@@ -95,14 +100,17 @@ export interface FlowConfig {
|
||||
renderShowFormProgressHeader(
|
||||
hass: HomeAssistant,
|
||||
step: DataEntryFlowStepProgress
|
||||
): string;
|
||||
): string | TemplateResult;
|
||||
|
||||
renderShowFormProgressDescription(
|
||||
hass: HomeAssistant,
|
||||
step: DataEntryFlowStepProgress
|
||||
): TemplateResult | "";
|
||||
|
||||
renderMenuHeader(hass: HomeAssistant, step: DataEntryFlowStepMenu): string;
|
||||
renderMenuHeader(
|
||||
hass: HomeAssistant,
|
||||
step: DataEntryFlowStepMenu
|
||||
): string | TemplateResult;
|
||||
|
||||
renderMenuDescription(
|
||||
hass: HomeAssistant,
|
||||
|
||||
Reference in New Issue
Block a user