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

Partially pre-fill submission form? #104

Open
cmeesters opened this issue Apr 1, 2024 · 3 comments
Open

Partially pre-fill submission form? #104

cmeesters opened this issue Apr 1, 2024 · 3 comments

Comments

@cmeesters
Copy link

Hi,

When editing a nanopub for submission, the primary DOI is given. For papers with lots of references, manually adding all those of interest is cumbersome. Wouldn't it be a better way to pre-fill the form with every citation (DOI and a few words of the cited paper's title), such that adding the meta-information is straightforward?

Cheers
Christian Meesters

@tkuhn
Copy link
Contributor

tkuhn commented Apr 2, 2024

Hi Christian,

Thank you for your input.

Can you give a link to the precise template that you are refering to?

In general, having forms prefilled based on external APIs would be a very helpful feature indeed. So far, external APIs can only be used for autocomplete in dropdowns. Filling in larger parts of a form is more powerful but also more complex, so such a feature would not be trivial. But worth looking into for sure.

Regards,
Tobias

@cmeesters
Copy link
Author

Hi,

Hm, I was introduced to nanopubs a few days ago during a retreat and think(!) it was this one: https://nanodash.petapico.org/publish?8&template=https://w3id.org/np/RAX_4tWTyjFpO6nz63s14ucuejd64t2mK3IBlkwZ7jjLo

I hope this helps.

so such a feature would not be trivial.

Although I am not familiar with the source code (and I do not have the time for another project) - I sympathise with it.

Cheers
Christian

@tkuhn
Copy link
Contributor

tkuhn commented Apr 3, 2024

OK, thanks. I think that's a very good feature request. This could be useful for a bunch of other situations. The tricky part is how to find a general solution that works for a large range of them and is configurable in the template.

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

No branches or pull requests

2 participants