From 194de8869e43a6c4b29c87808aae07be78698e84 Mon Sep 17 00:00:00 2001 From: Black Date: Thu, 14 May 2026 04:55:00 +0500 Subject: [PATCH] feat(panel): add 'Edit' button to tables and enhance layout (#4355) - Move 'Edit' button from dropdown to the table since it's the most used action. Only for desktop. - Increase column widths for action keys in Inbounds, Balancers, Outbounds and Routing tables. - Slightly enhance layout for consistency. --- frontend/src/pages/inbounds/InboundList.vue | 120 +++++++++++--------- frontend/src/pages/xray/BalancersTab.vue | 68 +++++++---- frontend/src/pages/xray/OutboundsTab.vue | 81 ++++++++----- frontend/src/pages/xray/RoutingTab.vue | 61 ++++++---- frontend/src/pages/xray/XrayPage.vue | 3 +- 5 files changed, 208 insertions(+), 125 deletions(-) diff --git a/frontend/src/pages/inbounds/InboundList.vue b/frontend/src/pages/inbounds/InboundList.vue index 13e64f03..db0cfa05 100644 --- a/frontend/src/pages/inbounds/InboundList.vue +++ b/frontend/src/pages/inbounds/InboundList.vue @@ -230,7 +230,7 @@ const hasAnyRemark = computed(() => const desktopColumns = computed(() => { const cols = [ sortableCol({ title: 'ID', dataIndex: 'id', key: 'id', align: 'right', width: 30 }, 'id'), - { title: t('pages.inbounds.operate'), key: 'action', align: 'center', width: 30 }, + { title: t('pages.inbounds.operate'), key: 'action', align: 'center', width: 60 }, sortableCol({ title: t('pages.inbounds.enable'), key: 'enable', align: 'center', width: 35 }, 'enable'), ]; if (hasAnyRemark.value) { @@ -571,59 +571,68 @@ function showQrCodeMenu(dbInbound) {