Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADM-928 [frontend]: fix dc issues and implement the retry function #1441

Merged
merged 10 commits into from
May 13, 2024

Conversation

Leiqiuhong
Copy link

Summary

ADM-928 [frontend]: fix dc issues and implement the retry function

Before

Description

Screenshots
If applicable, add screenshots to help explain behavior of your code.

After

Description

Screenshots
If applicable, add screenshots to help explain behavior of your code.

Note

Null

Copy link

codacy-production bot commented May 13, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (4a6096a) 7210 7210 100.00%
Head commit (1b02ea8) 14444 (+7234) 14444 (+7234) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1441) 44 44 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more

Copy link

Hi @Leiqiuhong! 👋
Thank you for submitting a pull request! We appreciate your contribution and will review your changes as soon as possible.

@PengxiWPix PengxiWPix self-requested a review May 13, 2024 03:28
@weiraneve weiraneve self-requested a review May 13, 2024 03:32
Copy link

@mrcuriosity-tw mrcuriosity-tw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other looks good to me.

Copy link

Copy link

Quality Gate Passed Quality Gate passed for 'au-heartbeat-heartbeat-frontend'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@Leiqiuhong Leiqiuhong merged commit be57951 into main May 13, 2024
61 of 62 checks passed
@Leiqiuhong Leiqiuhong deleted the ADM-928 branch May 13, 2024 06:19
Copy link
Collaborator

@guzhongren guzhongren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Leiqiuhong some comments for this PR

Comment on lines +6 to +8
boardInfoError?: boolean;
pipelineInfoError?: boolean;
pipelineStepError?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is/hasBoardInfoError......
why it is ?? the default value is true or false when not give the specific value when implamentation

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is something really wrong with the name. But the value needs to be '?', so that the subsequent assignment will be more convenient

const stepNumber = useAppSelector(selectStepNumber);
const backgroundColor = stepNumber === 1 ? theme.palette.secondary.dark : theme.palette.common.white;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 what does it mean?
give it a meaningful name, and refactor the belowe one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants