Repository navigation
Restore: ART profiles in batch restore; Uninstalled skips mirrors and failed app lists (#39, #40) - #49
Merged
Conversation
…nd a failed app list (VD171#39, VD171#40) - profiles was missing from BITEMS_ORDER, so a batch restore never offered or restored ART profiles. - Batch delete confirm shows the total size when it is known. - Uninstalled no longer picks Mirror backups (no checkbox, and batch actions do not handle them) and selects nothing when list-apps fails instead of selecting every backup. - item_profiles gives single restore a readable label. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
This was referenced Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Fixes two gaps behind #39 and #40.
#39, batch restore options. Batch restore already opens the same options dialog as single restore, and
restore-batchrestores only the types each backup has. Butprofileswas missing fromBITEMS_ORDER, so a batch never offered ART profiles and, since the UI always sendsitems, never restored them. Single restore showed the raw keyprofilesbecause there was noitem_profilesstring.#40, backups of uninstalled apps. The Uninstalled button in the select bar:
restore-batchor delete;list-appsas "nothing installed" and selected every backup.It now skips mirrors, shows the error and selects nothing when the app list fails, and returns its promise. The batch delete confirm shows the total size when it is known, so cleaning up shows what it frees.
New keys
item_profilesandconfirm_delete_n_sizeare inen.js,en.jsonand everylang/<code>.json.How it was tested
Not tested on a device. With the mock
ksu.execbridge fromtools/screenshots:restore-batch {..."items":["apk","data","data_de","media","profiles"]}; the dialog listed ART profiles;delete-backupcalls;list-appsshowed the error with 0 selected.node --check scripts.jspasses and everylang/*.jsonparses.