From dde033cfd5735343a5c5f3a8265e740d799053ed Mon Sep 17 00:00:00 2001 From: ielgnaw Date: Thu, 4 Jul 2024 00:52:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=201.14=20=E5=BC=80=E5=8F=91=20(#735)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 操作记录列表根据屏幕大小自适应 * feat: 修复前端问题 * fix: 修复体验问题 * feat: 修复前端体验问题 # Reviewed, transaction id: 4961 * fix: 提交国际化 * fix: 修复体验问题 * feat: 修复前端问题 # Reviewed, transaction id: 5017 * feat: 修复前端问题 # Reviewed, transaction id: 5018 * feat: 国际化问题 # Reviewed, transaction id: 5042 * fix: 体验问题修复 * feat: 修复前端问题 # Reviewed, transaction id: 5084 * feat: 修复前端问题 # Reviewed, transaction id: 5102 * feat: 修复前端问题 # Reviewed, transaction id: 5117 * feat: 修复前端问题 # Reviewed, transaction id: 5195 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 5205 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 5206 * feat: 修复前端问题 # Reviewed, transaction id: 5227 * fix: 修复体验问题 * feat: 修复前端问题 # Reviewed, transaction id: 5345 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 5346 * feat: 修复前端问题 # Reviewed, transaction id: 5348 * fix: 体验问题修复 * feat: 修复前端问题 # Reviewed, transaction id: 5483 * fix: 修复体验问题 * feat: 修复前端问题 # Reviewed, transaction id: 5629 * feat: 前端版本日志 # Reviewed, transaction id: 5675 * feat: 【APIgateway1.13 】发布失败的日志点进去,时间超长 # Reviewed, transaction id: 5703 * fix: 修复体验问题 * feat: 修复前端问题 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 5928 * feat: 文案修改 # Reviewed, transaction id: 5951 * feat: 修复前端问题 # Reviewed, transaction id: 6015 * fix: 修复体验问题 * feat: 修复前端问题 # Reviewed, transaction id: 6094 * feat: 修复前端问题 # Reviewed, transaction id: 6095 * feat: 修复前端问题 # Reviewed, transaction id: 6197 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 6198 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 6198 , # Reviewed, transaction id: 6199 * fix: 修复体验问题 * fix: 体验问题修复 * feat: 修复前端问题 # Reviewed, transaction id: 6414 * fix: 修复体验问题 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 6617 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 6617 , # Reviewed, transaction id: 6619 * feat: 修复无法登出的问题 # Reviewed, transaction id: 6626 * fix: 体验问题修复 * feat: 修复前端问题 # Reviewed, transaction id: 6763 * fix: 体验问题修复 * fix: 修复体验问题 * fix: 体验问题修复 * feat: 修复前端问题 # Reviewed, transaction id: 7052 * fix: 修复体验问题 * fix: 修复体验问题 * fix: 修复体验问题 * feat: 【必须】点击编辑后,光标应该落在输入框内,需要支持回车 与 鼠标失焦都能保存 # Reviewed, transaction id: 7357 * fix: 修复体验问题 * fix: 修复体验问题 * fix: 修复体验问题 * feature: 小窗登录iframe方式改为window.open * fix: 修复体验问题 * feat: 修复前端问题 # Reviewed, transaction id: 7793 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 7802 * feat: 修复 新建资源页面,环境配置中的超时时间是 30 秒,但添加资源时变成了 0 秒,数据未同步 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 7804 * fix: 修复体验问题 * fix: 修复体验问题 * fix: 变量管理 编辑时才显示增加删除按钮 * feat: 国际化 * feat: 国际化 * feat: 国际化 * feat: 修复插件管理问题 * feat: 退出登录加上 is_from_logout 参数 * fix: 体验问题修复 * feat: 修复前端问题 * feat: eslint 问题 * fix: 体验问题修复 * fix: 修复体验问题 * fix: 体验问题修复 * feat: 修复基本信息编辑时,弹框中维护人员不显示的问题 * feat: 修复前端问题 * feat: 修复通知中心访问地址 # Reviewed, transaction id: 9800 * feat: 修复通知中心访问地址 # Reviewed, transaction id: 9823 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 9890 * feat: 修复编辑基础信息弹框中维护人员不回显的问题 # Reviewed, transaction id: 10102 * feat: 修复编辑基础信息弹框中维护人员不回显的问题 (#703) # Reviewed, transaction id: 10102 * feat: 修复编辑基础信息弹框中维护人员不回显的问题 # Reviewed, transaction id: 10119 * feat: 全局配置开发完成 * feat: 全局配置 # Reviewed, transaction id: 10271 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 10480 * feat: 日志优化前端功能开发&&“校验并查看地址”展示的路径不全时没有tooltips&&发布记录:导航样式不对&&通过环境概览页面发布资源后,页面下方资源信息未更新 * Merge remote-tracking branch 'base/master' , # Reviewed, transaction id: 10706 * feat: 1.14功能开发 # Reviewed, transaction id: 10707 * feat: 1.14功能开发 * feat: 修复基本信息编辑时,弹框中维护人员不显示的问题;获取全局配置 BK_APP_CODE 动态获取 # Reviewed, transaction id: 10785 * feat: 1.14版本开发 * feat: 优化全局配置相关逻辑;全局配置增加本地开发 mock 接口 # Reviewed, transaction id: 10838 * feat: 1.14版本开发 * feat: 1.14开发 * feat: 1.14功能开发 * feat: 1.14 开发 # Reviewed, transaction id: 11175 * feat: 1.14 开发 (#63) * feat: 1.14 开发 # Reviewed, transaction id: 11212 --------- Co-authored-by: lhzzforever Co-authored-by: shuzhenyang Co-authored-by: 逍遥尊者 <46641918+lhzzforever@users.noreply.github.com> Co-authored-by: wklken Co-authored-by: shuzhenyang <148324706+shuzhenyang@users.noreply.github.com> --- .../src/components/resource-setting-top-bar.vue | 6 +++++- .../src/components/stage-top-bar.vue | 2 -- src/dashboard-front/src/language/lang.ts | 2 ++ .../src/views/resource/setting/index.vue | 12 +++++++----- .../views/stage/overview/detail-mode/index.vue | 14 +++++++++++--- .../stage/overview/detail-mode/resource-info.vue | 16 +++++----------- 6 files changed, 30 insertions(+), 22 deletions(-) diff --git a/src/dashboard-front/src/components/resource-setting-top-bar.vue b/src/dashboard-front/src/components/resource-setting-top-bar.vue index e4ee2edb1..3f95c36e8 100644 --- a/src/dashboard-front/src/components/resource-setting-top-bar.vue +++ b/src/dashboard-front/src/components/resource-setting-top-bar.vue @@ -2,7 +2,7 @@
{{ t('资源配置') }}
-
+
{{ t('当前最新资源') }}
@@ -76,6 +76,10 @@ const props = defineProps({ type: Boolean, default: false, }, + showNewTips: { + type: Boolean, + default: false, + }, }); // ref diff --git a/src/dashboard-front/src/components/stage-top-bar.vue b/src/dashboard-front/src/components/stage-top-bar.vue index 67c23fdc9..f28e2425b 100644 --- a/src/dashboard-front/src/components/stage-top-bar.vue +++ b/src/dashboard-front/src/components/stage-top-bar.vue @@ -135,8 +135,6 @@ const init = async (isUpdate?: Boolean, isDelete?: Boolean) => { // 获取当前环境的详情数据 await getStageDetailFun(curStage.value?.id); - // 获取当前环境的资源信息 - await mitt.emit('update-resource', curStage.value); } catch (error) { console.error(error); } finally { diff --git a/src/dashboard-front/src/language/lang.ts b/src/dashboard-front/src/language/lang.ts index 787bf5c08..753d46ec6 100644 --- a/src/dashboard-front/src/language/lang.ts +++ b/src/dashboard-front/src/language/lang.ts @@ -1355,6 +1355,8 @@ const lang: ILANG = { '暂无下载地址': ['No download address available'], '当前环境已下架,所有内容的更新均不会生效,如需重新启用,需要重新发布': ['The current environment has been taken down, and all content updates will not take effect. To re-enable, it needs to be re-released'], '环境所有配置信息的变更(包含后端服务配置,插件配置,变量配置)将直接影响至线上环境,请谨慎操作': ['Changes in all configuration information of the environment (including backend service configuration, plugin configuration, variable configuration) will directly affect the online environment, please proceed with caution'], + '修改环境的配置信息(含后端服务配置、插件配置、变量配置)后,会': ['After modifying the environment configuration information (including back-end service configuration, plug-in configuration, and variable configuration), the system will'], + '立即在线上环境生效,请谨慎操作': ['The online environment takes effect immediately. Perform this operation with caution'], '已下架': ['Taken down'], '删除环境': ['Delete environment'], '自定义超时时间': ['Custom timeout'], diff --git a/src/dashboard-front/src/views/resource/setting/index.vue b/src/dashboard-front/src/views/resource/setting/index.vue index a4848c8bb..bc2b4ecf4 100644 --- a/src/dashboard-front/src/views/resource/setting/index.vue +++ b/src/dashboard-front/src/views/resource/setting/index.vue @@ -3,6 +3,7 @@ :latest="versionConfigs.needNewVersion" :current-source="curResource" :is-detail="isDetail" + :show-new-tips="!!tableData?.length" />
{ overflow: hidden; } } +.plugin-num { + color: #3a84ff; + cursor: pointer; +} diff --git a/src/dashboard-front/src/views/stage/overview/detail-mode/resource-info.vue b/src/dashboard-front/src/views/stage/overview/detail-mode/resource-info.vue index fc8535ae1..691d713d9 100644 --- a/src/dashboard-front/src/views/stage/overview/detail-mode/resource-info.vue +++ b/src/dashboard-front/src/views/stage/overview/detail-mode/resource-info.vue @@ -161,7 +161,7 @@