Commit Graph

77 Commits

Author SHA1 Message Date
c0mrade
1027deb134 feat: move campaign statistics to dedicated page 2026-02-02 08:34:35 +03:00
c0mrade
f73579b37f refactor: extract promo offers modals to separate pages
- Create AdminPromoOfferTemplateEdit.tsx for template editing
- Create AdminPromoOfferSend.tsx for sending offers with result screen
- Add routes for /admin/promo-offers/templates/:id/edit and /admin/promo-offers/send
- Simplify AdminPromoOffers.tsx by removing modals
- Add i18n keys for new pages
2026-02-02 06:14:15 +03:00
c0mrade
2920ca45e8 refactor: convert promocode stats modal to separate page
- Create AdminPromocodeStats.tsx with responsive mobile layout
- Add route /admin/promocodes/:id/stats
- Fix mobile layout in AdminPromocodes.tsx (badges and buttons no longer overlap)
- Remove PromocodeStatsModal component
2026-02-02 06:05:15 +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
dc17695206 feat: replace tariff creation modal with dedicated page 2026-02-02 01:38:01 +03:00
c0mrade
bce4d94229 feat: replace campaign creation modal with dedicated page
- Create AdminCampaignCreate.tsx with full form for new campaigns
- Update AdminCampaigns.tsx to navigate to create page
- Keep edit functionality as modal
- Add route /admin/campaigns/create in App.tsx
2026-02-01 23:03:25 +03:00
c0mrade
175516ec9b feat: replace broadcast creation modal with dedicated page 2026-02-01 22:26:12 +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
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
8c2e42d42e Update App.tsx 2026-01-27 01:18:15 +03:00
Egor
0608c2fa7b Update App.tsx 2026-01-26 22:39:31 +03:00
Egor
69c12ee5a0 Update App.tsx 2026-01-26 21:59:56 +03:00
Egor
ea65b4d73c Update App.tsx 2026-01-25 10:44:00 +03:00
Egor
cada738879 Update App.tsx 2026-01-20 14:41:08 +03:00
PEDZEO
5f123a39d9 Refactor App component to implement lazy loading for user and admin pages, enhancing performance and reducing initial load time. Introduce LazyPage wrapper for suspense handling during component loading. 2026-01-19 01:51:52 +03:00
PEDZEO
7bd4336e62 Implement return URL handling for authentication; save current URL before redirecting to login and retrieve it after successful login. 2026-01-18 22:58:09 +03:00
PEDZEO
3d34f3f1c9 Merge branch 'main' from bedolaga 2026-01-18 07:02:14 +03:00
Egor
606f9a3f02 Update App.tsx 2026-01-17 10:51:35 +03:00
Egor
89d40fc4ee Update App.tsx 2026-01-17 09:50:38 +03:00
Egor
d5783d8293 Update App.tsx 2026-01-17 08:52:20 +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
f1779433bd Update App.tsx 2026-01-17 06:05:19 +03:00
Egor
0fdcb4c2e3 Update App.tsx 2026-01-17 05:34:21 +03:00
Egor
f7aac853d9 Update App.tsx 2026-01-17 04:37:28 +03:00
Egor
7278381b21 Update App.tsx 2026-01-17 03:09:36 +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