From b0bfe124a86a6cd2f7131062478d913d22c66a36 Mon Sep 17 00:00:00 2001 From: Sominemo Date: Wed, 8 Jan 2025 18:22:59 +0200 Subject: [PATCH] Limits editor --- data/structure.json | 4 - editor.html | 1989 +++++++++++++++++++++++++++++++++++++ localization/en/data.json | 5 - 3 files changed, 1989 insertions(+), 9 deletions(-) create mode 100644 editor.html diff --git a/data/structure.json b/data/structure.json index d1f916fe..eb318742 100644 --- a/data/structure.json +++ b/data/structure.json @@ -506,10 +506,6 @@ "icon": "search", "color": "63, 81, 181", "items": [ - { - "id": "global_search", - "icon": "receipt_long" - }, { "id": "global_search_min_query", "icon": "text_rotation_none" diff --git a/editor.html b/editor.html new file mode 100644 index 00000000..d0ce2724 --- /dev/null +++ b/editor.html @@ -0,0 +1,1989 @@ + + + + + + + + + + Limits Editor + + + +
+

Telegram Limits Editor

+
+

Edit limits in your cloned Telegram-Limits folder. When you click Save – files are updated right on your + disk. No downloads required.

+
+
+

Pick Telegram-Limits Folder: Open the folder where you cloned Telegram-Limits repository.

+

Open a Folder & Download Files: Easiest option if you do not want to interact with Git. You will + be prompted to pick an empty folder on your + computer where this tool will download required files from the Telegram-Limits repository. You can + also specify the branch name to download files from. master is the default branch with + production data.

+

git clone git@github.com:tginfo/Telegram-Limits.git

+
+

+ + + +

+

+ +

+
+
+ + + + \ No newline at end of file diff --git a/localization/en/data.json b/localization/en/data.json index ae179929..f15bb646 100644 --- a/localization/en/data.json +++ b/localization/en/data.json @@ -604,11 +604,6 @@ "search": { "name": "Search", "items": { - "global_search": { - "name": "Global search results", - "hint": "", - "text": "" - }, "global_search_min_query": { "name": "Minimal query length", "hint": "for global search",