ScienceCommons / api

API for interacting with Curate Science model
http://curatescience.org
MIT License
2 stars 4 forks source link

hyperlink "author & study number" for replications within the replication table #233

Open eplebel opened 9 years ago

eplebel commented 9 years ago

for e.g., for Kidd & Castano's (2013) article https://www.curatescience.org/beta/#/articles/335260, both replications, i.e. Liu et al. (2015) and Dijkstra et al. (2015) should be hyperlinked to their own article page as follows:

Liu et al. (2015) Dijkstra et al. (2015)

This is to allow users to directly access the abstract for replication studies (which are often unpublished and hence contain a link to a replication report), instead of having to manually search for article.

alexkyllo commented 9 years ago

Added hyperlink to article page on replication study author/year and pushed to staging.

eplebel commented 9 years ago

Great, thanks for the quick turn around on this.

Actually, can you merge this hyperlink change and the R-script functionality into production (it's fine for now that we can only run R-script files hosted on Amazon S3)? I was going to do this myself, but was confused about why there's a revert commit (https://github.com/ScienceCommons/www/commit/50aa6004ed09cd9dd4a94ffc507cc4864e99cd2c).

eplebel commented 8 years ago

just noticed that the hyperlinking of author & year within replication table seems to add an extra "beta" within the link:

e.g., the "Donnellan et al. (2015) Study 1" link from the Bargh & Shalev page is https://www.curatescience.org/beta/beta#/articles/60045 instead of https://www.curatescience.org/beta#/articles/60045

alexkyllo commented 8 years ago

Is this still happening? I can't reproduce.

eplebel commented 8 years ago

i also can't seem to be able to reproduce it.

i'll close the issue for now, and keep an eye open in case i see it happening again

eplebel commented 8 years ago

ok it just happened again and can be seen here (though i'm not sure how this came about):

go to this article and look at the hyperlink of the first replication study (R. Ebersole et al. (2015)) and as you should see it has the double "beta" https://www.curatescience.org/beta/beta#/articles/335254