cloud-py-api / mediadc

Nextcloud Media Duplicate Collector application
https://apps.nextcloud.com/apps/mediadc
GNU Affero General Public License v3.0
94 stars 7 forks source link

UI and workflow enhancements (remember toggle, show amount, next page, path, etc) #156

Open luxzg opened 1 year ago

luxzg commented 1 year ago

Description I'm currently going through 3261 matched groups, so I've been listing some stuff that would help me a LOT clearnig it all faster.

~~Amount of shown duplicate groups !!This is very important!! I know default 5 groups is to make UI snappy, but when you have 100's of duplicates, you'd rather have more on one page. Specially when each next page involves re-clicking toggle groups There could be a simple dropdown to select showing 5-10-20-50-100 (could be predefined options, as long as there's some with larger numbers)~~ (ignore, just found it under settings, I was looking at - wrong settings :-/ )

Toggle groups Every time I click on next page I have to click Toggle groups, why not remember it, or add a setting to remember the toggle status

~~Show path Yes, when I mouseover image, I get full path, but if I could have eg 50 groups open, and if I could see paths under/over/beside thumbnails I could easily spot if I have a whole folder full of dupes (or duplicated folder in itself)~~ (ignore, just found it under settings, I was looking at - wrong settings :-/ )

Refresh count Currently when I spot a folder with dupes, I delete folder in another window, then click next page button in MediaDC. But collapsed groups show titles like group #555 (3 files) , yet when I click "Toggle groups" it quickly switches to 1 file and shows just 1 thumbnail. It would be better if count was refreshed on next page load.

Next page link on bottom When you open 5 groups (toggle), you need to scroll down a little to see last groups, even on large display, and once you see all 5 are now without dupes - you need to scroll back up to click next page. Having link to next page on the bottom would be helpful. Even a link to "scroll to top" would be slightly faster than scrolling. At the moment I keep tapping Home button, but .. yeah.. 700x "Home" still takes time

Refresh display When I delete whole folder or many photos in different window, I need to go back a page, then forward a page to where I was, because there's no refresh. Well, that or refreshing browser, but that throws me to page 1, so back-forward a page is quicker. Still, having a refresh/reload button for current page would be even faster.

all of it combined Now, I get super-duper results, and I'm very very thankful! But if above would all exist right now, I could set my group display to 50 groups, with toggle always on, and paths showing. Click next page, see that first 10+ photos are all dupes and grouped in some folder, go open a folder in new tab/window, delete whole folder (after quick manual check it's all dupes), go back to MediaDC duplicate list, click refresh of current group, scroll quickly to confirm all 50 photos now have single file/thumbnail, and when I reach bottom click the "next page" link at the bottom of the list. If I've deleted folder with 500 dupes, then I just scroll all 50 again, next, scroll 50, next, and it solves 500 dupes in a minute.

Alternative, as is, is that I notice and delete folder with 500 dupes, than click back, click forward, toggle, scroll 5 down, scroll 5 up, click next page, click toggle, scroll down, scroll up, next, toggle... so many repeated clicks just to confirm dupes are gone. I'll probably just skip 100 pages, confirm last few, then re-run the job, it will be faster (and doesn't require me at the computer screen clicking). But I could save me a re-compute if I could just list more files in one page (even if rest of suggestions are ignored or discarded, that no1 request/suggestion would be a life saver in situations like mine right now!) (leaving this as a testament to my stupidity)

I'll probably stumble upon something else along the way, so I'll expand the post as needed.

Edit: Delete file "bug" When I click "Delete file" button on a single duplicate, my page numbers get messed up, I stay on same page, but suddenly that page shows thumbnails / groups that are several pages away. Going out of dupe list and back into the task, then to page I just was before deleting file then shows correct groups/images again.

LightTemplar commented 5 months ago

My I suggest also adding more options for sorting groups?

  1. by the filename of smallest/biggest file in the group
  2. by the filepath of smallest/biggest file in the group
johnnyasantoss commented 3 weeks ago

tldr: Suggested Changes:

Hey, I'm also going through a huge list of duplicates (thanks to google photos export that doesn't know how to handle symlinks). I also have a few suggestions to make. In my case, I'm trying to keep the originals instead of the low quality mp4 generated by GPhotos, so maybe adding colors to quickly identify bigger, smaller and equal size dupes would be a low-hanging fruit.

Now on the UX, when selecting an item I have to click on the three dotted button to actually see the batch action I'm looking for. It would be better to have the icon buttons show on the top bar of the group and show a description on hover. That can lead to a lot of unneeded clicks, which slow down the process of getting rid of dupes.

After deleting with the trash icon button under the item, it loads and then disappears, leading to a visual reorganization of the items (they change position, slightly), that can lead into deleting the wrong file if you are, for instance, deleting 2 out of 3 items in a group quickly (in my case, one original with a bigger size and low res dupes). It would be good to have the deleted item show as a placeholder, just to avoid visually displacing the items.

Another nice to have would be to scroll to the next group once done with the last. Always stopping on the same height, that would lead into less mouse movement and faster files manipulation.