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

fix single dataset visual bugs #385

Merged
merged 5 commits into from
Jan 30, 2024
Merged

Conversation

kne42
Copy link
Member

@kne42 kne42 commented Jan 22, 2024

@Janeece
Copy link
Collaborator

Janeece commented Jan 22, 2024

@kne42 thanks for tagging me. Here's my review comments, lmk if you have questions or need more info -

#224 Feedback:

  • looks good, no comments!

#249 Feedback:

  • "Author(s)" still displaying as "Authors"
  • Affiliation row should be removed (not sure if this is part of that ticket, or if there is a separate ticket— its mentioned in the comments)

#150 Feedback:

  • Links have been added to some datasets but not others. Examples:
    • this dataset has links for cellular component but not organism or cell line
    • this dataset has links for organism & cell line (none missing for available metadata)
  • Sometimes link seems to go to generic search page, not the entry for that line/strain
  • links available on the dataset info panel are not showing up on run page info panel (should be same)

@kne42
Copy link
Member Author

kne42 commented Jan 24, 2024

  • "Author(s)" still displaying as "Authors"

This automatically changes between "Author" and "Authors" depending on how many authors are present as I brought up as an idea in a meeting, do you still prefer "Author(s)"?

  • Links have been added to some datasets but not others. Examples:

    • this dataset has links for cellular component but not organism or cell line
    • this dataset has links for organism & cell line (none missing for available metadata)

This is because we rely on separate fields in the database regarding the IDs of each organism/cell and sometimes the name is provided but not the ID. I'll double check to make sure but this might be an issue stemming from what data is populated.

  • Sometimes link seems to go to generic search page, not the entry for that line/strain

Could you give some specific examples so I can debug better please?

  • links available on the dataset info panel are not showing up on run page info panel (should be same)

Good catch! I forgot to fetch the data on the run pages 😅

@Janeece
Copy link
Collaborator

Janeece commented Jan 25, 2024

@kne42 All of your replies make sense to me. The author/authors thing is great, i wasn't expecting us to be that fancy! No need to change it, I'll update the design masterfiles.

  • Sometimes link seems to go to generic search page, not the entry for that line/strain

Could you give some specific examples so I can debug better please?

An example I found was in dataset 10004, the cell line or Strain name (NK2476) links to this page -- which appears to be a generic search/root page — idk if its actually a bug.

@kne42
Copy link
Member Author

kne42 commented Jan 25, 2024

this appears to be because the ID we were given is actually a URL to a completely different site (https://cgc.umn.edu/strain/NK2476). @uermel do we want to allow this and link to the site directly or just let it fail as is? linking to the provided site does pose potential security risks tho

I've also just confirmed with @manasaV3 that some fields have their names but no id so some entries not having links is working as intended

@uermel
Copy link
Contributor

uermel commented Jan 27, 2024

Defining strains is difficult as there is no all-encompassing database or ontology of strains. The best resources to address this are model organism specific databases and strain collections, which usually maintain ontologies or lists of common strains and curate them.

Can we whitelist urls to these hosts for the strain ID metadata field, when it is not using TaxID? I've included more collections and databases than we currently have organisms of on the portal to remain future proof.

This may be blocked by the question whether an entry is a TaxID or a URL. In order to decide that we could either make these two different metadata fields or keep it in one.

@kne42
Copy link
Member Author

kne42 commented Jan 29, 2024

given that additional requirement-setting needs to be done, are we okay merging this as-is?

cc @codemonkey800

@manasaV3
Copy link
Contributor

Can we open a new issue to track this before we merge this PR?

@kne42 kne42 merged commit 26980ca into main Jan 30, 2024
4 checks passed
@kne42 kne42 deleted the kira/fix-single-dataset-visual-bugs branch January 30, 2024 21:33
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.

[staging] Some labels in Dataset section in right panel for Single Run page are not per design
5 participants