-
Notifications
You must be signed in to change notification settings - Fork 16
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
DOCK-1689: added primary indicator and icon #1664
DOCK-1689: added primary indicator and icon #1664
Conversation
Codecov ReportBase: 43.09% // Head: 40.71% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #1664 +/- ##
===========================================
- Coverage 43.09% 40.71% -2.39%
===========================================
Files 314 348 +34
Lines 9702 10589 +887
Branches 2470 2717 +247
===========================================
+ Hits 4181 4311 +130
- Misses 3469 4048 +579
- Partials 2052 2230 +178
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build issue, monitoring above comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I think there are a couple of remnants left over from your latest refactoring that I flagged, but otherwise it's ready. Thanks for dealing with all my comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the dropdown sizing!
I think you may have missed my second comment about the "Go to primary descriptor" button on the non Descriptor Files tab (below). This is the workflow I'm seeing the button on http://localhost:4200/workflows/github.com/iwc-workflows/sars-cov-2-pe-illumina-wgs-variant-calling/COVID-19-PE-WGS-ILLUMINA:main?tab=files
The Test Parameter Files and Configuration tabs have the "Go to primary descriptor" button. I don't think they should:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After addressing Kathy's comment, otherwise, looks good!
@@ -38,7 +38,7 @@ | |||
</button> | |||
</span> | |||
<span fxFlex="40"> | |||
<span *ngIf="fileTab.value.length > 10" fxLayoutAlign="center center"> | |||
<span *ngIf="fileTab.value.length > 10 && fileTab.key === 'Descriptor Files'" fxLayoutAlign="center center"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I think fileTab.key === 'Descriptor Files'
should be with your go to primary button on line 53 instead (like how you did it on line 86). Hypothetically, the Test Parameter Files tab could have more than 10 files in which case this change would not display the file name for that tab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching that!
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Description
This PR adds a primary indicator to the primary descriptor file of workflows. It also adds an icon to navigate to the primary descriptor when viewing non-primary files.
When viewing primary descriptor
When viewing non-primary file
Review Instructions
Verify the primary descriptor is correctly identified and the home icon navigates to the primary descriptor.
Issue
dockstore/dockstore#5044
dockstore/dockstore#4004
Please make sure that you've checked the following before submitting your pull request. Thanks!
npm run build
markdown-wrapper
component, which does extra sanitizationnpm audit
and ensure you are not introducing new vulnerabilities