This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 5ba8d0af0 fix(config-ui): adjust the wording for github data scope
(#5437)
5ba8d0af0 is described below
commit 5ba8d0af05608ea05e6e89fa152cf1b01221aca6
Author: 青湛 <[email protected]>
AuthorDate: Mon Jun 12 15:38:12 2023 +0800
fix(config-ui): adjust the wording for github data scope (#5437)
* chore(config-ui): remove console.log from connection detail
* fix(config-ui): adjust the wording for github data scope
---
config-ui/src/index.css | 3 ---
config-ui/src/pages/connection/detail/index.tsx | 2 --
config-ui/src/plugins/register/github/config.tsx | 9 +++++----
3 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/config-ui/src/index.css b/config-ui/src/index.css
index da56372db..772571c48 100644
--- a/config-ui/src/index.css
+++ b/config-ui/src/index.css
@@ -51,17 +51,14 @@ h3 {
h4 {
font-size: 16px;
- font-weight: 400;
}
h5 {
font-size: 14px;
- font-weight: 400;
}
h6 {
font-size: 12px;
- font-weight: 400;
}
ul {
diff --git a/config-ui/src/pages/connection/detail/index.tsx
b/config-ui/src/pages/connection/detail/index.tsx
index 9ed6548ac..76e3860f2 100644
--- a/config-ui/src/pages/connection/detail/index.tsx
+++ b/config-ui/src/pages/connection/detail/index.tsx
@@ -78,8 +78,6 @@ const ConnectionDetail = ({ plugin, connectionId }: Props) =>
{
setType(undefined);
};
- console.log(data);
-
const handleShowTips = () => {
setTips(
<div>
diff --git a/config-ui/src/plugins/register/github/config.tsx
b/config-ui/src/plugins/register/github/config.tsx
index e765d53c9..d04c00cc3 100644
--- a/config-ui/src/plugins/register/github/config.tsx
+++ b/config-ui/src/plugins/register/github/config.tsx
@@ -98,13 +98,14 @@ export const GitHubConfig: PluginConfigType = {
},
dataScope: {
millerColumns: {
- title: 'Repositories *',
- subTitle: 'Select the repositories you would like to sync.',
+ title: 'Select Repositories *',
+ subTitle: 'You can either add repositories by searching or selecting
from the following directory.',
firstColumnTitle: 'Organizations/Owners',
},
search: {
- title: 'Add repositories outside of your organizations',
- subTitle: 'Search for repositories and add to them',
+ title: 'Add Repositories by Searching',
+ subTitle:
+ 'If you would like to add repositories outside of your organizations,
you can add them through this method.',
},
},
scopeConfig: {