-
Notifications
You must be signed in to change notification settings - Fork 501
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
2 Issues: 1. Manage Server: Gray out buttons when exporting or deleting sets; 2. Manage Clients: Reloading the page during a large delete is an issue. #3296
Comments
How about I add this to the text in the confirmation popup - "This may take a while, depending on the amount of harvested content. Do not reload the page while the delete is in progress". |
OK, so just to clarify... We appear to be talking about 2 different things here... My suggestion above was for the issues you described related to deleting a Client with lots of harvested content. Yes, I feel we could get away with somewhat of a Band-aid solution of adding a warning to the delete confirmation. (actually, I no longer think refreshing the page killed that delete; it looks like it legitimately took about 40 min. the second time around; but regardless, this is a potential usability issue). I'll go ahead and add that warning now. But the subject of the ticket still talks about Sets. And I feel that this is something I need to address in the release as well... As in, yes, I should be graying out those buttons while the set is being updated/deleted... For the sake of consistency between the 2 pages, if nothing else. Even though deleting a set, even a large one, is never going to take as long as deleting that harvested prod. dataverse. (a linear set of simple objects vs. a complex tree of objects in the database). I believe I can address this fairly easily tomorrow. |
@landreev will update the message about not navigating from the page. He will also update the sets and client page so that the greying out happens. |
Checked in an update for part 1, sets page. ALTER TABLE OAISET ADD COLUMN DELETED BOOLEAN; (note that this update does NOT need to go into the db upgrade script - because this database object is new in 4.5) Deleting a large existing set, such as the all-prod set on vm5, should be an interesting test. |
@mheppler |
@kcondon |
@landreev -- I am not sure we want to say "Success! – Selected harvesting set is being deleted." The set is either successfully deleted or the intended action wasn't a success. |
@mheppler But yes, let's just drop the word "success" - and let it just say "set is being deleted". |
Here's to Success! |
another db update: ALTER TABLE HARVESTINGCLIENT ADD COLUMN DELETED BOOLEAN; Just checked in the code, for the client. |
OK, this looks good, thanks! |
@mheppler |
(ok, I did change the "delete in progress" messages to "info" ) |
We gray out buttons when deleting a client and provide a spinner if it takes a while but when deleting a really large client, such as when harvesting all of IQSS, there is not much feedback as to progress or how long it may take. Additionally, if you refresh the page or move away and come back, the grayed out status and spinner disappears and it is not clear how or when it may finish. Also, not much info in server log on status so can't see how far along it is.
Update: it appears that refreshing the page halts the delete in progress.
The text was updated successfully, but these errors were encountered: