Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/stock-assistant-parity.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashintel/petrinaut": patch
---

Keep the stock AI assistant presentation unchanged by the Brunch conversation UI: chronological messages, stock tool rows, tabs, scrolling and composer. A tool stopped mid-run now shows Cancelled instead of a spinner.
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ describe("AiAssistantPanel composer submissions", () => {
]),
);
const ledgerTab = screen.getByRole("tab", { name: "Ledger" });
expect(ledgerTab.querySelector("[data-attention]")).not.toBeNull();
expect(ledgerTab.querySelector('[aria-hidden="true"]')).not.toBeNull();

fireEvent.click(ledgerTab);
await waitFor(() => expect(screen.queryByText("9+")).toBeNull());
Expand Down Expand Up @@ -667,14 +667,14 @@ describe("AiAssistantPanel composer submissions", () => {

const chatTab = await screen.findByRole("tab", { name: "Chat" });
await waitFor(() =>
expect(chatTab.querySelector("[data-attention]")).not.toBeNull(),
expect(chatTab.querySelector('[aria-hidden="true"]')).not.toBeNull(),
);
fireEvent.click(chatTab);
await waitFor(() =>
expect(
screen
.getByRole("tab", { name: "Chat" })
.querySelector("[data-attention]"),
.querySelector('[aria-hidden="true"]'),
).toBeNull(),
);
});
Expand Down Expand Up @@ -705,7 +705,7 @@ describe("AiAssistantPanel composer submissions", () => {

const chatTab = await screen.findByRole("tab", { name: "Chat" });
await waitFor(() =>
expect(chatTab.querySelector("[data-attention]")).not.toBeNull(),
expect(chatTab.querySelector('[aria-hidden="true"]')).not.toBeNull(),
);
});

Expand Down
Loading
Loading