Commit Graph

783 Commits

Author SHA1 Message Date
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
PEDZEO
8776e2d128 Refactor AdminSettings into modular components
Split 1123-line monolithic AdminSettings.tsx into 11 modules:

Components:
- icons.tsx (85 lines) - All SVG icons
- Toggle.tsx (21 lines) - Reusable toggle component
- SettingInput.tsx (89 lines) - Text/select input for settings
- SettingRow.tsx (104 lines) - Single setting card
- BrandingTab.tsx (212 lines) - Logo, name, animation settings
- ThemeTab.tsx (277 lines) - Theme presets and custom colors
- FavoritesTab.tsx (59 lines) - Starred settings display
- SettingsTab.tsx (144 lines) - Accordion categories view

Utilities:
- constants.ts (55 lines) - MENU_SECTIONS, THEME_PRESETS
- utils.ts (35 lines) - formatSettingKey, stripHtml
- index.ts (13 lines) - Barrel exports

Result: AdminSettings.tsx reduced from 1123 to 251 lines
2026-01-21 03:56:21 +03:00
PEDZEO
dcac738aeb Add subscription translations and collapsible categories in AdminSettings
- Add 65+ new translations for subscription, trial, traffic, autopay settings
- Replace flat navigation with accordion-style collapsible subcategories
- Categories are collapsed by default, click to expand
- Search shows flat list when query is present
- Remove unused ChevronRightIcon and activeSubCategory state
2026-01-21 03:48:44 +03:00
PEDZEO
c572fc0b69 Move hardcoded translations from AdminSettings to locales
- Remove SETTING_TRANSLATIONS object with 50+ hardcoded Russian translations
- Add translations to ru.json under admin.settings.settingNames
- Rename formatSettingName to formatSettingKey
- Use t() function with fallback for setting names
2026-01-21 03:42:28 +03:00
PEDZEO
76b2d713f1 Add Russian translations for common settings in AdminSettings
- Introduced a dictionary for translating various settings into Russian.
- Updated the `formatSettingName` function to return translated names when available.
- Adjusted layout for sidebar and main content to improve responsiveness and organization.
2026-01-21 03:25:46 +03:00
PEDZEO
0679905c51 Add helper functions for formatting settings and cleaning HTML in AdminSettings
- Introduced `formatSettingName` to convert setting names from Snake_Case/CamelCase to a readable format.
- Added `stripHtml` function to remove HTML tags from setting descriptions.
- Updated rendering logic in `renderSettingRow` to utilize the new helper functions for improved display of setting names and descriptions.
- Enhanced layout for settings display with better spacing and organization.
2026-01-21 03:21:45 +03:00
PEDZEO
710bc32111 Fix AdminSettings mobile layout with drawer navigation 2026-01-21 03:09:32 +03:00
PEDZEO
329d063387 Redesign AdminSettings with sidebar navigation and localization
- Replace top tabs with sidebar menu navigation
- Add sub-categories for settings (payments, subscriptions, etc.)
- Implement full Russian localization for all UI elements
- Add category translations for all setting groups
- Collapsible presets and custom colors sections
- Favorites functionality with localStorage persistence
- Search functionality in settings
- Responsive layout with collapsible sidebar
2026-01-21 03:02:23 +03:00
PEDZEO
d7b387927f Redesign AdminSettings with tabs navigation and favorites
- Add tab-based navigation (Favorites, Branding, Theme, Payments, etc.)
- Create useFavoriteSettings hook for localStorage-based favorites
- Create SettingCard component for consistent setting display
- Add global search functionality
- Implement collapsible sections for theme presets and colors
- Group settings by meta-categories (payments, subscriptions, etc.)
- Add dropdown for additional categories (More menu)
- Modern UI with improved spacing and interactions
2026-01-21 02:52:37 +03:00
PEDZEO
215a65dbae Refactor theme settings with two collapsible sections
- Quick Presets: collapsible section with 8 theme presets
- Custom Colors: collapsible section with all color pickers
- Added translations for quickPresets, customColors in all locales (ru, en, zh, fa)
- Chevron icon rotates when section is expanded
- Preview section moved inside Custom Colors
2026-01-21 02:11:39 +03:00
PEDZEO
bf0a43384b Add collapsible theme sections and Russian translations
- Translated Quick Presets to Russian (Быстрые пресеты)
- Translated preset names: Стандарт, Океан, Лес, Закат, Фиолет, Роза, Полночь, Бирюза
- Made theme color sections collapsible (Accent, Dark Theme, Light Theme, Status Colors)
- Each section shows color preview when collapsed
2026-01-21 02:04:48 +03:00
PEDZEO
26e8e19b8a Merge remote branch and add Quick Presets for theme colors
- Added Quick Presets section in AdminSettings with 8 predefined themes
- Fixed ColorPicker overflow issues for small containers
- Resolved merge conflicts keeping local theme implementation
2026-01-21 01:56:51 +03:00
PEDZEO
879031508b Enhance ColorPicker and AdminSettings components with improved styling and theme presets
- Updated ColorPicker component styles for better visual consistency and usability.
- Adjusted button sizes and input fields for a more cohesive design.
- Introduced theme presets in AdminSettings for quick color scheme selection, enhancing user experience.
- Added new color schemes with predefined colors for easier theme management.
2026-01-21 01:53:31 +03:00
kinvsh
7272f0a6c1 bento-grids v1
в целом все хорошо, немного доправить и переходить к light theme
2026-01-21 01:30:14 +05:00
kinvsh
11fd2876b2 bento-grids v0.1 2026-01-21 00:58:24 +05:00
Dev
308df174fb Phase 1-6 Complete 2026-01-20 22:54:32 +05:00
Dev
c92a4e7704 feat: complete Phase 2 - refactor all user pages to Bento UI 2026-01-20 22:26:13 +05:00
Dev
6d88bac693 feat(ui): implement Bento Grid design system
- Add Urbanist font (replace Inter)
- Add CSS variables: --bento-radius, --bento-gap, --bento-padding
- Add Tailwind extend: rounded-bento, rounded-4xl, spacing.bento
- Create BentoCard component with size variants (sm/md/lg/xl)
- Add .bento-card, .bento-card-hover, .bento-card-glow classes
- Add .bento-grid container with responsive columns
- Implement floating TabBar (margin 16px, shadow, pill active state)
- Apply bento styles to Dashboard cards
- Support both dark and light themes
2026-01-20 21:10:20 +05:00
Egor
3c5869684f Update Subscription.tsx 2026-01-20 07:21:18 +03:00
Egor
ea47b09bad Update Subscription.tsx 2026-01-20 06:38:51 +03:00
Egor
56e0023372 Update Subscription.tsx 2026-01-20 06:33:20 +03:00
Egor
17220097d5 Update Dashboard.tsx 2026-01-20 05:41:17 +03:00