| 
899 | 899 |             <Menu HorizontalAlignment="Right">  | 
900 | 900 |               <MenuItem  | 
901 | 901 |                 Classes="Ghost" Height="30"  | 
902 |  | -                Padding="6,4" shadui:MenuItemAssist.PopupPlacement="Bottom"  | 
903 |  | -                ToolTip.Tip="{I18N {x:Static LocaleKey.ChatInputBox_AddAttachmentMenuItem_ToolTip}}">  | 
 | 902 | +                Padding="6,4" shadui:MenuItemAssist.PopupPlacement="Bottom">  | 
904 | 903 |                 <MenuItem.Header>  | 
905 | 904 |                   <LucideIcon  | 
906 | 905 |                     HorizontalAlignment="Center" VerticalAlignment="Center"  | 
907 |  | -                    Kind="Paperclip" Size="16"/>  | 
 | 906 | +                    Kind="Ellipsis" Size="16"/>  | 
908 | 907 |                 </MenuItem.Header>  | 
 | 908 | + | 
 | 909 | +                <MenuItem  | 
 | 910 | +                  Command="{Binding $parent[v:ChatWindow].ViewModel.ChatContextManager.RemoveSelectedCommand}"  | 
 | 911 | +                  CommandParameter="{Binding}"  | 
 | 912 | +                  Foreground="{DynamicResource DestructiveColor}"  | 
 | 913 | +                  Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_DeleteSelectedMenuItem_Header}}">  | 
 | 914 | +                  <MenuItem.Icon>  | 
 | 915 | +                    <LucideIcon  | 
 | 916 | +                      Foreground="{DynamicResource DestructiveColor}"  | 
 | 917 | +                      Kind="Trash2" Size="1"/>  | 
 | 918 | +                  </MenuItem.Icon>  | 
 | 919 | +                </MenuItem>  | 
909 | 920 |               </MenuItem>  | 
910 | 921 |             </Menu>  | 
911 | 922 |           </Panel>  | 
 | 
979 | 990 |                         <Setter Property="HorizontalContentAlignment" Value="Stretch"/>  | 
980 | 991 |                         <Setter Property="ContextMenu">  | 
981 | 992 |                           <Setter.Value>  | 
982 |  | -                            <ContextMenu x:DataType="chat:ChatContextMetadata">  | 
 | 993 | +                            <ContextMenu  | 
 | 994 | +                              x:DataType="chat:ChatContextMetadata"  | 
 | 995 | +                              CornerRadius="{DynamicResource LgCornerRadius}">  | 
983 | 996 |                               <MenuItem  | 
984 | 997 |                                 Command="{Binding StartRenaming}"  | 
985 |  | -                                Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_Rename_Header}}"  | 
 | 998 | +                                Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_RenameMenuItem_Header}}"  | 
986 | 999 |                                 Icon="{LucideIconContent Pencil}"  | 
987 | 1000 |                                 IsVisible="{Binding !IsTemporary}"/>  | 
988 | 1001 |                               <MenuItem  | 
989 | 1002 |                                 Command="{Binding $parent[v:ChatWindow].ViewModel.ChatContextManager.RemoveCommand}"  | 
990 | 1003 |                                 CommandParameter="{Binding}"  | 
991 | 1004 |                                 Foreground="{DynamicResource DestructiveColor}"  | 
992 |  | -                                Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_Delete_Header}}">  | 
 | 1005 | +                                Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_DeleteMenuItem_Header}}">  | 
993 | 1006 |                                 <MenuItem.Icon>  | 
994 | 1007 |                                   <LucideIcon  | 
995 | 1008 |                                     Foreground="{DynamicResource DestructiveColor}"  | 
996 |  | -                                    Kind="Delete"/>  | 
 | 1009 | +                                    Kind="Trash2"/>  | 
997 | 1010 |                                 </MenuItem.Icon>  | 
998 | 1011 |                               </MenuItem>  | 
999 | 1012 |                             </ContextMenu>  | 
 | 
1047 | 1060 |                               <MenuFlyout>  | 
1048 | 1061 |                                 <MenuItem  | 
1049 | 1062 |                                   Command="{Binding #TopicEditableTextBlock.EnterEditMode}"  | 
1050 |  | -                                  Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_Rename_Header}}"  | 
 | 1063 | +                                  Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_RenameMenuItem_Header}}"  | 
1051 | 1064 |                                   Icon="{LucideIconContent Pencil}"  | 
1052 | 1065 |                                   IsVisible="{Binding !IsTemporary}"/>  | 
1053 | 1066 |                                 <MenuItem  | 
1054 | 1067 |                                   Command="{Binding $parent[v:ChatWindow].ViewModel.ChatContextManager.RemoveCommand}"  | 
1055 | 1068 |                                   CommandParameter="{Binding}"  | 
1056 | 1069 |                                   Foreground="{DynamicResource DestructiveColor}"  | 
1057 |  | -                                  Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_Delete_Header}}">  | 
 | 1070 | +                                  Header="{I18N {x:Static LocaleKey.ChatWindow_ChatHistory_DeleteMenuItem_Header}}">  | 
1058 | 1071 |                                   <MenuItem.Icon>  | 
1059 | 1072 |                                     <LucideIcon  | 
1060 | 1073 |                                       Foreground="{DynamicResource DestructiveColor}"  | 
1061 |  | -                                      Kind="Delete"/>  | 
 | 1074 | +                                      Kind="Trash2" Size="14"/>  | 
1062 | 1075 |                                   </MenuItem.Icon>  | 
1063 | 1076 |                                 </MenuItem>  | 
1064 | 1077 |                               </MenuFlyout>  | 
 | 
0 commit comments