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

#313: Adds delete button to PubMed articles in GDMs with no evidence #2092

Open
wants to merge 41 commits into
base: dev
Choose a base branch
from

Conversation

h-tong
Copy link
Contributor

@h-tong h-tong commented Dec 9, 2019

Steps to Test #313

  1. Begin curation of a GDM
  2. Add a new PMID with the "Add New PMID" button on the left panel of the GDM
  3. Expect to see a delete button appear in the center PMID panel next to the "PubMed" button
  4. Click the delete button and expect the PMID to be removed and to be navigated to the first article in the GDM or none if there are no other articles in the GDM
  5. Try adding evidence or article notes and expect the delete button to be hidden.
  6. Delete all evidence and article notes and expect the delete button to be shown again.

Note: This branch is branched from #2025

Howard Tong and others added 29 commits August 19, 2019 10:19
@markmandell markmandell self-requested a review January 10, 2020 19:15
@@ -91,6 +91,47 @@
"title": "Affiliation",
"description": "The affiliation this annotation is associated with.",
"type": "string"
},
"articleNotes": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have to update schema version here? Saw that this schema is liked to curatorHistory, not sure if we forgot or if it's not necessary due to the link.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think you're right, the version should be updated. I feel like I purposefully left it unchanged for a reason, but I may have just forgotten. I'll add it in.

@@ -14,7 +14,7 @@
],
"properties": {
"schema_version": {
"default": "3"
"default": "5"
Copy link
Contributor

@markmandell markmandell Jan 14, 2020

Choose a reason for hiding this comment

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

Should schema version be "4" here? If not, let me know!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is 5 because this is branched off of the pubmed notes branch. The other branch upgrades to 4 and this branch upgrades to 5.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sweet, thanks for clarifying!

Copy link
Contributor

@markmandell markmandell left a comment

Choose a reason for hiding this comment

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

Looks good to me! Will wait for that small schema change before approving 👍

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.

None yet

2 participants