inspirehep / inspire-next

The INSPIRE repo.
https://inspirehep.net
GNU General Public License v3.0
59 stars 69 forks source link

Suggestion form #924

Closed jmartinm closed 6 years ago

jmartinm commented 8 years ago

Current HEP suggestion form uses invenio-deposit which has been deprecated.

We need to port it to an approach similar to how the author update/addition form works.

Forms will be generated using the existing wtforms and with the forms module then a workflow can run on form submission.

As the content of the form will not be saved anymore in the database, we should keep the values in the user session so that reopening the form after accidentally navigating away still keeps the values.

kaplun commented 8 years ago

What about the deposition dashboard? Will it be possible to let the user see what she submitted in the past? (even things that haven't been approved as records)

jalavik commented 8 years ago

AFAIK, dashboard is not part of this yet. For the first iteration we may not need it - we can check how many accessed https://labs.inspirehep.net/submit/literature to check if it is already widely used. It would be nice to have though, and could be queried by getting all workflow objects for the current user id.

kaplun commented 8 years ago

Right! So should the need arise, we are going to have all the necessary number and references in the workflow models. Perfect.

jalavik commented 8 years ago

This is mostly done now I guess? Apart from the user session. Perhaps we make a new issue?

jmartinm commented 8 years ago

This is mostly done now I guess? Apart from the user session. Perhaps we make a new issue?

Yes.