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

Prefill the deposit form from URL encoded values #1614

Open
avivace opened this issue Nov 27, 2023 · 1 comment
Open

Prefill the deposit form from URL encoded values #1614

avivace opened this issue Nov 27, 2023 · 1 comment
Labels

Comments

@avivace
Copy link
Member

avivace commented Nov 27, 2023

I've received these instructions to upload on Zenodo:

Step 2:  Go to https://zenodo.org/uploads/new?community=pv2023 
Step 3:  Upload the conference paper and fill in the metadata (see guidance at https://help.zenodo.org/docs/deposit/create-new-upload  and https://help.zenodo.org/docs/deposit/describe-records )
- Upload the file for the conference paper in PDF format.
- Resource type: select “Publication / Conference proceeding” 
- Digital Objection Identifier: Select the answer “no” 
- Publication date: Set the publication date to 2023-12-01
- Creators: Add each author of the paper and provider their ORCID and affiliations.
- Description: Copy/paste the paper abstract

It would be interesting to be able to embed these "defaults" into query parameters, so an URL can be shared already providing these values / options as selected. This could be a small subset of the deposit form, e.g.:

  • Resource Type
  • DOI needed
  • Publication date

That would lead to a share-able link like https://<RDM_BASE_URL>/uploads/new?community=pv2023&resource_type=conference&doi=false&pub_date=2023-12-01

I'm not super sure about the rest of the UI/UX details about this, such as:

  • Should the user be notified when a deposit form is being pre-filled?
    • should the pre-filled from URL-encoded params options appear different than the default values? (maybe with ? close by explaining "prefilled from..")
  • How should this option be documented/made available? E.g. how do I select some options in the deposit form and then just share the submission form in the "current" state, encoding my selections in the share-able new link?
  • Should "templates" be saved server side? E.g. instead of sharing a super long URL one could create the template, save it and share a short url with the prefilled values
  • Is this different enough to sharing drafts?
Copy link
Contributor

github-actions bot commented Feb 5, 2024

This issue was automatically marked as stale.

@github-actions github-actions bot added the stale label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant