diff --git a/ui/app/(prowler)/lighthouse/_components/chat/empty-state.tsx b/ui/app/(prowler)/lighthouse/_components/chat/empty-state.tsx index 6c2c2eb128..828d6ff38a 100644 --- a/ui/app/(prowler)/lighthouse/_components/chat/empty-state.tsx +++ b/ui/app/(prowler)/lighthouse/_components/chat/empty-state.tsx @@ -1,6 +1,6 @@ "use client"; -import { BookOpen, FileCheck2, Network, ShieldAlert } from "lucide-react"; +import { Cloud, FileCheck2, Network, ShieldAlert } from "lucide-react"; import { type ReactNode, type SubmitEvent } from "react"; import { LighthouseIcon } from "@/components/icons/Icons"; @@ -26,9 +26,9 @@ const LIGHTHOUSE_V2_SUGGESTIONS = [ icon: Network, }, { - label: "Docs", - prompt: "Point me to the relevant Prowler documentation for this task.", - icon: BookOpen, + label: "How can I onboard to my AWS account?", + prompt: "How can I onboard to my AWS account?", + icon: Cloud, }, ] as const; diff --git a/ui/app/(prowler)/lighthouse/_components/chat/lighthouse-v2-chat-page.test.tsx b/ui/app/(prowler)/lighthouse/_components/chat/lighthouse-v2-chat-page.test.tsx index e86210950d..2bf4ce2576 100644 --- a/ui/app/(prowler)/lighthouse/_components/chat/lighthouse-v2-chat-page.test.tsx +++ b/ui/app/(prowler)/lighthouse/_components/chat/lighthouse-v2-chat-page.test.tsx @@ -206,6 +206,27 @@ describe("LighthouseV2ChatPage", () => { expect(within(currentModel).getByText("GPT-5.1")).toBeInTheDocument(); }); + it("uses the AWS onboarding quick prompt instead of the docs prompt", async () => { + // Given + const user = userEvent.setup(); + renderPage(); + + // When + await user.click( + screen.getByRole("button", { + name: "How can I onboard to my AWS account?", + }), + ); + + // Then + expect( + screen.queryByRole("button", { name: "Docs" }), + ).not.toBeInTheDocument(); + expect(screen.getByRole("textbox", { name: "Message" })).toHaveValue( + "How can I onboard to my AWS account?", + ); + }); + it("shows model names in the selector while keeping model ids for persistence", async () => { // Given const user = userEvent.setup();