feat: add channel edit in admin, hide subscribed channels in blocking screen

- Admin panel: added Edit button on channel cards with inline edit form
  (title, link, sort order) using existing PATCH API
- Subscription screen: filter out already-subscribed channels so users
  only see what they still need to subscribe to
- Updated channelIdHint to remove @username reference (numeric only)
- Added i18n keys: edit, editing, form.save (en/ru/fa/zh)
This commit is contained in:
Fringg
2026-02-24 03:12:12 +03:00
parent a767fe96d3
commit 5a55892145
6 changed files with 261 additions and 71 deletions

View File

@@ -1308,16 +1308,19 @@
"disabled": "Disabled",
"enable": "Enable",
"disable": "Disable",
"edit": "Edit",
"editing": "Editing",
"delete": "Delete",
"deleteConfirm": "Delete this channel?",
"sortOrder": "Order",
"form": {
"title": "Display Name",
"channelId": "Channel ID",
"channelIdHint": "@username or -100XXXXXXXXXX",
"channelIdHint": "-100XXXXXXXXXX",
"channelLink": "Channel Link",
"channelLinkHint": "https://t.me/channel",
"submit": "Add",
"save": "Save",
"cancel": "Cancel"
}
},