refactor: simplify menu labels - 5 items to 4, remove redundant refresh
This commit is contained in:
+4
-5
@@ -1014,11 +1014,10 @@ class SidebarChatProvider implements vscode.WebviewViewProvider {
|
||||
const repoLabel = currentRepo ? currentRepo.split('/').pop() : '없음';
|
||||
|
||||
const items: any[] = [
|
||||
{ label: `📂 내 지식 파일 보기 (${fileCount}개)`, description: fileCount > 0 ? '내가 넣어둔 지식 목록 확인' : '아직 지식이 없습니다', action: 'listFiles' },
|
||||
{ label: '📁 내 뇌 폴더 변경하기', description: `현재: ${brainDir}`, action: 'changeFolder' },
|
||||
{ label: `🔗 깃허브에서 지식 가져오기`, description: `연결됨: ${repoLabel}`, action: 'githubSync' },
|
||||
{ label: '🔄 지식 새로고침', description: '폴더 내용을 다시 읽어옵니다', action: 'resync' },
|
||||
{ label: '🌐 내 지식 지도 보기', description: '지식들이 어떻게 연결되어 있는지 시각화', action: 'viewGraph' },
|
||||
{ label: `📂 내 지식 목록 (${fileCount}개)`, description: '클릭하면 파일 내용 열기', action: 'listFiles' },
|
||||
{ label: `🔄 깃허브 동기화`, description: `${repoLabel} — 로컬↔깃허브 양방향 최신화`, action: 'githubSync' },
|
||||
{ label: '📁 폴더 위치 바꾸기', description: `현재: ${brainDir}`, action: 'changeFolder' },
|
||||
{ label: '🌐 지식 지도', description: '내 지식의 연결 관계 시각화', action: 'viewGraph' },
|
||||
];
|
||||
|
||||
const pick = await vscode.window.showQuickPick(items, { placeHolder: '🧠 내 지식 관리' });
|
||||
|
||||
Reference in New Issue
Block a user