From 1813c536a8a158e217f0ec4abdf9c6547b3f7c7c Mon Sep 17 00:00:00 2001 From: Calvin Lee Date: Mon, 31 Jul 2023 18:12:55 +0000 Subject: [PATCH] fix: [code-682]: ui fixes from bug bash (#254) --- web/src/components/CommitsView/CommitsView.tsx | 8 +++++++- .../RepositoryContent/FileContent/FileContent.tsx | 14 +++++++------- .../BranchesContent/BranchesContent.tsx | 1 + 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/web/src/components/CommitsView/CommitsView.tsx b/web/src/components/CommitsView/CommitsView.tsx index 17a3053a1..0ae0e5e09 100644 --- a/web/src/components/CommitsView/CommitsView.tsx +++ b/web/src/components/CommitsView/CommitsView.tsx @@ -62,7 +62,13 @@ export function CommitsView({ return ( - + {row.original.author?.identity?.name} diff --git a/web/src/pages/Repository/RepositoryContent/FileContent/FileContent.tsx b/web/src/pages/Repository/RepositoryContent/FileContent/FileContent.tsx index d28ad2c4f..0a3679321 100644 --- a/web/src/pages/Repository/RepositoryContent/FileContent/FileContent.tsx +++ b/web/src/pages/Repository/RepositoryContent/FileContent/FileContent.tsx @@ -199,13 +199,13 @@ export function FileContent({ style={{ padding: '5px' }} width="145px" items={[ - { - hasIcon: true, - iconName: 'arrow-right', - text: getString('viewRaw'), - onClick: () => window.open(rawURL, '_blank') // TODO: This is still not working due to token is not stored in cookies - }, - '-', + // { + // hasIcon: true, + // iconName: 'arrow-right', + // text: getString('viewRaw'), + // onClick: () => window.open(rawURL, '_blank') // TODO: This is still not working due to token is not stored in cookies + // }, + // '-', { hasIcon: true, iconName: 'cloud-download', diff --git a/web/src/pages/RepositoryBranches/RepositoryBranchesContent/BranchesContent/BranchesContent.tsx b/web/src/pages/RepositoryBranches/RepositoryBranchesContent/BranchesContent/BranchesContent.tsx index 5a5c5056a..c98bdce2b 100644 --- a/web/src/pages/RepositoryBranches/RepositoryBranchesContent/BranchesContent/BranchesContent.tsx +++ b/web/src/pages/RepositoryBranches/RepositoryBranchesContent/BranchesContent/BranchesContent.tsx @@ -137,6 +137,7 @@ export function BranchesContent({ repoMetadata, searchTerm = '', branches, onDel return (