Commit Graph

1359 Commits

Author SHA1 Message Date
Fringg
84f0e4e9b4 feat: add media attachment support for admin ticket replies
Admin can now attach photos, videos, and documents when replying to
tickets. Upload happens on file selection via existing media upload
endpoint. Includes attachment preview with type-specific icons,
upload progress, error handling, race condition protection, and
proper blob URL lifecycle management.

Added video player rendering for video attachments in message thread.
Updated ticket list preview to show [media_type] for media-only messages.
2026-03-19 06:39:05 +03:00
Egor
6c3286abbe Merge pull request #325 from BEDOLAGA-DEV/main
w
2026-03-18 23:33:00 +03:00
Fringg
aa8fbd1e23 feat: clickable user link to user card in admin payments 2026-03-18 23:30:18 +03:00
Fringg
4a33a61641 fix: handle long promo group names with truncation and flex-wrap 2026-03-18 22:52:32 +03:00
Fringg
c579abe6a3 feat: display user promo group badge on dashboard 2026-03-18 22:49:24 +03:00
Fringg
a3a6fad9b7 feat: display manual admin top-ups in sales statistics 2026-03-18 22:41:02 +03:00
Egor
da29e523b9 Merge pull request #324 from BEDOLAGA-DEV/release-please--branches--main--components--cabinet-frontend
chore(main): release 1.37.1
2026-03-18 18:25:42 +03:00
github-actions[bot]
cabab3ebfc chore(main): release 1.37.1 2026-03-18 15:25:22 +00:00
Egor
15d31c1457 Merge pull request #323 from BEDOLAGA-DEV/dev
Dev
2026-03-18 18:24:50 +03:00
Egor
6a32bf3590 Merge pull request #322 from BEDOLAGA-DEV/main
w
2026-03-18 18:22:05 +03:00
Fringg
18b860533c fix: add tooltip text color for dark theme in landing stats charts 2026-03-18 18:00:39 +03:00
Fringg
d640cc1a04 fix: add tooltip text color for dark theme in all charts
Added color and itemStyle to Recharts Tooltip so text is visible on dark backgrounds.
2026-03-18 17:59:12 +03:00
Fringg
c5f621b399 fix: load telegram-web-app.js asynchronously to prevent page blocking
When telegram.org is unreachable, the synchronous script tag blocks
DOM parsing for ~51 seconds (TCP timeout), preventing the React app
from rendering and the deep link auth fallback from activating.
2026-03-18 16:41:17 +03:00
Egor
e16ad91c17 Merge pull request #321 from BEDOLAGA-DEV/release-please--branches--main--components--cabinet-frontend
chore(main): release 1.37.0
2026-03-18 06:08:37 +03:00
github-actions[bot]
4ce242114e chore(main): release 1.37.0 2026-03-18 03:08:18 +00:00
Fringg
a7831668c0 chore: trigger release-please 2026-03-18 06:07:50 +03:00
Egor
52162c6735 Merge pull request #319 from BEDOLAGA-DEV/dev
Dev
2026-03-18 05:57:41 +03:00
Egor
9d2490f635 Merge pull request #318 from BEDOLAGA-DEV/main
w
2026-03-18 05:54:35 +03:00
Fringg
df73b3f77e feat: редизайн страницы платежей в админке — поиск, фильтры, статистика
Поиск по инвойсу/клиенту, фильтры по статусу/периоду/методу, карточки статистики,
кастомный диапазон дат, обработка ошибок, локализация на 4 языка.
2026-03-18 05:40:56 +03:00
Fringg
914a802c1b fix: добавлена подпись «Стоимость вращения» к блоку оплаты спина 2026-03-18 04:35:32 +03:00
Fringg
2d89b5e342 fix: блокировка кнопки устройств на странице подписки
Аналогичная блокировка как на дашборде — disabled + haptic + предупреждение
2026-03-18 04:27:33 +03:00
Fringg
8636bd7659 feat: блокировка кнопки устройств при лимите + убраны дубли трафика
- Кнопка «Подключить устройство» заблокирована при достижении лимита
- Haptic feedback при нажатии на заблокированную кнопку
- Предупреждение «Отключите устройства для подключения новых»
- Убран дублирующийся текст трафика под прогресс-баром (безлимит)
2026-03-18 04:21:34 +03:00
Fringg
246fafdbfc feat: добавлена поддержка SeverPay в кабинете
- Иконка SeverPay (синий градиент, SP)
- Лейбл в paymentMethods
- Статус decline в FAILED_STATUSES
- Локализация (ru, en, fa, zh)
2026-03-18 03:49:36 +03:00
Egor
4eca63b1c1 Downgrade version from 1.36.0 to 1.35.0 2026-03-18 02:14:32 +03:00
Egor
87c158ffa2 Update package-lock.json 2026-03-18 02:14:22 +03:00
Egor
eda99b46a8 Merge pull request #315 from BEDOLAGA-DEV/release-please--branches--main--components--cabinet-frontend
chore(main): release 1.36.0
2026-03-18 02:10:03 +03:00
github-actions[bot]
70cf85f6e7 chore(main): release 1.36.0 2026-03-17 23:08:45 +00:00
Egor
d22f3474ef Merge pull request #314 from BEDOLAGA-DEV/release-please--branches--main--components--cabinet-frontend
chore(main): release 1.35.0
2026-03-18 02:01:57 +03:00
github-actions[bot]
285d02d58c chore(main): release 1.35.0 2026-03-17 23:01:21 +00:00
Egor
a33367157b Merge pull request #313 from BEDOLAGA-DEV/dev
Dev
2026-03-18 02:00:50 +03:00
Egor
5fbebbb686 Merge pull request #312 from BEDOLAGA-DEV/main
ц
2026-03-18 01:59:48 +03:00
Fringg
11e81917af fix: скрыть плашку верификации email при выключенной верификации
- Добавлен verification_enabled в EmailAuthEnabled тип
- Баннер "Подтвердите email" скрыт когда верификация выключена
- Бейдж "Не подтверждён" скрыт когда верификация выключена
2026-03-18 01:53:10 +03:00
Fringg
b35000367b fix: recursive setTimeout, Strict Mode guard, isAxiosError
- Replace setInterval with recursive setTimeout to prevent overlapping async polls
- Add cancellation flag in auto-start effect for React Strict Mode double-mount
- Use isAxiosError() instead of unsafe type assertion
- Remove consumeCampaignSlug/consumeReferralCode from loginWithDeepLink (fired on every poll tick, destroying values after first 202)
2026-03-17 21:56:56 +03:00
Fringg
3d950252b7 fix: deep link auth timer cleanup and reliability
- Clear previous interval/timeout before starting new deep link auth
- Store expire timeout in ref for cleanup on unmount
- Use server expires_in instead of hardcoded 5 minutes
- Show error message when token expires (not just clear state)
- Add consumeCampaignSlug/consumeReferralCode to loginWithDeepLink
2026-03-17 21:46:12 +03:00
Fringg
6a1a9f5db7 feat: deep link авторизация при блокировке oauth.telegram.org
Добавлен fallback через бота когда виджет Telegram не загружается:
- Таймаут 8 сек на загрузку скрипта (OIDC + legacy)
- Автоматический переход на deep link auth
- Polling каждые 2.5 сек до подтверждения в боте
- ConnectedAccounts: таймаут + сообщение при недоступности
- Переводы: ru, en, zh, fa
2026-03-17 21:29:21 +03:00
Egor
1248ecb156 Merge pull request #309 from BEDOLAGA-DEV/release-please--branches--main--components--cabinet-frontend
chore(main): release 1.34.1
2026-03-16 04:14:34 +03:00
github-actions[bot]
b204da02ed chore(main): release 1.34.1 2026-03-16 01:13:49 +00:00
Egor
a4ec97ef71 Merge pull request #308 from BEDOLAGA-DEV/dev
Dev
2026-03-16 04:13:17 +03:00
Egor
77b3a157e8 Merge pull request #307 from BEDOLAGA-DEV/main
w
2026-03-16 04:11:44 +03:00
Fringg
f960d5fc0b fix: поддержка режима «both» — показ кнопки контакта вместе с тикетами 2026-03-16 04:09:53 +03:00
Egor
ff0475ad92 Merge pull request #298 from BEDOLAGA-DEV/release-please--branches--main--components--cabinet-frontend
chore(main): release 1.34.0
2026-03-15 01:24:58 +03:00
github-actions[bot]
05a6ba43d7 chore(main): release 1.34.0 2026-03-14 22:24:41 +00:00
Egor
d5e0249d3e Merge pull request #297 from BEDOLAGA-DEV/dev
Dev
2026-03-15 01:24:18 +03:00
Egor
4f76241892 Merge pull request #296 from BEDOLAGA-DEV/main
w
2026-03-15 01:21:53 +03:00
Fringg
e023373f56 feat: dual referral links UI (bot + cabinet) with independent copy states
- add bot referral link section with Telegram icon (conditionally rendered)
- add cabinet referral link section with chain-link icon
- independent copy button state per link type
- add bot_referral_link to ReferralInfo type
- add i18n keys: botLink, cabinetLink in ru/en/fa/zh
2026-03-15 01:14:25 +03:00
c0mrade
885524a00f Merge pull request #294 from BEDOLAGA-DEV/dev
fix: resolve all 14 ESLint warnings across the codebase
2026-03-13 20:31:57 +03:00
c0mrade
62188b8d2e fix: resolve all 14 ESLint warnings across the codebase
- Add varsIgnorePattern to no-unused-vars for destructuring patterns
- Fix all react-hooks/exhaustive-deps by adding missing dependencies
- Refactor useAnimatedNumber to use ref instead of stale state closure
- Wrap handleLinkResult in useCallback for stable deps
- Extract OAuth utilities from OAuthCallback.tsx to utils/oauth.ts
- Extract background config utilities to utils/backgroundConfig.ts
- Remove unused catch parameter in GiftSubscription
2026-03-13 20:19:09 +03:00
c0mrade
eb058d4124 Merge pull request #293 from BEDOLAGA-DEV/release-please--branches--main--components--cabinet-frontend
chore(main): release 1.33.2
2026-03-13 19:17:21 +03:00
github-actions[bot]
c6530d2bd2 chore(main): release 1.33.2 2026-03-13 16:12:00 +00:00
c0mrade
c0b834ab06 Merge pull request #292 from BEDOLAGA-DEV/dev
fix: resolve telegram auth token expiration and clean up codebase
2026-03-13 19:11:25 +03:00