From 07c70525a600d10f64ebca88f07e7561388217af Mon Sep 17 00:00:00 2001 From: Jules Belveze <32683010+JulesBelveze@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:11:33 +0100 Subject: [PATCH] [front/assistant/conversation] - refactor: streamline conversation list rendering in sidebar menu (#8339) - Replace multiple components with `Item.List` and `Item` for rendering conversation lists - Modify button variants for delete and close actions in multi-select mode to improve visual consistency - Simplify component structure for rendering individual conversations within the sidebar menu Co-authored-by: Jules --- .../assistant/conversation/SidebarMenu.tsx | 130 +++++++++--------- 1 file changed, 68 insertions(+), 62 deletions(-) diff --git a/front/components/assistant/conversation/SidebarMenu.tsx b/front/components/assistant/conversation/SidebarMenu.tsx index d2f0cf4c922f..98362e7a2db8 100644 --- a/front/components/assistant/conversation/SidebarMenu.tsx +++ b/front/components/assistant/conversation/SidebarMenu.tsx @@ -3,12 +3,10 @@ import { ChatBubbleBottomCenterPlusIcon, Checkbox, Dialog, + Item, Label, ListCheckIcon, MoreIcon, - NavigationList, - NavigationListItem, - NavigationListLabel, NewDropdownMenu, NewDropdownMenuContent, NewDropdownMenuItem, @@ -217,7 +215,7 @@ export function AssistantSidebarMenu({ owner }: AssistantSidebarMenuProps) { />