From 1134f320292da37692f262b41123a55663e97bf3 Mon Sep 17 00:00:00 2001 From: bsilkyn Date: Thu, 23 May 2024 23:26:40 +0200 Subject: [PATCH 1/5] chore: make buttons auto-adjust width in admin panel --- frontend/src/views/admin/DockerImagesView.vue | 4 ++-- frontend/src/views/admin/UsersView.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/views/admin/DockerImagesView.vue b/frontend/src/views/admin/DockerImagesView.vue index 2c4c1d67..ded674ce 100644 --- a/frontend/src/views/admin/DockerImagesView.vue +++ b/frontend/src/views/admin/DockerImagesView.vue @@ -199,7 +199,7 @@ const onSelect = (selected: any[] | null): void => { - @@ -238,7 +238,7 @@ const onSelect = (selected: any[] | null): void => { diff --git a/frontend/src/views/admin/UsersView.vue b/frontend/src/views/admin/UsersView.vue index 9304da85..ed505489 100644 --- a/frontend/src/views/admin/UsersView.vue +++ b/frontend/src/views/admin/UsersView.vue @@ -209,9 +209,9 @@ const saveItem = async (): Promise => { From b830ca2442d160ca23385d6db7353303bbc81294 Mon Sep 17 00:00:00 2001 From: bsilkyn Date: Thu, 23 May 2024 23:27:05 +0200 Subject: [PATCH 2/5] chore: hopefully prevent pressing enter in structure checks from submitting the form --- frontend/src/components/projects/ProjectStructureEditor.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/projects/ProjectStructureEditor.vue b/frontend/src/components/projects/ProjectStructureEditor.vue index bdbcebd3..5d935787 100644 --- a/frontend/src/components/projects/ProjectStructureEditor.vue +++ b/frontend/src/components/projects/ProjectStructureEditor.vue @@ -114,6 +114,7 @@ function selectStructureCheck(node: TreeNode): void { separator="," :model-value="node.data.getObligatedExtensionList()" @update:model-value="node.data.setObligatedExtensionList($event)" + @keydown.enter="() => null" v-tooltip="t('views.projects.structureChecks.obligatedExtensions')" >