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

convert workflowCodeRepository field into a clickable link #10441

Merged
merged 7 commits into from
Apr 11, 2024

Conversation

kmika11
Copy link
Contributor

@kmika11 kmika11 commented Mar 28, 2024

Add href tag to display url in computational workflow metadata block

What this PR does / why we need it: Adds href tag to the computational workflow tsv file to properly display and link the url required in the External Code Repository URL field.

Which issue(s) this PR closes:

Special notes for your reviewer: Redid #10439 on new branch and fixed white space changes.

Suggestions on how to test this:

Does this PR introduce a user interface change? If mockups are available, please link/include them here: Makes link clickable on dataset page.

Is there a release notes update needed for this change?:

Additional documentation:

kmika11 added 3 commits March 27, 2024 16:37
Add href tag to display url in computational workflow metadata block
Added href tag to "displayFormat" field in computational workflow metadata block tsv file
@pdurbin pdurbin changed the title 10339 workflow convert workflowCodeRepository field into a link Mar 28, 2024
Added release notes for 10339 update
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

A little feedback.

Clarified that link is now clickable.

Co-authored-by: Philip Durbin <[email protected]>
@pdurbin pdurbin changed the title convert workflowCodeRepository field into a link convert workflowCodeRepository field into a clickable link Mar 28, 2024
@jggautier
Copy link
Contributor

jggautier commented Mar 29, 2024

@kmika11 How'd you resolve those white space issues? Did you make the changes in a Google Sheet, save the sheet as a TSV and use that?

@kmika11
Copy link
Contributor Author

kmika11 commented Mar 29, 2024

I "copied raw file" from github https://github.com/IQSS/dataverse/blob/develop/scripts/api/data/metadatablocks/computational_workflow.tsv and pasted into a text editor and made the edit there before saving to a .tsv. But, I bet the google sheet strategy would work too. As long as you don't open it in a spreadsheet software (like excel) to make the edits

@cmbz cmbz added the Size: 0.5 A percentage of a sprint. 0.35 hours label Apr 4, 2024
@qqmyers qqmyers self-assigned this Apr 10, 2024
@qqmyers
Copy link
Member

qqmyers commented Apr 10, 2024

As is, it looks like the PR both makes the URL into a link and adds quotes around it:
image
Is that as intended or should the quotes be removed?:
image

@kmika11 - is this a question for you or someone else?

@pdurbin
Copy link
Member

pdurbin commented Apr 10, 2024

I don't think we want the quotes. Good catch, @landreev

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

Question about ""

@qqmyers qqmyers merged commit 65d45b5 into IQSS:develop Apr 11, 2024
0 of 2 checks passed
@pdurbin pdurbin added this to the 6.3 milestone Apr 11, 2024
@cmbz cmbz added the GREI 6 Connect Digital Objects label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GREI 6 Connect Digital Objects Size: 0.5 A percentage of a sprint. 0.35 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Computational Workflow metadata block bug: links don't link
6 participants