fix(ui): update Lighthouse empty state copy

This commit is contained in:
alejandrobailo
2026-07-02 17:01:11 +02:00
parent 6d015e34b2
commit d022af9557
2 changed files with 3 additions and 16 deletions
@@ -54,11 +54,11 @@ export function ChatEmptyState({
return (
<div className="flex min-h-0 flex-1 items-center justify-center px-4 py-10 md:px-8">
<div className="mx-auto flex w-full max-w-5xl flex-col items-center gap-5">
<LighthouseIcon className="size-12" />
<LighthouseIcon className="size-20" />
<div className="space-y-2 text-center">
<h1 className="text-text-neutral-primary text-3xl font-semibold">
<DecryptedText
text="What do you want to know today?"
text="Find and remediate which actually matters."
animateOn="view"
sequential
speed={40}
@@ -67,7 +67,7 @@ export function ChatEmptyState({
</h1>
<p className="text-text-neutral-secondary text-base italic">
<DecryptedText
text="Find and remediate which actually matters."
text="What do you want to know today?"
animateOn="view"
sequential
speed={40}
@@ -183,19 +183,6 @@ describe("LighthouseV2ChatPage", () => {
).toHaveAttribute("href", "/lighthouse/settings");
});
it("renders the updated empty-state subtitle", () => {
// Given / When
renderPage();
// Then
expect(
screen.getByText("Find and remediate which actually matters."),
).toBeInTheDocument();
expect(
screen.queryByText("Understand and secure your cloud."),
).not.toBeInTheDocument();
});
it("shows the current OpenAI model without a selector when OpenAI is the only connected provider", () => {
// Given / When
renderPage({