Repository navigation
Conversation
Adds an opt-in second WebUI under module/webroot/next/ that reuses scripts.js, i18n and lang/ and keeps the same element ids, so every Classic control works the same in both interfaces. - Settings > Interface switches between Classic (default) and New. - Bottom tabs: Home, Backup, Restore, Schedule, More. - Restore shows local, Telegram, rclone, Google Drive, restic and mirror backups in one list with source/type/encrypted/pinned/tag filters and sort. - Compact progress bar; optional progress notification (off by default). - One dialog stack so a confirm always opens above its sheet. - helper.sh: bootstrap, restic-list; rclone-list mirrors flag; list-backups includes size. Existing verbs and outputs unchanged. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
…ps bar - Back: every level the user opens (a tab after the first, a dialog, the ops sheet) gets one history entry, pushed from the tap that opened it. WebView skips entries a page adds without a user gesture, so the re-armed sentinel let Back from More > Settings close the whole WebUI. One popstate handler in shell.js now closes the top dialog, the ops sheet or the last tab, in that order; a level closed by its own button drops its entry again. - Sheets: children of .modal-card no longer shrink, so long lists (folder picker, /data/adb options) scroll with the card instead of being clipped. - Keyboard: when it opens, the focused field in a sheet is scrolled back into view instead of staying under the keyboard. - Ops bar: a tap opens the full sheet only when the bar cannot show everything (several ops, or a batch's skipped/failed list). Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
…e visible rows - A finished op marks every remote source stale and, when Restore is on screen, reloads the list at once (a new Telegram/cloud backup no longer waits for the 5 minute cache). - Select mode lists local backups only, the ones batch restore and delete take; Select > All picks the rows on screen, never rows the filter chips hide. - Source updates redraw the list once per frame. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
A post from uid 0 goes out as package "root", which some ROMs (seen on OxygenOS) drop without an error, so neither the progress notification nor the start/done notices showed. npost posts through su 2000 and falls back to root when su cannot switch users. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
…hen a search finds nothing - Back in Backup or Restore select mode ends select mode instead of leaving the tab with the picks still on; leaving the tab ends it too. - Back from a main tab goes to Home, as Android apps do; sub pages still return to where they were opened. - A search with no hits shows the no-match text in Restore and in Backup > Apps instead of a blank screen. - A remote backup with no known label wraps its package name after the dots. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
- Home counters use a 2x2 grid on phones, so no language breaks a word. - Accent swatches wrap (40px) instead of hiding behind a scrollbar. - The Telegram phone field gets the input style (type="tel"). - Restore's select bar sticks under the app bar, like Backup's. - Bottom nav and ops bar hide while the keyboard is open. - Home source rows are 40px tap targets. - Row size estimates match the rows, so long lists stop jumping on scroll. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
ash-iir
force-pushed
the
ui-next-upstream
branch
from
November 28, 2026 03:31
81a6828 to
fd10ba0
Compare
…der restores - Backup > Files keeps a list of folders (Add, Enter or Browse) and sends them as paths[] in one backup. - The schedule form gets What: Apps / Files with the same folder editor. - Restore > Files lists folder backups held on Telegram that are not on the device, with Restore (pull, then the normal path restore) and Delete. - Settings gets Telegram parallel transfers (tg_parallel, 1 to 8). The backend side is in the tg-files-parallel PR; without it the old worker keeps taking a single path. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
…te; long labels - Restore select mode drops picks that a filter chip or search hides, so batch Delete and Restore act only on the backups on screen. - Restore > Files shows its empty message again after the last Telegram folder backup is removed. - Nav labels hyphenate long words instead of breaking them mid-word, and the Schedule folder row puts the path on its own line so long button labels in de and ru no longer squeeze it. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
Adds the folder, schedule and Telegram parallel keys to every lang file and translates the nx_* and interface strings that were still English copies. Only values equal to en.json were touched. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
- Restore OK stays disabled until an item is ticked: the worker reads an empty items list as everything. - Snapshot and Mirror restores offer only the overwrite confirm and the installer spoof, since their worker paths ignore test, items, SSAID and network policy, and they now pass the user. - The backup dialog opens with Dry run off. - Shared dialogs queue instead of replacing the open one, so an answer never lands in another flow; an identical pending request is dropped. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
- config-set merges maps, so a tag, note or item choice the engine removes came back on reload. Removed keys of app_items, app_tags and app_note are sent as null, which every reader treats as unset. - An identical op request already in flight shares its answer, so a double tap on Telegram Restore or System Back up starts one op. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
Restore and Files lists redraw when a new language is applied, and the Restore sources update as soon as destinations reload. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
…1#39, VD171#40) - Batch restore lists ART profiles like single restore: the engine left profiles out of BITEMS_ORDER, so a batch never restored them. - Batch delete confirm shows the total size when it is known. - Uninstalled skips Mirror backups (they have no checkbox and batch actions do not handle them) and selects nothing when the app list fails. - New interface: Uninstalled picks exactly the backups of uninstalled apps the filters show and offers to delete them; Cancel keeps the picks. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
…rings Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
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.
Adds an opt-in second WebUI. Classic stays the default and is unchanged apart from one script tag, one Settings field and one line in
scripts.js.How it works
module/webroot/next/and reusesscripts.js,i18n.js,lang/and thehelper(verb,args)contract with the same element ids, so every Classic control behaves the same in both interfaces (199/199 controls checked in the mock harness).What is in it
cmd notification postpath, off by default.Backend (additive)
helper.sh: newbootstrapandrestic-listverbs;rclone-listacceptsmirrors:true;list-backupsaddssize. Existing verbs and their default output are unchanged.worker.sh: progress notification behind the new setting.Strings
New keys in
en.js,en.jsonand everylang/<code>.json(AR, DE, RU translated, others fall back to English).Testing
sh -n,shellcheck -s sh,node --check, JSON validation, and thetools/screenshotsmock harness (shoot_ui_next.py) in EN/AR/DE, light and dark, at 360 and 412 dp, including a 400 apps / 1000 backups fixture. Not tested on a device.Round 3 (device feedback on v1.19-next2)
worker.sh): posts go throughsu 2000as the shell user and fall back to root. A post from uid 0 goes out as packageroot, which some ROMs (seen on OxygenOS) drop silently, so neither the progress notification nor the start/done notices showed.Round 4 (UI/UX audit)
Round 5 (Files and Telegram)
The backend for these is a separate PR (#48); without it the worker keeps taking the first folder only.
Round 6
Round 7
Screenshots
Classic vs New:




Restore list and nested confirm:

Happy to split this up or change anything you'd prefer done differently.