This is an automated email from the ASF dual-hosted git repository.

klesh 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 ef06f7fae fix(config-ui): some bugs for style (#5601)
ef06f7fae is described below

commit ef06f7fae2fd9637f0fa5d6faea35b78b5349114
Author: 青湛 <[email protected]>
AuthorDate: Fri Jun 30 17:06:28 2023 +1200

    fix(config-ui): some bugs for style (#5601)
    
    * fix(config-ui): cancel the text bold in connection home page
    
    * fix(config-ui): revert icon direction in jira transformation
---
 config-ui/src/pages/connection/home/styled.ts                           | 1 +
 .../src/plugins/register/jira/transformation-fields/cross-domain.tsx    | 2 +-
 config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/config-ui/src/pages/connection/home/styled.ts 
b/config-ui/src/pages/connection/home/styled.ts
index 601ae9f42..f2a24e7d3 100644
--- a/config-ui/src/pages/connection/home/styled.ts
+++ b/config-ui/src/pages/connection/home/styled.ts
@@ -21,6 +21,7 @@ import styled from 'styled-components';
 export const Wrapper = styled.div`
   h5 {
     margin-top: 12px;
+    font-weight: 400;
   }
 
   .block + .block {
diff --git 
a/config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx 
b/config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx
index fd8fc243f..27d5c509e 100644
--- a/config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx
+++ b/config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx
@@ -71,7 +71,7 @@ export const CrossDomain = ({ connectionId, transformation, 
setTransformation }:
             <h5>Connect Jira issues and commits via Jira issues’ remote links 
that match the following pattern</h5>
             <p style={{ display: 'flex', alignItems: 'center' }} onClick={() 
=> setShowTip(!showTip)}>
               Input pattern(s) to match and parse commits and repo identifiers 
from issue remote links. See examples{' '}
-              <Icon icon={showTip ? 'chevron-down' : 'chevron-up'} style={{ 
cursor: 'pointer' }} />
+              <Icon icon={showTip ? 'chevron-up' : 'chevron-down'} style={{ 
cursor: 'pointer' }} />
             </p>
             <Collapse isOpen={showTip}>
               <img src={JiraIssueTipsImg} width="100%" alt="" />
diff --git 
a/config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx 
b/config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx
index c469fd734..6e53873f9 100644
--- a/config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx
+++ b/config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx
@@ -182,7 +182,7 @@ export const DevPanel = ({ connectionId, transformation, 
setTransformation, isOp
                 <>
                   <p style={{ display: 'flex', alignItems: 'center' }} 
onClick={() => setShowTip(!showTip)}>
                     Input pattern(s) to match and parse commits and repo 
identifiers from above commit URLs. See
-                    examples <Icon icon={showTip ? 'chevron-down' : 
'chevron-up'} style={{ cursor: 'pointer' }} />
+                    examples <Icon icon={showTip ? 'chevron-up' : 
'chevron-down'} style={{ cursor: 'pointer' }} />
                   </p>
                   <Collapse isOpen={showTip}>
                     <img src={JiraIssueTipsImg} width="100%" alt="" />

Reply via email to