Allow an associated publication to be added on the management page for published projects #2045
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
On the landing page for published projects, we display three suggested citations:
Problem
After publication of a dataset, it is fairly common for us to receive a request to add a citation for point 2. Right now, adding the paper involves either (a) creating a new version of the dataset (burdensome) (b) or manually adding the paper via the shell (risky).
I think option (a) is still desirable, because it is best if the paper is also added as a formal reference. It is burdensome to release new versions though, and so we often end up doing (b).
What is the change introduced in this pull request?
This pull request adds a section to the project management form at http://localhost:8000/console/published-projects/SLUG/VERSION/ (e.g. http://localhost:8000/console/published-projects/demowave/1.0.0/). The new section allows a citation to a paper to be added (but not edited for now).
Example of a project with an associated publication:
Example of a project without an associated publication: