Commit Graph

22 Commits

Author SHA1 Message Date
c0mrade
4034b4db39 fix: use RemnaWave icon in admin panel menu 2026-02-02 10:45:29 +03:00
c0mrade
a96ddde314 feat: extract promocodes and promo groups into separate pages
- Add AdminPromocodeCreate page for creating/editing promocodes
- Add AdminPromoGroups page for listing discount groups
- Add AdminPromoGroupCreate page for creating/editing discount groups
- Move promo groups from Promocodes section to separate admin section
- Simplify AdminPromocodes by removing embedded modals and groups tab
- Add routes and navigation for new pages
- Add i18n keys for all 4 locales (ru, en, zh, fa)
2026-02-02 05:40:25 +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
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
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
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
PEDZEO
3bab058983 Enhance AdminPanel with modern icon components for improved visual consistency
- Introduced new icon components for analytics, users, tariffs, marketing, and system sections.
- Updated AdminGroup interface to accept React nodes for icons, enhancing flexibility.
- Refactored icon rendering in GroupSection for better styling and layout.
2026-01-19 07:51:17 +03:00
PEDZEO
fac733f150 Refactor AdminDashboard and AdminPanel components for improved icon consistency and layout
- Updated icon components in AdminDashboard to use modern, styled icons for better visual consistency.
- Replaced existing icons with new versions across various sections, enhancing the overall UI.
- Refactored AdminPanel to streamline the structure, introducing grouped sections for better organization.
- Improved card layouts and hover effects for a more responsive user experience.
2026-01-19 07:46:14 +03:00
PEDZEO
638f1d5456 Refactor Dockerfile and Vite configuration to remove VITE_APP_VERSION and streamline build process
- Removed VITE_APP_VERSION from Dockerfile and GitHub workflows.
- Simplified Vite configuration by eliminating the Git version retrieval function and global constant for app version.
- Updated ColorPicker and other components to enhance accessibility with aria-labels.
- Introduced unique identifiers for buttons in the AppEditorModal for better React key management.
- Improved error handling in the Login component to provide user-friendly messages without exposing sensitive data.
2026-01-19 07:39:09 +03:00
PEDZEO
3d34f3f1c9 Merge branch 'main' from bedolaga 2026-01-18 07:02:14 +03:00
Egor
5cdae2450a Add files via upload 2026-01-17 10:51:04 +03:00
Egor
8330a86855 Add files via upload 2026-01-17 09:50:09 +03:00
Egor
d095f428dc Add files via upload 2026-01-17 08:48:36 +03:00
PEDZEO
84e43139fd Add admin features for broadcasts, campaigns, and users
- Introduced new pages and API integrations for managing broadcasts, campaigns, and users in the admin panel.
- Added localization support for new features in English, Persian, Russian, and Chinese.
- Enhanced the AdminPanel to include navigation for the new sections, improving overall admin experience.
2026-01-17 07:50:17 +03:00
Egor
c5fbc6a28a Add files via upload 2026-01-17 06:04:53 +03:00
Egor
73292185cc Add files via upload 2026-01-17 05:34:57 +03:00
Egor
905e997cee Add files via upload 2026-01-17 04:37:10 +03:00
Egor
970aaad81c Add files via upload 2026-01-17 03:10:52 +03:00
Egor
9cb17fdc15 Update AdminPanel.tsx 2026-01-17 01:30:10 +03:00
PEDZEO
34c128fd87 Интеграция системы мониторинга банов 2026-01-16 16:03:51 +03:00
Egor
7be6b5c0ae Add files via upload 2026-01-15 19:18:17 +03:00