Repository navigation
Conversation
ash-iir
force-pushed
the
telegram-restore-ui
branch
2 times, most recently
from
November 19, 2026 10:53
a34ed1a to
bfd98b8
Compare
Group the Telegram backups per app: one collapsed card per app with the icon, app name, package, backup count and newest date; tapping it opens one line per backup with its date, size, version and its own Pull / Delete. The actions wrap on narrow screens, the most recently backed-up app comes first, and a search box (app name or package) appears once the list is long. Uploads now pass the app label to mtproto-store in MTPROTO_STORE_LABEL, which stores it in the caption metadata that telegram-list already returns, so an app that is no longer installed still shows its name, with a small Not installed badge. The file name format is unchanged. Older mtproto-store builds ignore the variable; the list then falls back to the label of a local backup, else the package. Three new strings (ui_tg_n_backups, ui_tg_latest, ui_tg_not_installed) in every language; the search reuses search_apps and ui_job_no_match. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
ash-iir
force-pushed
the
telegram-restore-ui
branch
from
November 19, 2026 11:04
bfd98b8 to
32b1895
Compare
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
Redesigns the Restore from Telegram dialog and shows app names for every Telegram backup.
Before, each Telegram backup was one row showing only the bare package name, and long package names ran under the Delete / Pull buttons, so rows overlapped and several backups of the same app looked identical.
Now the list is grouped per app:
<pkg>__<ts>_<vc>.vdb.tarname), size, version code, a Latest badge, and its own Delete / Pull<details>/<summary>, so keyboard, screen reader and RTL work as in the other collapsible groupssearch_apps/ui_job_no_match)Checklist
lang/<code>.jsonandREADME.<code>.mdwere updated. (three new strings,ui_tg_n_backups,ui_tg_latestandui_tg_not_installed, inen.js,en.jsonand every<code>.json; no README text changes)git commit -s).tools/screenshotsharness mocks (fictional backups and mockedtelegram-listoutput, 412x915, en + ar), which is also where the screenshots come from.App name in the caption
The archive name only carries the package, so before this the list could not name an app that is not installed. The name now travels in the Telegram caption instead of the file name, which keeps the
<pkg>__<ts>_<vc>.vdb.tarformat (and its parsing intelegram-pull) untouched and avoids making long names longer.worker.sh: the Telegram upload setsTG_LABELto the app label (skipped when it is just the package), andtg_cmdpasses it asMTPROTO_STORE_LABEL.labelin the caption metadata thatlist-remote(and sotelegram-list) already returns: Optional upload label in the caption metadata (MTPROTO_STORE_LABEL) VictorGabriel7Dev/mtproto-store#1.scripts.js: label order is installed app, thenmeta.label, then a local backup, then the package.Either PR can be merged first. An mtproto-store build without that PR ignores the environment variable, and the UI simply has no
meta.labelto read, so it falls back as before. Older uploads keep working; new uploads get the name once both are in.