-
Notifications
You must be signed in to change notification settings - Fork 448
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
Ability to bulk-delete old incomplete submissions #6528
Comments
Thanks @pmangahis. Can you say a little bit more about the use-case and the steps that editors are taking? I assume that editors/managers are identifying old incomplete submissions in some way before deciding what to remove. How do they determine which ones to remove? Why do they feel they need to remove them? |
In one case the journal was doing a manual import from BePress using the QuickSubmit plugin. I think when there is an error during the submission process using QuickSubmit it still creates a record. They want to be able to remove duplicates. In the other journal, it seems that the journal has multiple pages (over 10) of incomplete submissions from what I can tell were the authors created that the JM would like to remove. |
Thanks! I think the QuickSubmit issue is probably something that we should address at its source. With the incomplete submissions, do you know if these were done by a single malicious user or spam bot? Or had they just accumulated over many years? |
I think it might be both cases for the other journal. |
We also have this issue on our installations. Journals have previously let us know that there are a lot of abandoned submissions that they need to manually delete. It's an issue on our OPS installation as well, considering that out of our 357 currently active submissions, 239 have not been touched on the last six months. |
Just to add 0.02 to this from the systems side. We've been able to clean out incomplete submissions by using the following logic:
But this does seem to work for us. We've a few clients that are very old and have a long history with OJS 2 and now have upwards of a thousand incomplete submissions accumulated over the years, so it's nice to be able to clean these out. Jason |
In addition to Jason's script suggestion above, for a use case with a smaller number of incomplete submissions - I wonder if it would make sense to bring back the old submission "Delete" button for admin accounts only (before a submission is declined)? I understand the reason for removing it for JE/JM accounts, but having an admin delete submissions quickly would be very helpful. |
Hello, Here are the designs for the the issue! The considerations taken for the designs were:
Also I do like @librariam 's suggestion of only including this option for the admin only On selecting a checkbox, the delete button becomes enabled You can select and deselect all after a checkbox has been selected This needs to be an entirely intentional action and hence an extra layer of confirmation is necessary 3.5 A confirmation message similar to 3.4 needs to be shown here as well. |
Thanks @Devika008 |
Ready for review. PRspkp-lib (main) UI library (main) submodule updates |
@taslangraham I think you're tagging the wrong Erik, it should be @ewhanson 😁 |
ha! you're right. thanks |
@taslangraham Hi Taslan, Thing is that for version 3.5 (main branch) - the submission list panel is being replaced with new UI, which is not using ListPanel anymore (#7495). At this addition can be considered once the new UI is more settled. Therefore the changes you introduced to submission list panel would work only for version 3.4 - but at this point we are not adding new functionality to 3.4 as we need to focus on finishing things off for 3.5. Sorry about that, this is a mistake on our part. |
In that case I'll also hold off on reviewing things until it's ready to move forward. Feel free to ping me again once it's time, @taslangraham. |
… for admins and authors
…eve that will make it easier for SR to interpret
ui-library PR for new dashboard - pkp/ui-library#454 @Devika008 Can you check it out on https://jarda.testing.publicknowledgeproject.org/ojs/ ? Currently it works for the admins. For authors it needs API adjustments. @taslangraham Could you look into updating the endpoint so it would be also possible to delete incomplete submissions by their author? Feel free to cherry-pick my commit with additional locales to your PR. We can clean up the locale keys once we get feedback from Devika and Israel. @israelcefrin Hi Israel, tagging you as well in case you have some suggestions on improving the accessibility of this feature. Please check out the notes below as well. Some notes:Logic
UI
Here is screenshot so its clear what part of UI we talking about: |
Nice work @jardakotesovec! I'll take a look at updating the endpoint to support Authors today. |
I've updated the original PR to support Authors deleting their incomplete submissions |
… for admins and authors
…eve that will make it easier for SR to interpret
… permission details are decided
… permission details are decided
Hello @jardakotesovec
If you follow the first option you mentioned, then you will need to alert the users through some aria-live region alert to let them know that the element has changed its function. However, it might cause some confusion. I think that the second option, separating the switcher from the button, would be an easier solution and approach for those SR users. It would even ease the burden to people with cognitive disability because you wouldn't have the option to alert them that an element changed its function unless you trigger an alert (which would become annoying and intrusive each time the element changes).
We now have access to JAWS and NVDA screen readers and can also test it. Could you please add me to the installation that is running this code? I can review it using these windows based screen readers along side VoiceOver. |
Related: #4348 |
After discussion with Devika and Alec, here are some tweaks to work on:
|
…oved accessibility
I've updated the API to allow managers to delete incomplete submissions |
My thoughts - I prefer the second option because it's more consistent. Keeping the three dots always visible makes it easier for users to understand. If the dots appear only sometimes, users might take longer to figure out why. With the dots always there, they'll click it and see that the delete submission action is enabled/disabled. So in cases where they do have incomplete submissions, they'll know exactly where to go if they'd like to delete said submissions |
@taslangraham Yeah.. I was also thinking similar thing when I was writing down the second option :-). Will let @Devika008 decide whether it's worth adjusting. |
The second option is what we should go with! Taslan is right that the users would like to see consistency and not have to wonder why something is disappearing |
…no incomplete submission is listed
Oki, updated. ui-library pr: pkp/ui-library#461 Locale keys that are used:
@taslangraham Please just check whether there are some additional locale keys that could be removed in pkp-lib and let me know once your PR is ready to be merged. |
Describe the problem you would like to solve
We've received 2 requests from hosted clients to have a multi-select option to remove incomplete submissions.
Describe the solution you'd like
Currently, JMs need to delete incomplete submissions from authors and QuickSubmit plugin.
Who is asking for this feature?
Journal Editors, Journal Manager
The text was updated successfully, but these errors were encountered: