diff --git a/src/layout/AppMenu.vue b/src/layout/AppMenu.vue index 7ed57b6..a8d29d6 100644 --- a/src/layout/AppMenu.vue +++ b/src/layout/AppMenu.vue @@ -8,6 +8,7 @@ const model = ref([ label: 'Knowledge Source', items: [{ label: 'Documents', icon: 'pi pi-fw pi-id-card', to: '/ksdocuments' }, { label: 'Code Repository', icon: 'pi pi-fw pi-id-card', to: '/ks_git_repos' }, + { label: 'Code Parser', icon: 'pi pi-fw pi-id-card', to: '/ks_git_repos/ks_code_parser' }, { label: 'Texts', icon: 'pi pi-fw pi-id-card', to: '/kstexts' } ] }, diff --git a/src/router/index.js b/src/router/index.js index 421e4be..182d43e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -21,17 +21,27 @@ const router = createRouter({ children: [ {path: '', name: 'ks-document', component: () => import('@/views/pages/ksDocuments/KsDocuments.vue')}, {path: 'new', name: 'ks-document-new', component: () => import('@/views/pages/ksDocuments/KsNewDocumentForm.vue')}, - //{path: ':id', name: 'ks-document-edit', component: () => import('@/views/pages/KsEditDocumentForm.vue')}, - {path: '/ks_similarity_search', name: 'ks_similarity_search', component: () => import('@/views/pages/similaritySearch/KsSimilaritySearch.vue')}, - {path: '/ks_vector_data', name: 'ks_vector_data', component: () => import('@/views/pages/vectorDBSearch/KsVectorData.vue')} ] }, { path: '/ks_git_repos', children: [ {path: '', name: 'ks-git-repos', component: () => import('@/views/pages/ksGitRepo/KsGitRepos.vue')}, - {path: 'new', name: 'ks-git-repo-new', component: () => import('@/views/pages/ksGitRepo/KsNewGitRepoForm.vue')}, - {path: '/clone', name: 'ks-git-clone-repo', component: () => import('@/views/pages/ksGitRepo/KsGitCloneRepoForm.vue')}, + //{path: 'new', name: 'ks-git-repo-new', component: () => import('@/views/pages/ksGitRepo/KsNewGitRepoForm.vue')}, + //{path: '/clone', name: 'ks-git-clone-repo', component: () => import('@/views/pages/ksGitRepo/KsGitCloneRepoForm.vue')}, + {path: 'ks_code_parser', name: 'ks_code_parser', component: () => import('@/views/pages/ksGitRepo/ksCodeParser/KsGitCodeParser.vue')} + ] + }, + { + path: '/ks_similarity_search', + children: [ + {path: '', name: 'ks_similarity_search', component: () => import('@/views/pages/similaritySearch/KsSimilaritySearch.vue')}, + ] + }, + { + path: '/ks_vector_data', + children: [ + {path: '', name: 'ks_vector_data', component: () => import('@/views/pages/vectorDBSearch/KsVectorData.vue')}, ] }, { diff --git a/src/views/pages/ksGitRepo/KsGitCloneRepoFormDialog.vue b/src/views/pages/ksGitRepo/KsGitCloneRepoFormDialog.vue index d6c48ec..7a724dd 100644 --- a/src/views/pages/ksGitRepo/KsGitCloneRepoFormDialog.vue +++ b/src/views/pages/ksGitRepo/KsGitCloneRepoFormDialog.vue @@ -77,7 +77,7 @@ + + \ No newline at end of file diff --git a/src/views/pages/ksGitRepo/ksCodeParser/KsGitCodeParserDialog.vue b/src/views/pages/ksGitRepo/ksCodeParser/KsGitCodeParserDialog.vue new file mode 100644 index 0000000..74437d9 --- /dev/null +++ b/src/views/pages/ksGitRepo/ksCodeParser/KsGitCodeParserDialog.vue @@ -0,0 +1,151 @@ + + + + + + Repo Name + + + + Group Name + + + + + + + Git Source URL + + + + + + + Branch + + + + Git Code Type + + + + + + + code Parsing enable + + + + Git Token Type + + + + + + + + + + + + + + + + + \ No newline at end of file