-
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
Minor Entry Type Changes - SEAB-5365 #1761
Conversation
Thanks for catching this oversight, we should definitely implement a new endpoint. Do you happen to know if this affects apptools as well? |
This doesn't affect apptools because it uses the workflow component. Example app tool with ORCID author: I think Kimberley's referring to the legacy, non-GitHub app tools, in which case, legacy tools can't have ORCID authors because the ORCID authors are provided through the .dockstore.yml which is why legacy tools don't have an equivalent For the legacy tools, I would recommend removing the |
Yep, exactly right, I probably should have been more specific when I said "workflow type" -> meaning entries that use workflow components (AppTools, Notebooks, Services)
I agree in removing the column, let me know if any oppositions! |
</span> | ||
<span *ngIf="entryType === EntryType.Notebook" data-cy="notebook-icon"> | ||
<img src="../../assets/svg/notebook-circle.svg" alt="notebook icon" /> | ||
<span [attr.data-cy]="entryType + '-icon'"> |
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.
This is much better!
SonarCloud Quality Gate failed.
|
Description
Fixes some minor entry type inconsistencies, some workflow styles were spilling into AppTool and Notebooks, and tools were missing some styles that workflows had. Now from the UI you really can't tell the difference between AppTools and a regular tool.
Ink Bars:
Ink bar colours for AppTools notebooks etc. would use the workflow green colour, altered for AppTools, Notebooks and Services to use their corresponding tab group colours (i.e. blue, purple, and orange):
Mat-Dividers:
Mat-cards
in the info tab for Tools were missingmat-dividers
:Authors:
Workflows and AppTools have an author table like this, but tools do not have this table when it should:

Tools Before:

Tools After:

The
mat-card-title
was also changed from "Tag Information" to "Tool Version Information" to match AppTools, Services, Notebooks and Workflows.NOTE: For Workflow type entries, the ORCID ID for an author is retrieved using the workflows/{workflowId}/workflowVersions/{workflowVersionId}/orcidAuthors endpoint. There doesn't seem to be an equivilant endpoint for tools, so the ORCID ID column in the table displays empty always. This isn't a loss of functionality because we didn't display ORCID IDs previously, but if we didn't want to display an empty column we could remove
orcid_id
from thedisplayedColumns
array until we implement this endpoint or just leave as so, let me know your opinions!Example with

orcid_id
column hidden:Review Instructions
Ink bar colours should be the correct colour when viewing an entry, ie. green - workflows, blue - tools, purple - notebooks, orange - services. Tools should have the new author table and mat-dividers under the titles when viewing the info tab.
Issue
SEAB-5365
Security
If there are any concerns that require extra attention from the security team, highlight them here.
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