diff --git a/messages/en-US.json b/messages/en-US.json index 063d9efc..2cb827ef 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -1165,13 +1165,13 @@ "sidebarDomains": "Domains", "sidebarBluePrints": "Blueprints", "blueprints": "Blueprints", - "blueprintsDescription": "Blueprints are declarative YAML configurations that define your resources and their settings", + "blueprintsDescription": "Apply declarative configurations and view previous runs", "blueprintAdd": "Add Blueprint", "blueprintGoBack": "See all Blueprints", "blueprintCreate": "Create Blueprint", "blueprintCreateDescription2": "Follow the steps below to create and apply a new blueprint", - "blueprintDetails": "Blueprint details", - "blueprintDetailsDescription": "See the blueprint run details", + "blueprintDetails": "Blueprint Details", + "blueprintDetailsDescription": "See the result of the applied blueprint and any errors that occurred", "blueprintInfo": "Blueprint Information", "message": "Message", "blueprintContentsDescription": "Define the YAML content describing your infrastructure", @@ -1181,7 +1181,7 @@ "appliedAt": "Applied At", "source": "Source", "contents": "Contents", - "parsedContents": "Parsed Contents", + "parsedContents": "Parsed Contents (Read Only)", "enableDockerSocket": "Enable Docker Blueprint", "enableDockerSocketDescription": "Enable Docker Socket label scraping for blueprint labels. Socket path must be provided to Newt.", "enableDockerSocketLink": "Learn More", diff --git a/src/components/BlueprintDetailsForm.tsx b/src/components/BlueprintDetailsForm.tsx index 78bdfc68..c97ca31a 100644 --- a/src/components/BlueprintDetailsForm.tsx +++ b/src/components/BlueprintDetailsForm.tsx @@ -54,22 +54,7 @@ export default function BlueprintDetailsForm({
- - - - {t("appliedAt")} - - - - - + {t("status")} @@ -88,16 +73,6 @@ export default function BlueprintDetailsForm({ )} - - - {t("message")} - - -

- {blueprint.message} -

-
-
{t("source")} @@ -106,35 +81,59 @@ export default function BlueprintDetailsForm({ {blueprint.source === "API" && ( - - API - - + API + )} {blueprint.source === "NEWT" && ( - - - Newt CLI - - + + + Newt CLI )} {blueprint.source === "UI" && ( - - Dashboard{" "} - - + + Dashboard )}{" "} + + + {t("appliedAt")} + + + + + + {blueprint.message && ( + + + {t("message")} + + +

+ {blueprint.message} +

+
+
+ )}
@@ -169,11 +168,6 @@ export default function BlueprintDetailsForm({ {t("parsedContents")} - - {t( - "blueprintContentsDescription" - )} -
+ - Dashboard{" "} - + + Dashboard ); @@ -163,18 +166,14 @@ export default function BlueprintsTable({ blueprints, orgId }: Props) { cell: ({ row }) => { return (
- + +
); }