kin: KIN-065 UI-тоггл autocommit_enabled на странице проекта

This commit is contained in:
Gros Frumos 2026-03-16 07:15:58 +02:00
parent a48892d456
commit 0032b3056a
3 changed files with 10 additions and 1 deletions

View file

@ -7,7 +7,10 @@
<router-link to="/" class="text-lg font-bold text-gray-100 hover:text-white no-underline">
Kin
</router-link>
<span class="text-xs text-gray-600">multi-agent orchestrator</span>
<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>
</nav>
</header>
<main class="max-w-6xl mx-auto px-6 py-6">
<router-view />

View file

@ -5,6 +5,7 @@ import App from './App.vue'
import Dashboard from './views/Dashboard.vue'
import ProjectView from './views/ProjectView.vue'
import TaskDetail from './views/TaskDetail.vue'
import SettingsView from './views/SettingsView.vue'
const router = createRouter({
history: createWebHistory(),
@ -12,6 +13,7 @@ const router = createRouter({
{ path: '/', component: Dashboard },
{ path: '/project/:id', component: ProjectView, props: true },
{ path: '/task/:id', component: TaskDetail, props: true },
{ path: '/settings', component: SettingsView },
],
})

View file

@ -28,6 +28,10 @@ const resolvingAction = ref(false)
const showReject = ref(false)
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)
const autoMode = ref(false)