Commit Graph

110 Commits

Author SHA1 Message Date
c0mrade
483f3f4d0f Migrate to Telegram Navigator integration
Replace manual BackButton management with official @telegram-apps/react-router-integration
to fix navigation issues (back button cycling and double-click).

Changes:
- Migrate from @tma.js/sdk-react to @telegram-apps/sdk-react
- Downgrade react-router-dom to v6 for package compatibility
- Add AppWithNavigator component with Telegram navigator integration
- Use browser history mode (hashMode: null) to prevent hash URLs
- Add multi-level platform detection (user data, platform, version)
- Add try-catch error handling for navigator attach/detach
- Simplify useBackButton hook to no-op (navigator handles automatically)
- Update vite config with new Telegram packages

The navigator automatically manages BackButton based on router history,
falling back to BrowserRouter in regular browser environment.
2026-02-04 07:18:43 +03:00
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
cffef41f63 feat: replace MovingGradient with Aurora WebGL background 2026-02-01 18:58:10 +03:00
c0mrade
b953ee0b8c feat: Linear-style UI redesign with improved mobile experience
Major changes:
- Redesign cabinet with Linear-style components and top navigation
- Replace detail modals with dedicated pages (users, broadcasts, email templates)
- Add email channel support for broadcasts
- Remove pull-to-refresh, improve drag-and-drop on touch devices
- Fix Telegram Mini App: fullscreen, back button, scroll restoration
- Unify admin pages color scheme to design system
- Mobile-first improvements: horizontal tabs for settings, better touch targets
2026-02-01 18:58:10 +03:00
c0mrade
a63bb7c457 fix: update dependencies to resolve security vulnerabilities
- Update vite 5→7.3.1 and @vitejs/plugin-react 4→5.1.2 (GHSA-67mh-4wv8-2f99)
- Update react-router-dom 6→7.13.0 (GHSA-2w69-qvjg-hvjx, CVSS 8.0)
- Add husky, lint-staged to devDependencies
- Add project description and AGPL-3.0 license to package.json
2026-01-27 17:38:18 +03:00
Egor
5da1cb3228 Add files via upload 2026-01-26 22:48:47 +03:00
Egor
3108aaf0ed Add files via upload 2026-01-18 06:38:26 +03:00
Egor
9d982d5614 Update package.json 2026-01-15 19:37:30 +03:00
Egor
87a494c4d7 Add files via upload 2026-01-15 19:28:21 +03:00
Egor
2274a23b62 Add files via upload 2026-01-15 19:20:17 +03:00