From 7ef0b9d4ef29d5f85d1e429ef5ce6836445291e4 Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 18:37:02 +0200 Subject: [PATCH 1/3] =?UTF-8?q?kin:=20KIN-OBS-025=20PM-=D0=BB=D0=BE=D0=B3?= =?UTF-8?q?=D0=B8=20=D0=BD=D0=B5=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=B2=20pipeline=5Flog:=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20=D0=B8=D0=BD=D1=81=D1=82=D1=80=D1=83?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=86=D0=B8=D1=8E=20PM-=D1=88?= =?UTF-8?q?=D0=B0=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/frontend/src/api.ts | 4 ++-- web/frontend/src/views/SettingsView.vue | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/frontend/src/api.ts b/web/frontend/src/api.ts index 7c27ef9..1002848 100644 --- a/web/frontend/src/api.ts +++ b/web/frontend/src/api.ts @@ -190,7 +190,7 @@ export interface ProjectLink { id: number from_project: string to_project: string - link_type: string + type: string description: string | null created_at: string } @@ -415,7 +415,7 @@ export const api = { get(`/pipelines/${pipelineId}/logs?since_id=${sinceId}`), projectLinks: (projectId: string) => get(`/projects/${projectId}/links`), - createProjectLink: (data: { from_project: string; to_project: string; link_type: string; description?: string }) => + createProjectLink: (data: { from_project: string; to_project: string; type: string; description?: string }) => post('/project-links', data), deleteProjectLink: (id: number) => del(`/project-links/${id}`), diff --git a/web/frontend/src/views/SettingsView.vue b/web/frontend/src/views/SettingsView.vue index bf7c70c..9cd847e 100644 --- a/web/frontend/src/views/SettingsView.vue +++ b/web/frontend/src/views/SettingsView.vue @@ -61,10 +61,10 @@ async function saveDeployConfig(projectId: string) { saveDeployConfigStatus.value[projectId] = '' try { await api.patchProject(projectId, { - deploy_host: deployHosts.value[projectId] || undefined, - deploy_path: deployPaths.value[projectId] || undefined, - deploy_runtime: deployRuntimes.value[projectId] || undefined, - deploy_restart_cmd: deployRestartCmds.value[projectId] || undefined, + deploy_host: deployHosts.value[projectId], + deploy_path: deployPaths.value[projectId], + deploy_runtime: deployRuntimes.value[projectId], + deploy_restart_cmd: deployRestartCmds.value[projectId], deploy_command: deployCommands.value[projectId] || undefined, }) saveDeployConfigStatus.value[projectId] = 'Saved' From 377639c04d67c29df1b2af66084fabd741ed4071 Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 18:37:14 +0200 Subject: [PATCH 2/3] =?UTF-8?q?kin:=20KIN-INFRA-013=20=D0=94=D0=BE=D0=B1?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D1=82=D1=8C=20UNIQUE-=D0=BE=D0=B3=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0?= =?UTF-8?q?=20project=5Flinks(from=5Fproject,=20to=5Fproject,=20type)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/frontend/src/views/ProjectView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/frontend/src/views/ProjectView.vue b/web/frontend/src/views/ProjectView.vue index 2c4b7be..654ee9c 100644 --- a/web/frontend/src/views/ProjectView.vue +++ b/web/frontend/src/views/ProjectView.vue @@ -395,7 +395,7 @@ const links = ref([]) const linksLoading = ref(false) const linksError = ref('') const showAddLink = ref(false) -const linkForm = ref({ to_project: '', link_type: 'depends_on', description: '' }) +const linkForm = ref({ to_project: '', type: 'depends_on', description: '' }) const linkFormError = ref('') const linkSaving = ref(false) From 66dc5f2111b1ea60f562c91b33c6033253c3bd64 Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 18:41:21 +0200 Subject: [PATCH 3/3] kin: auto-commit after pipeline --- web/frontend/src/views/ProjectView.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/frontend/src/views/ProjectView.vue b/web/frontend/src/views/ProjectView.vue index 654ee9c..01f5f0f 100644 --- a/web/frontend/src/views/ProjectView.vue +++ b/web/frontend/src/views/ProjectView.vue @@ -419,11 +419,11 @@ async function addLink() { await api.createProjectLink({ from_project: props.id, to_project: linkForm.value.to_project, - link_type: linkForm.value.link_type, + type: linkForm.value.type, description: linkForm.value.description || undefined, }) showAddLink.value = false - linkForm.value = { to_project: '', link_type: 'depends_on', description: '' } + linkForm.value = { to_project: '', type: 'depends_on', description: '' } await loadLinks() } catch (e: any) { linkFormError.value = e.message @@ -1368,7 +1368,7 @@ async function addDecision() { {{ link.from_project }} -> {{ link.to_project }} - {{ link.link_type }} + {{ link.type }} {{ link.description }}