Skip to content

fix: render CompareToolsPanel in CatalogueChatView - #667

Merged
tiberiuichim merged 1 commit into
developfrom
fix-chatbot-compare-tools
Sep 4, 2026
Merged

fix: render CompareToolsPanel in CatalogueChatView#667
tiberiuichim merged 1 commit into
developfrom
fix-chatbot-compare-tools

Conversation

@tiberiuichim

Copy link
Copy Markdown
Member

Description

In the CCA chatbot catalogue variation, document cards render NavigatorCatalogueCardItem with a "Compare" checkbox. However, CompareToolsPanel was not mounted anywhere in CatalogueChatView, so checking the box stored the tool in compareToolsAtom without displaying any UI to view selected tools or navigate to the comparison page.

Changes

  • Rendered <CompareToolsPanel /> alongside <ChatWindow /> in src/components/manage/Blocks/ChatbotCatalogue/CatalogueChatView.jsx.
  • Updated tests in src/components/manage/Blocks/ChatbotCatalogue/CatalogueChatView.test.jsx to mock and assert the rendering of CompareToolsPanel.

@tiberiuichim
tiberiuichim merged commit 69b971a into develop Sep 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant