From 47607ea3e3d134c88756c420ba60023328bc0179 Mon Sep 17 00:00:00 2001 From: Allen Zhang <37892968+zhangtao25@users.noreply.github.com> Date: Wed, 24 Jul 2024 01:38:06 +0800 Subject: [PATCH] feat: update --- packages/canyon-platform/locales/cn.json | 2 +- packages/canyon-platform/postcss.config.js | 2 +- .../canyon-platform/src/pages/index/projects/[id]/index.tsx | 5 +---- .../{tailwind.config.js => tailwind.config.ts} | 0 4 files changed, 3 insertions(+), 6 deletions(-) rename packages/canyon-platform/{tailwind.config.js => tailwind.config.ts} (100%) diff --git a/packages/canyon-platform/locales/cn.json b/packages/canyon-platform/locales/cn.json index 44abd41e..9dfd1979 100644 --- a/packages/canyon-platform/locales/cn.json +++ b/packages/canyon-platform/locales/cn.json @@ -34,7 +34,7 @@ "report_times": "次数", "report_time": "上报时间", "max_coverage": "最大覆盖率", - "latest_report_time": "最近上报时间", + "latest_report_time": "最近上报", "latest_report_coverage": "最近上报覆盖率", "no_data": "{{msg}}个项目没数据", "total_times": "总次数", diff --git a/packages/canyon-platform/postcss.config.js b/packages/canyon-platform/postcss.config.js index 2e7af2b7..2aa7205d 100755 --- a/packages/canyon-platform/postcss.config.js +++ b/packages/canyon-platform/postcss.config.js @@ -3,4 +3,4 @@ export default { tailwindcss: {}, autoprefixer: {}, }, -} +}; diff --git a/packages/canyon-platform/src/pages/index/projects/[id]/index.tsx b/packages/canyon-platform/src/pages/index/projects/[id]/index.tsx index 0496a7d2..2beec97c 100755 --- a/packages/canyon-platform/src/pages/index/projects/[id]/index.tsx +++ b/packages/canyon-platform/src/pages/index/projects/[id]/index.tsx @@ -358,7 +358,7 @@ const ProjectOverviewPage = () => { {projectByIdData?.getProjectByID.pathWithNamespace} <EditOutlined - className={'ml-3 cursor-pointer'} + className={'ml-3 cursor-pointer text-[#0071c2]'} style={{ fontSize: '20px' }} onClick={() => { nav(`/projects/${pam.id}/configure`); @@ -371,9 +371,6 @@ const ProjectOverviewPage = () => { <Text type={'secondary'}> {t('projects.config.project.id')}: {projectByIdData?.getProjectByID.id} </Text> - <Text className={'ml-6'} type={'secondary'}> - {t('common.language')}: {projectByIdData?.getProjectByID.language} - </Text> <Text className={'ml-6'} type={'secondary'}> {t('projects.default.branch')}: {projectByIdData?.getProjectByID.defaultBranch} </Text> diff --git a/packages/canyon-platform/tailwind.config.js b/packages/canyon-platform/tailwind.config.ts similarity index 100% rename from packages/canyon-platform/tailwind.config.js rename to packages/canyon-platform/tailwind.config.ts