From 952ae47d559460d267d8fa6dacf1ff8d2b9d98aa Mon Sep 17 00:00:00 2001 From: Abbie Sims <74302970+abbiesims@users.noreply.github.com> Date: Tue, 23 Apr 2024 15:27:35 +0400 Subject: [PATCH] Modify integrations tab (#1803) Places endpoint above interface, removes tooltip and adds a short description --- .../integrations/components/InterfaceItem.tsx | 46 ++++++++++--------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/static/js/src/public/details/integrations/components/InterfaceItem.tsx b/static/js/src/public/details/integrations/components/InterfaceItem.tsx index 60d4cba39..a0bb8ec0b 100644 --- a/static/js/src/public/details/integrations/components/InterfaceItem.tsx +++ b/static/js/src/public/details/integrations/components/InterfaceItem.tsx @@ -131,33 +131,35 @@ export const InterfaceItem = ({ <>

- {interfaceData.key} |{" "} - - {interfaceData.interface} - {" "} - - - - Relation | Interface - - +
+ {interfaceData.key} + endpoint +
+
+ + {interfaceData.interface} + + interface +

{interfaceData.description &&

{interfaceData.description}

} {charms && charms?.length > 0 && ( <> -

- Charms that{" "} - {interfaceType === "requires" ? "provide" : "consume"}{" "} - {interfaceData.interface} -

+
+

+ The {interfaceData.key} endpoint + {interfaceType === "requires" ? " provides " : " requires "} + an integration over the {" "} + + {interfaceData.interface} + + {" "} interface +

+

+ This means it can integrate with: +

+
{charms.map((charm: ICharm) => (