[Phase L2-6] 검색 결과 그룹핑 (앱/폴더/파일/단축키)
AxCopilot.SDK/IActionHandler.cs: - LauncherItem 레코드에 Group? 선택 매개변수 추가 (기존 호출 코드 무변경) Core/CommandResolver.cs: - Fuzzy 검색 결과에 Group 태깅: 앱/폴더/단축키/파일 ViewModels/LauncherViewModel.cs: - ICollectionView GroupedResults 프로퍼티 추가 - CollectionViewSource + PropertyGroupDescription(nameof(LauncherItem.Group)) 초기화 Views/LauncherWindow.xaml: - ItemsSource: Results → GroupedResults 변경 - ListView.GroupStyle 추가: 그룹 이름 헤더(10px, SemiBold, 흐린 보조 텍스트) - GroupItem ContainerStyle로 헤더+아이템 수직 배치 - Group=null 항목은 NullToCollapsedConverter로 헤더 숨김 빌드: 경고 0, 오류 0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -104,6 +104,13 @@ public class CommandResolver
|
||||
_ => Symbols.Plugin
|
||||
},
|
||||
_ => Symbols.File
|
||||
},
|
||||
Group: r.Entry.Type switch
|
||||
{
|
||||
IndexEntryType.App => "앱",
|
||||
IndexEntryType.Folder => "폴더",
|
||||
IndexEntryType.Alias => "단축키",
|
||||
_ => "파일"
|
||||
}
|
||||
)),
|
||||
item => (item.Data as IndexEntry)?.Path
|
||||
|
||||
Reference in New Issue
Block a user