kin: KIN-065 UI-тоггл autocommit_enabled на странице проекта
This commit is contained in:
parent
a48892d456
commit
0032b3056a
3 changed files with 10 additions and 1 deletions
|
|
@ -7,7 +7,10 @@
|
||||||
<router-link to="/" class="text-lg font-bold text-gray-100 hover:text-white no-underline">
|
<router-link to="/" class="text-lg font-bold text-gray-100 hover:text-white no-underline">
|
||||||
Kin
|
Kin
|
||||||
</router-link>
|
</router-link>
|
||||||
|
<nav class="flex items-center gap-4">
|
||||||
|
<router-link to="/settings" class="text-xs text-gray-400 hover:text-gray-200 no-underline">Settings</router-link>
|
||||||
<span class="text-xs text-gray-600">multi-agent orchestrator</span>
|
<span class="text-xs text-gray-600">multi-agent orchestrator</span>
|
||||||
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main class="max-w-6xl mx-auto px-6 py-6">
|
<main class="max-w-6xl mx-auto px-6 py-6">
|
||||||
<router-view />
|
<router-view />
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ import App from './App.vue'
|
||||||
import Dashboard from './views/Dashboard.vue'
|
import Dashboard from './views/Dashboard.vue'
|
||||||
import ProjectView from './views/ProjectView.vue'
|
import ProjectView from './views/ProjectView.vue'
|
||||||
import TaskDetail from './views/TaskDetail.vue'
|
import TaskDetail from './views/TaskDetail.vue'
|
||||||
|
import SettingsView from './views/SettingsView.vue'
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
history: createWebHistory(),
|
history: createWebHistory(),
|
||||||
|
|
@ -12,6 +13,7 @@ const router = createRouter({
|
||||||
{ path: '/', component: Dashboard },
|
{ path: '/', component: Dashboard },
|
||||||
{ path: '/project/:id', component: ProjectView, props: true },
|
{ path: '/project/:id', component: ProjectView, props: true },
|
||||||
{ path: '/task/:id', component: TaskDetail, props: true },
|
{ path: '/task/:id', component: TaskDetail, props: true },
|
||||||
|
{ path: '/settings', component: SettingsView },
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,10 @@ const resolvingAction = ref(false)
|
||||||
const showReject = ref(false)
|
const showReject = ref(false)
|
||||||
const rejectReason = ref('')
|
const rejectReason = ref('')
|
||||||
|
|
||||||
|
// Revise modal
|
||||||
|
const showRevise = ref(false)
|
||||||
|
const reviseComment = ref('')
|
||||||
|
|
||||||
// Auto/Review mode (per-task, persisted in DB; falls back to localStorage per project)
|
// Auto/Review mode (per-task, persisted in DB; falls back to localStorage per project)
|
||||||
const autoMode = ref(false)
|
const autoMode = ref(false)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue