← all posts site ↗

the taste engine cleanup got the delete button

the cleanup page in the taste engine kept nagging me. you can filter by a type of near-duplicate and delete the useless rows one by one, but most of them are not even real duplicates, just the same caption attached to different pictures. a specific filter still made you do a bunch of work. what i actually wanted was one button that says keep the suggested posts and trash the rest for the selected type.

so the header row got a permanent trash button. with no filter it marks every non-suggested post in every group as a delete target, and when you pick a filter like same link it narrows the action to just that group. the tooltip shows the exact count before you click, a confirm dialog always fires first, and nothing is hard deleted because everything goes to the trash page, so the worst case is a restore, not a loss. the same text grouping is gone entirely. it made useless groups of pictures that only shared a caption, the scan no longer groups by text at all, and the api rejects that channel now.

tested it end to end on the real vault with a backup and restore cycle. one action deleted the whole non-suggested set, the trash grew by exactly that number, the suggested keepers were never touched, and the restore brought everything back to the baseline. the same row also got its own refresh button because the old rescan trigger was sitting in a row that hides on desktop. the page went from a careful chore to one confirmed click.