janeway
janeway copied to clipboard
Stay with articles when moving between workflow elements
Is your feature request related to a problem? Please describe. Janeway's workflow elements seem to have been designed to keep you with an article when moving between workflow elements. The workflow logic attempts to get the appropriate URL for the article page here:
https://github.com/BirkbeckCTP/janeway/blob/ab6696fa8b3a75347ea54257aed107e3f75fa179/src/core/workflow.py#L94-L100
But the reverse matching is failing at present when moving to stages including Copyediting, Typesetting, and Prepublication. As a result you are sent to the dashboard:
https://github.com/BirkbeckCTP/janeway/blob/ab6696fa8b3a75347ea54257aed107e3f75fa179/src/core/workflow.py#L102-L104
Describe the solution you'd like Find out what's not working with handshake URLs that prevents reverse matching from succeeding and fix it.