MuntashirAkon / AppManager

A full-featured package manager and viewer for Android
https://muntashirakon.github.io/AppManager/
Other
4.29k stars 252 forks source link

"Backed up first" sort to list more recently backed up apps first #1366

Open Terrance opened 3 weeks ago

Terrance commented 3 weeks ago

Please check before submitting an issue

Describe a description of the new feature

Currently, if you enable Sort > Backed up first, apps are effectively grouped into "backed up" and "not backed up", then sorted alphabetically. It's hard to use this list to find apps that have a backup but from a long time ago, and therefore could do with an updated one -- I have to scan through the "Latest backup" text on each entry.

Describe the solution you'd like

It would be useful, either as a separate sort or a replacement to this one, if the "backed up" section was sorted by the date when the most recent backup was taken (so that the list goes from most recently backed up, to least recently backed up, to not backed up at all).

Describe alternatives you've considered

A filter for "not backed up in the last $time" could also work, but would probably require some form of UI to select the amount of time, which doesn't fit so well with the simplicity of checkbox sort/filter options.

Additional context

No response

MuntashirAkon commented 2 weeks ago

I don't think it makes sense to add a sorting option for it since this is a very specific case. But the filtering actually make sense which is part of #321. In fact, you can already do that in the Finder page which is available in the debug builds only (it's still pre-alpha).

Terrance commented 2 weeks ago

Does pre-alpha mean it's not in any of the GitHub (pre-)releases, i.e. I need to build my own from a branch? I've downloaded the latest beta which (ignoring other issues I've noted elsewhere) doesn't appear to contain it, the previous alpha claims to have expired on launch, and I can't see an obvious PR/branch for this.


To add some context to the request: I tend to grab as much backup coverage as possible before OS upgrades, but I don't necessarily need to set a backup of everything going (which is slow, and also requires multiple multi-selects as there seems to be a limit on how many you can pick at once). Many of my apps are configure-once (and left to run in background / don't generate data of their own) or have their own backup/restore solutions. My workflow is therefore to grab backups of apps known to have data and not their own backups, plus a refresh of anything older than a few months.

I'd also argue the "Backed up first" sort as it stands is a duplication of the "With backups" and "Without backups" filters (if you're using it, you're probably interested in one or the other anyway), whereas extending it to sort by backup time makes it a more useful standalone feature. It may also be worth considering a sort by just the backup date rather than time, and then continue to sort alphabetically for apps last backed up on the same day.