fix: review findings — polling fallback, sessionStorage cleanup, UX

- Add 5s polling for 90s after opening external browser link (Mini App)
- Show info toast "Continue in browser" when opening external OAuth
- Fix premature sessionStorage cleanup: peek-then-clear pattern
- Use useIsTelegram() hook instead of direct isInTelegramWebApp()
- Add continueInBrowser i18n key (ru, en, zh, fa)
This commit is contained in:
Fringg
2026-03-05 02:33:33 +03:00
parent 7c30a1eab6
commit da1926f0e1
6 changed files with 32 additions and 12 deletions

View File

@@ -4178,6 +4178,7 @@
"linkingTelegram": "Привязка Telegram...",
"returnToTelegram": "Вернитесь в Telegram, чтобы продолжить",
"openTelegram": "Открыть Telegram",
"continueInBrowser": "Продолжите авторизацию в открывшемся браузере",
"providers": {
"telegram": "Telegram",
"email": "Email",