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
Duplicate pages - "Succesfully marked for deletion" toaster showing incorrect page count. #287
Comments
The issue is that the toaster is showing the number of duplicate pages in the system rather than the number of pages just marked as deleted. So if there are nine duplicate pages, and you mark one that shows up 100 times in your library, the toaster will say that it marked nine pages for deletion. |
I had a different experience. I have ~222 duplicate pages, not sure of the distinct count. I marked one page (that appeared three times) for deletion. The toaster said that ~222 pages were marked for deletion (or unmarked depending on what I was doing). |
@bareheiny Yeah, that 222 is the number of uniquely duplicate (there's an oxymoron) pages in your library. That popup is using that number instead of the number of times the page you just marked occurs. |
@bareheiny This is fixed on develop and will show up in the next 0.6 release. Please close this when you have a chance to verify things. |
Just confirming that the change removes the reference to the page count? So now the toaster only says something like "pages successfully marked for deletion", rather than "x pages were successfully marked for deletion"? |
@bareheiny That's correct. Since the request is marking more than one page hash as deleted (and the same for the blocking code), and the response is the list of all duplicate pages, there's no easy way right now for it to decide how many of those pages were changed. |
All good. Closing now :) |
Actions:
Expected result:
The confirmation toaster should only indicate that the selected pages are to be deleted.
This also applies for unmarking. The steps are essentially the same, but select a page that was marked for deletion - the confirmation toaster will indicate that all duplicate pages were succesfully unmarked.
The text was updated successfully, but these errors were encountered: