immich icon indicating copy to clipboard operation
immich copied to clipboard

feat: tag cleanup job

Open jrasm91 opened this issue 1 year ago • 3 comments
trafficstars

  • Add a job to remove empty tags
  • Add a button in the UI to manually run a few different clean up jobs
Light Dark
image image
image image
image image

jrasm91 avatar Sep 13 '24 20:09 jrasm91

I find the button Create job confusing. Maybe we can have a Clean up job card with three buttons corresponding to the three jobs we have here?

alextran1502 avatar Sep 14 '24 02:09 alextran1502

Maybe. I think there are plans to add more manual jobs and potentially trigger all jobs to be run through a separate interface like this. I'm open to different UX though.

The current problem is that we only have two options - force=true or force=false - and not all of our jobs work with just that option.

Some examples:

  • all the clean up jobs
  • metadata extraction just needs to be run on videos
  • any job just needs to run on assets processed after a certain date
  • changing between thumbnail formats for one thumbnail type doesn't need to regenerate everything

Maybe we can work towards separating the queue stats from the way we queue jobs and the types of jobs we can queue.

jrasm91 avatar Sep 14 '24 03:09 jrasm91

@jrasm91 sounds good, we can think of a better way of representing these new jobs in a different PR

alextran1502 avatar Sep 14 '24 16:09 alextran1502