Commit Graph

9 Commits

Author SHA1 Message Date
c0mrade
edb5be09ae feat: migrate to @tma.js/sdk-react for Telegram Mini App
- Add useTelegramSDK hook with reactive signals for viewport, safe area, fullscreen
- Migrate TelegramAdapter to use SDK components (backButton, mainButton, hapticFeedback, cloudStorage, themeParams, popup)
- Update Login, TelegramRedirect to use SDK helpers
- Update PlatformProvider, api/client to use centralized SDK functions
- Simplify useTelegramWebApp as backward-compatible wrapper
- Add automatic CSS variable binding for theme and viewport
2026-02-01 20:13:50 +03:00
c0mrade
bc90ba3779 refactor: migrate to eslint flat config and format codebase with prettier
- Remove legacy .eslintrc.cjs and .eslintignore
- Add eslint.config.js with flat config, security rules (no-eval, no-implied-eval, no-new-func, no-script-url)
- Add .prettierrc and .prettierignore
- Format entire codebase with prettier
2026-01-27 17:37:31 +03:00
Egor
5930de6275 Update client.ts 2026-01-20 14:40:13 +03:00
Egor
b7fd893697 Update client.ts 2026-01-20 14:29:39 +03:00
Egor
71587075c4 Update client.ts 2026-01-18 06:27:59 +03:00
Egor
2179ea7e56 Update client.ts 2026-01-18 05:27:55 +03:00
Egor
42d97a4312 Update client.ts 2026-01-18 05:20:49 +03:00
Egor
34e74e44c4 Update client.ts 2026-01-18 05:15:54 +03:00
Egor
7be6b5c0ae Add files via upload 2026-01-15 19:18:17 +03:00