[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:
@@ -40,7 +40,8 @@ public record LauncherItem(
|
||||
string? IconPath, // null이면 기본 아이콘 사용
|
||||
object? Data, // ExecuteAsync에 전달되는 임의 데이터
|
||||
string? ActionUrl = null, // Enter 시 열릴 URL (선택)
|
||||
string? Symbol = null // Segoe MDL2 Assets 유니코드 심볼 (null이면 타입 기반 자동 결정)
|
||||
string? Symbol = null, // Segoe MDL2 Assets 유니코드 심볼 (null이면 타입 기반 자동 결정)
|
||||
string? Group = null // 검색 결과 그룹 레이블 (null이면 그룹 없음)
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user