c0mrade
175b5608b2
feat: add success notification modal for balance and subscription events
...
- Add zustand store for global success notifications
- Create SuccessNotificationModal component with prominent UI
- Update WebSocketNotifications to show modal for important events:
- balance.topup shows balance topped up modal
- subscription.activated shows activation modal
- subscription.renewed shows renewal modal
- Add translations for all locales (ru, en, zh, fa)
2026-01-30 19:39:14 +03:00
c0mrade
ca227f3975
feat(websocket): add global handler for subscription and balance notifications
...
- Extend WSMessage interface with balance, subscription, autopay, account, referral fields
- Create WebSocketNotifications component to handle all WS events
- Add component to Layout for global event listening
- Show toasts and invalidate queries on subscription/balance events
- Add translations for all notification types (ru, en, zh, fa)
2026-01-30 19:04:45 +03:00
Egor
cb57c34b55
Merge pull request #119 from BEDOLAGA-DEV/dev
...
Update Subscription.tsx
2026-01-30 18:05:59 +03:00
Egor
2d0f1b91da
Update Subscription.tsx
2026-01-30 18:05:21 +03:00
Egor
3ff836d57e
Merge pull request #118 from BEDOLAGA-DEV/dev
...
Update Subscription.tsx
2026-01-30 18:01:01 +03:00
Egor
dd5cb7789f
Update Subscription.tsx
2026-01-30 18:00:41 +03:00
Egor
812b2210f6
Merge pull request #117 from BEDOLAGA-DEV/dev
...
Dev
2026-01-30 17:09:28 +03:00
Egor
052e8fad4f
Update Balance.tsx
2026-01-30 17:08:36 +03:00
Egor
6faf8a641b
Add files via upload
2026-01-30 16:22:16 +03:00
Egor
28b979fdea
Update Balance.tsx
2026-01-30 16:21:52 +03:00
Egor
3c0b53011b
Merge pull request #116 from BEDOLAGA-DEV/dev
...
Dev
2026-01-30 16:09:46 +03:00
Egor
a0461c7a89
Add files via upload
2026-01-30 15:55:08 +03:00
Egor
760761729b
Add files via upload
2026-01-30 15:54:31 +03:00
Egor
23e9444cf4
Update Profile.tsx
2026-01-30 15:53:23 +03:00
Egor
2f1083d005
Update auth.ts
2026-01-30 15:52:51 +03:00
Egor
13a144d8b1
Merge pull request #115 from Nhiaz/main
...
Fix Caddyfile for WebSocket
2026-01-30 15:30:01 +03:00
Nhiaz
443d317032
Fix Caddyfile for WebSocket
2026-01-30 11:30:20 +12:00
Egor
e7564e7928
Merge pull request #114 from BEDOLAGA-DEV/dev
...
Dev
2026-01-29 01:42:59 +03:00
Egor
b18ccf005d
Add files via upload
2026-01-29 01:04:26 +03:00
Egor
bdd516d3b1
Add SubscriptionStatusResponse interface
...
Added SubscriptionStatusResponse interface for subscription status.
2026-01-29 01:04:04 +03:00
Egor
660f2295ba
Update subscription.ts
2026-01-29 01:03:46 +03:00
Egor
43812fb6b4
Merge pull request #113 from BEDOLAGA-DEV/dev
...
Dev
2026-01-28 21:13:40 +03:00
Egor
a9e7f0ae3d
Add files via upload
2026-01-28 21:13:15 +03:00
Egor
ef16fb65f0
Update fallback handling for invoice URL in Wheel
2026-01-28 21:12:32 +03:00
Egor
80eb2a25d2
Update TopUpModal.tsx
2026-01-28 21:12:03 +03:00
Egor
a1ae29dfe6
Merge pull request #112 from BEDOLAGA-DEV/dev
...
Dev
2026-01-28 21:03:20 +03:00
Egor
56c2d7be90
Check WebApp version before opening invoice
2026-01-28 21:02:16 +03:00
Egor
f2e03ffb33
Update TopUpModal.tsx
2026-01-28 21:01:40 +03:00
Egor
f61a498eba
Update vite-env.d.ts
2026-01-28 21:01:12 +03:00
Egor
c5dd37643e
Merge pull request #111 from BEDOLAGA-DEV/dev
...
Dev
2026-01-28 20:40:12 +03:00
Egor
7b7021a603
Update Subscription.tsx
2026-01-28 20:39:19 +03:00
Egor
4622c4fb2c
Add files via upload
2026-01-28 20:37:16 +03:00
Egor
2722fca22e
Update subscription.ts
2026-01-28 20:34:46 +03:00
Egor
2ab978edcc
Add files via upload
2026-01-28 20:34:20 +03:00
Egor
475ce7d13f
Update Subscription.tsx
2026-01-28 20:33:54 +03:00
Egor
6a949aeff2
Merge pull request #110 from BEDOLAGA-DEV/dev
...
Update Login.tsx
2026-01-28 20:26:08 +03:00
Egor
2842aa962d
Update Login.tsx
2026-01-28 20:25:51 +03:00
Egor
8423240023
Update README.md
2026-01-28 14:24:38 +03:00
Egor
fa526b715d
Merge pull request #107 from BEDOLAGA-DEV/dev
...
Dev
2026-01-28 11:59:16 +03:00
Egor
b178f4cb86
Update AdminPaymentMethods.tsx
2026-01-28 11:58:20 +03:00
Egor
825e162c2b
Merge pull request #106 from BEDOLAGA-DEV/main
...
w
2026-01-28 11:58:01 +03:00
Egor
b92b248ab4
Merge pull request #105 from BEDOLAGA-DEV/feat/full-i18n-migration
...
feat/full i18n migration
2026-01-27 23:44:57 +03:00
c0mrade
4b35d8c392
fix(i18n): rename subscription.servers object to subscription.serverManagement
...
Resolves conflict where subscription.servers existed as both a nested
object (for server management UI keys) and a pluralization base key.
Renamed the nested object to serverManagement in all 4 locales and
updated all t() references in Subscription.tsx.
2026-01-27 22:47:41 +03:00
c0mrade
821f9954c8
fix(i18n): remove duplicate keys in ru.json
2026-01-27 22:36:42 +03:00
c0mrade
ff7e4d42a0
fix(i18n): remove duplicate subscription.servers string key
...
The key existed as both a string and an object in subscription
section, causing i18next to return an object instead of a string.
Removed the redundant string — serversLabel is used for plain text,
plural suffixes (_one/_few/_many/_other) handle counted usage.
2026-01-27 22:34:05 +03:00
c0mrade
c990c84223
chore: update package-lock.json
2026-01-27 22:20:20 +03:00
c0mrade
9707ad97a4
feat(i18n): migrate all hardcoded Russian text to i18n
...
- Replace all hardcoded Russian strings with t() calls across 30+ files
- Add ~500 new translation keys to all 4 locales (ru, en, zh, fa)
- Convert module-level config objects to labelKey pattern
- Remove Russian fallbacks from t() calls (fallbackLng handles it)
- Replace DeepLinkRedirect custom i18n with standard t() calls
- Fix subscription.servers key collision (string vs object)
2026-01-27 22:19:41 +03:00
Egor
d837f8050c
Merge pull request #103 from BEDOLAGA-DEV/dev
...
Dev
2026-01-27 18:01:54 +03:00
Egor
b42c52714b
Fix formatting and improve favicon update logic
2026-01-27 17:59:36 +03:00
Egor
77f955fc0d
Update Login.tsx
2026-01-27 17:57:45 +03:00