From 819a76f8e343e6957390733d5c4420caa257a971 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 18 Aug 2022 11:01:45 -0400 Subject: [PATCH] minor ui tweaks --- webapp/src/components/AutomationEditor/index.tsx | 15 ++++++++++----- .../AutomationManager/MetadataBox/index.tsx | 11 +++++++++-- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/webapp/src/components/AutomationEditor/index.tsx b/webapp/src/components/AutomationEditor/index.tsx index f7e7824..f2fee79 100644 --- a/webapp/src/components/AutomationEditor/index.tsx +++ b/webapp/src/components/AutomationEditor/index.tsx @@ -231,30 +231,35 @@ export const AutomationEditor: FC = ({ /> } > } tooltipTitle={"Trigger"} onClick={onTrigger} /> } tooltipTitle={"Delete"} onClick={onDelete} /> } tooltipTitle={"Metadata"} onClick={() => setInfoBox(!infoBoxOpen)} /> {state.status === "changed" && ( } tooltipTitle={"Undo"} onClick={undo} diff --git a/webapp/src/components/AutomationManager/MetadataBox/index.tsx b/webapp/src/components/AutomationManager/MetadataBox/index.tsx index 71a396d..21580e0 100644 --- a/webapp/src/components/AutomationManager/MetadataBox/index.tsx +++ b/webapp/src/components/AutomationManager/MetadataBox/index.tsx @@ -55,7 +55,7 @@ export const MetadataBox: FC = (props) => { title={`ID=${props.id}, EntityID=${props.entityId}`} > - + = (props) => { className="select" icon={} onClick={props.onSelect} + title="Select automation" + /> + } + onClick={props.onRun} + title="Trigger automation" /> - } onClick={props.onRun} /> } onClick={props.onDelete} + title="Delete automation" />