-
Notifications
You must be signed in to change notification settings - Fork 451
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
Redesigned Dashboard & Workflow - Redirect rules #10670
Comments
@asmecher Hi Alec, For author we do have following change And for editors: At first I intended to change all places to just point to the new location, including emails and notifications. But feels bit risky to rely on the new url with query parameter long term. For example if we eventually decide to have also dedicated page for workflow in future, it would be difficult to introduce another redirect. So I was thinking that maybe it would be nice to keep dedicated url for submission workflow page. I could just change the links that are directly in our UI to avoid unnecessary redirect, but keep the old urls for the notifications&emails. What you think? |
The There is also a close parallel when looking at Github Projects: try browsing to a project (e.g. https://github.com/orgs/pkp/projects/32/views/1) then opening an individual issue. The URL will change to something containing the issue's information as a query parameter, e.g. https://github.com/orgs/pkp/projects/32/views/1?pane=issue&itemId=33134637&issue=pkp%7Cpkp-lib%7C7495. This preserves both the page's real URL (the project) and the more specific item's view as a query parameter. I trust that this is a good decision. If it comes down to it and we do later need to redirect, we can pretty easily write a handler to manage it; we already have some examples of that, e.g: In short, I don't think what you're proposing is problematic, but feel free to use a landing URL and a redirect if it makes you feel more comfortable. Personally I would suggest just using query parameters. |
@asmecher Also having older url in some places can be confusing for devs - and probably considered as missed update. Going with updating 'all urls' I was able to identify in the codebase. @jonasraoni Hi Jonas, could you please have a look? Its quite tricky to test all these individual changes - so second pair of eyes could greatly help with reducing any slips. Thank you! |
@jardakotesovec Wondering about incomplete submissions. If there was a /workflow/access/46/1 and submission 46 is an incomplete. Should it go to the workflow page? When you click on view it redirects to One other one I found was if you go deeper into a submission from 3.4 with a publication section like Galley it doesn't open up the equivalent for example : /workflow/index/6/5#publication/galleys doesn’t open up the right workflow -> /dashboard/editorial?workflowSubmissionId=6¤tViewId=assigned-to-me&workflowMenuKey=workflow_5#publication/galleys |
Here are the tests I tried based on the requirements in this ticket. I also asked @pmangahis if there were any popuplar links I could use. Test Case Overview
|
Also suggested testing reviewer request URLs that are included in the Reviewer invitation email. Submission URL: https://ojs33.workshop.publicknowledgeproject.org/index.php/JIW/reviewer/submission?submissionId=387 |
@kaitlinnewson we talked about if there was a route list. If you could share one of those that would be great. I would like to alert @mreiko that to me this presents a bit of a risky change and I'm not sure how to triage this. |
/workflow/access also does not handle incomplete submission and I think thats fine, because this could only happen if the user manually changes the submission id in the url. Otherwise he should not get such url to the workflow for incomplete submission
I would suggest to consider this as minor inconvenience and keep it simple - as they can easily select the section in the menu and than update bookmark. |
Redirect rules
Adjusted places in UI:
Already adjusted places for new dashboard urls
Additional changes
ojs: pkp/ojs#4583
ui-library: pkp/ui-library#476
pkp-lib: #10782
The text was updated successfully, but these errors were encountered: