BirkbeckCTP / janeway

A web-based platform for publishing journals, preprints, conference proceedings, and books
https://janeway.systems/
GNU Affero General Public License v3.0
165 stars 65 forks source link

Let referring link specify which contact to select in contact form #4138

Open joemull opened 2 months ago

joemull commented 2 months ago

User journey

As an end user reading a press or journal website, if I am told to contact a particular staff person or editor, and I am linked to the /contact/ page to do so, I may be a bit confused if the pre-selected person is different than the person I was told to contact.

Proposed solution

Check for a query parameter like recipient=email@example.org and pass that argument into the form here:

https://github.com/BirkbeckCTP/janeway/blob/e48da784d523b1e4fde5c5b0ef8d8ef03f818fff/src/journal/views.py#L1886-L1896

Potential synergy

https://github.com/BirkbeckCTP/janeway/issues/1720

joemull commented 2 months ago

This will also help with https://github.com/BirkbeckCTP/hourglass/issues/341.