Commit Graph

404 Commits

Author SHA1 Message Date
Egor
f1976ca7ff Update AdminBroadcasts.tsx 2026-01-31 18:02:58 +03:00
c0mrade
0be1ef0340 feat: auto-close modals when success notification appears
- Add closeOthersSignal to success notification store
- Create useCloseOnSuccessNotification hook for modals to subscribe
- Update TopUpModal to auto-close on success events
- Update InsufficientBalancePrompt to auto-close on success events
- Update Subscription page to close all modals/forms on success events

This ensures that when a WebSocket event indicates successful payment
or subscription purchase, all related modals close automatically,
providing clear feedback to users.
2026-01-30 19:54:29 +03:00
Egor
2d0f1b91da Update Subscription.tsx 2026-01-30 18:05:21 +03:00
Egor
dd5cb7789f Update Subscription.tsx 2026-01-30 18:00:41 +03:00
Egor
052e8fad4f Update Balance.tsx 2026-01-30 17:08:36 +03:00
Egor
28b979fdea Update Balance.tsx 2026-01-30 16:21:52 +03:00
Egor
23e9444cf4 Update Profile.tsx 2026-01-30 15:53:23 +03:00
Egor
b18ccf005d Add files via upload 2026-01-29 01:04:26 +03:00
Egor
ef16fb65f0 Update fallback handling for invoice URL in Wheel 2026-01-28 21:12:32 +03:00
Egor
56c2d7be90 Check WebApp version before opening invoice 2026-01-28 21:02:16 +03:00
Egor
7b7021a603 Update Subscription.tsx 2026-01-28 20:39:19 +03:00
Egor
475ce7d13f Update Subscription.tsx 2026-01-28 20:33:54 +03:00
Egor
2842aa962d Update Login.tsx 2026-01-28 20:25:51 +03:00
Egor
b178f4cb86 Update AdminPaymentMethods.tsx 2026-01-28 11:58:20 +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
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
77f955fc0d Update Login.tsx 2026-01-27 17:57:45 +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
096cf7e918 Update Subscription.tsx 2026-01-27 16:07:12 +03:00
Egor
80da25c102 Update AdminSettings.tsx 2026-01-27 01:19:42 +03:00
Egor
6856518fee Update Dashboard.tsx 2026-01-27 00:33:15 +03:00
Egor
ce29ee63b7 Update AdminEmailTemplates.tsx 2026-01-27 00:26:04 +03:00
Egor
4fc7712bef Update Subscription.tsx 2026-01-26 23:24:30 +03:00
Egor
c2c2399af1 Update Subscription.tsx 2026-01-26 23:23:38 +03:00
Egor
3ebff0c1f8 Update AdminPaymentMethods.tsx 2026-01-26 22:46:37 +03:00
Egor
6567f22e40 Add files via upload 2026-01-26 22:39:56 +03:00
Egor
f10594c4b4 Add files via upload 2026-01-26 21:59:31 +03:00
Egor
558278b729 Add files via upload 2026-01-25 10:43:36 +03:00
Egor
c358d8caab Add files via upload 2026-01-25 09:45:16 +03:00
Egor
d00bb5463b Add files via upload 2026-01-25 09:26:24 +03:00
Egor
13c7d23422 Add files via upload 2026-01-25 09:05:28 +03:00
Egor
97b2fa319a Update Profile.tsx 2026-01-25 08:54:19 +03:00
Egor
fe5be1f08d Add files via upload 2026-01-25 08:44:25 +03:00
Egor
c8d94251e9 Add files via upload 2026-01-23 11:33:26 +03:00
Egor
2fe3a0bb18 Update AdminTariffs.tsx 2026-01-23 03:44:18 +03:00
Egor
767b666962 Update Subscription.tsx 2026-01-23 03:39:08 +03:00
Egor
e51d4d3d71 Update Subscription.tsx 2026-01-23 03:35:27 +03:00
Egor
aac4369bd9 Update AdminPromoOffers.tsx 2026-01-22 23:10:09 +03:00
Egor
122bbb5282 Update Dashboard.tsx 2026-01-22 21:16:31 +03:00
Egor
c5cd92ed6f Update Dashboard.tsx 2026-01-21 10:13:40 +03:00
Egor
5709ab4ff1 Add files via upload 2026-01-21 09:08:08 +03:00
Egor
94a8671d9e Update Login.tsx 2026-01-21 08:42:36 +03:00
Egor
b28b921abd Add files via upload 2026-01-21 08:36:40 +03:00
Egor
0eb4b8ccd7 Update AdminPromocodes.tsx 2026-01-21 08:29:46 +03:00
Egor
71b1c159bf Update Info.tsx 2026-01-21 08:14:28 +03:00
Egor
1880cffad9 Update Subscription.tsx 2026-01-21 06:43:44 +03:00
Egor
4e225c78bf Update Referral.tsx 2026-01-21 05:31:58 +03:00
PEDZEO
4c5fe78cf3 Fix AdminSettings mobile: scroll to top on open and add safe area padding 2026-01-21 05:05:33 +03:00
PEDZEO
8d4c00d176 Add SettingsSidebar and SettingsSearch components to AdminSettings
- Introduced SettingsSidebar for improved navigation and organization.
- Added SettingsSearch and its mobile variant for enhanced search functionality.
- Updated AdminSettings to utilize new components, streamlining the layout and improving user experience.
2026-01-21 04:31:07 +03:00
PEDZEO
82d38b829a Improve global search in AdminSettings
- Search across all settings regardless of active section
- Search by translated names, descriptions, and categories
- Add clear search button (X icon)
- Show search results count
2026-01-21 04:28:31 +03:00