fix(webui): drop the repository review switch the server no longer accepts

This commit is contained in:
sam committed 2026-10-04 21:01:52 +11:00
1 parent 24374f026b
commit ffe6bd6a67
3 files changed
+57 -65

No files matched your search

+1 -8
View File
@@ -48,7 +48,6 @@ interface Repo {
persistent_storage: boolean;
max_retries: number;
allow_concurrent: boolean;
review_enabled: boolean;
}
const store = useControlPlaneStore();
@@ -66,7 +65,7 @@ function addRepo() {
if (!repos.value || !owner || !name) return;
repos.value.push({
owner, name, base: "main", ecosystem: "go", gate: [], preflight: null, protect: null,
test_glob: "", persistent_storage: false, max_retries: 0, allow_concurrent: false, review_enabled: false,
test_glob: "", persistent_storage: false, max_retries: 0, allow_concurrent: false,
});
newRepo.value = "";
}
@@ -152,12 +151,6 @@ const protectOf = (repo: Repo) => repo.protect ?? [];
<DraftHint :kind="KIND" :path="`${i}.max_retries`" />
</div>
</SettingRow>
<SettingRow label="Adversarial review">
<div class="flex flex-wrap items-center gap-3">
<Switch v-model="repo.review_enabled" :aria-label="`Adversarial review for ${repo.name}`" />
<DraftHint :kind="KIND" :path="`${i}.review_enabled`" />
</div>
</SettingRow>
<SettingRow label="Persistent storage" hint="Kept across tasks.">
<div class="flex flex-wrap items-center gap-3">
<Switch v-model="repo.persistent_storage" :aria-label="`Persistent storage for ${repo.name}`" />
-1
View File
@@ -62,7 +62,6 @@ export interface RepoView {
ecosystem?: string;
allow_concurrent: boolean;
max_retries: number;
review_enabled: boolean;
}
/** A provider's shape, never its key: api_key_env is the NAME of an