Commit Graph

2039 Commits

Author SHA1 Message Date
Egor
82e2c8a091 Merge pull request #73 from BEDOLAGA-DEV/dev
Update AdminPromocodes.tsx
2026-01-21 08:30:01 +03:00
Egor
0eb4b8ccd7 Update AdminPromocodes.tsx 2026-01-21 08:29:46 +03:00
Egor
ed034754de Merge pull request #72 from BEDOLAGA-DEV/dev
Dev
2026-01-21 08:15:04 +03:00
Egor
71b1c159bf Update Info.tsx 2026-01-21 08:14:28 +03:00
Egor
06d3b8c090 Add files via upload 2026-01-21 08:14:01 +03:00
Egor
793dc51a9c Update promo.ts 2026-01-21 08:13:25 +03:00
Egor
2e6b9c9c45 Merge pull request #71 from BEDOLAGA-DEV/dev
Add files via upload
2026-01-21 08:12:40 +03:00
Egor
93a50c975d Add files via upload 2026-01-21 07:36:24 +03:00
Egor
b91ef123dd Merge pull request #70 from BEDOLAGA-DEV/dev
Dev
2026-01-21 06:47:04 +03:00
Egor
0c44b03d5d Update ConnectionModal.tsx 2026-01-21 06:45:16 +03:00
Egor
613dadfc11 Update index.ts 2026-01-21 06:44:41 +03:00
Egor
1880cffad9 Update Subscription.tsx 2026-01-21 06:43:44 +03:00
Egor
e23daec918 Merge pull request #69 from BEDOLAGA-DEV/dev
Dev
2026-01-21 05:36:25 +03:00
Egor
3532d26ffa Add files via upload 2026-01-21 05:32:27 +03:00
Egor
4e225c78bf Update Referral.tsx 2026-01-21 05:31:58 +03:00
Egor
97ebb33189 Update Layout.tsx 2026-01-21 05:31:18 +03:00
Egor
862590a52c Merge pull request #68 from BEDOLAGA-DEV/main
Fix lint error: use const instead of let for cleaned variable
2026-01-21 05:30:22 +03:00
PEDZEO
ad5347a8b4 Fix lint error: use const instead of let for cleaned variable 2026-01-21 05:17:35 +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
a364b51787 Fix theme toggles mobile layout: stack vertically on small screens 2026-01-21 05:01:19 +03:00
PEDZEO
15edd598b5 Fix Toggle animation: use translate-x instead of left position 2026-01-21 04:50:50 +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
b359e6445c Improve admin settings UI components
- Add EditIcon component to icons.tsx
- Enhance SettingInput with textarea for long/JSON values
- Improve SettingRow styling and long value handling
- Fix CORE category translation (Ядро → Бот)
- Add auto-resize for textarea and Ctrl+Enter save shortcut
2026-01-21 04:21:25 +03:00
PEDZEO
7eb42d2cf7 Add translations for system settings
- Web API: origins, tokens, docs, host, port, workers
- RemnaWave: API URL, auth, sync, templates
- Webhook: path, tokens, workers, timeouts
- Backup: auto, compression, location, send to Telegram
- Monitoring: interval, logs retention, traffic
- Server status: metrics, SSL, mode
- Logs: rotation, files, levels, send to Telegram
- Version: check, interval, repo
- Maintenance: mode, message, monitoring
- External admin: token, bot ID
- Core: bot username, debug
2026-01-21 04:16:57 +03:00
PEDZEO
1d3eff2f18 Add translations for database settings
- PostgreSQL: DB name, host, password, port, user
- Database mode, URL
- Redis URL, SQLite path
2026-01-21 04:14:40 +03:00
PEDZEO
c8dceb3c6f Add translations for notification settings
- Admin notifications: chat ID, topic IDs
- Notification cache and retry settings
- Admin reports: chat ID, send time, topic ID
2026-01-21 04:10:16 +03:00
PEDZEO
6a52660dc5 Add translations for interface settings
- App config, deep links, subscription page
- Logo mode, connect button mode
- MiniApp URL and interface options
2026-01-21 04:03:03 +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
b7e6ee490c Fix keyboard detection using focus events instead of visualViewport 2026-01-21 02:21:57 +03:00
PEDZEO
fb46c84b58 Hide bottom navigation when virtual keyboard is open
- Added visualViewport API detection for keyboard state
- Bottom nav fades out when keyboard opens (opacity + pointer-events)
- Prevents nav from jumping up with keyboard on mobile
2026-01-21 02:18:20 +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
PEDZEO
d9bfbffb44 Merge pull request #13 from PEDZEO/PEDZ
Pedz
2026-01-21 00:38:51 +03:00
PEDZEO
d0f855738a Update UI components and styles for Bento design system
- Added new BentoCard and BentoSkeleton components for consistent card styling.
- Refactored existing components to utilize BentoCard for improved visual consistency.
- Updated Tailwind configuration to include new spacing and border radius utilities.
- Enhanced global styles with custom scrollbar and noise texture for better aesthetics.
- Introduced color conversion utilities for improved color handling across components.
2026-01-21 00:10:57 +03:00
PEDZEO
7abc43c2d4 Merge pull request #12 from PEDZEO/main
pull
2026-01-20 23:41:45 +03:00
PEDZEO
96f8f0e6b8 Refactor ColorPicker component to support HSL color model and improve user interaction
- Introduced HSL color conversion functions for enhanced color manipulation.
- Updated state management to synchronize HSL values with color input changes.
- Improved picker positioning logic for better usability.
- Enhanced the color picker UI with sliders for hue, saturation, and lightness adjustments.
- Refactored event handling for opening and closing the color picker, including click outside detection.
- Rendered the color picker in a portal for better positioning and accessibility.
2026-01-20 23:40:24 +03:00
PEDZEO
3deae95e37 Merge pull request #66 from enkinvsh/bento-grids
feat(ui): Global Redesign "Bento Grids" & Visual Polish
2026-01-20 23:39:51 +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
20edc7f63a phase 9 done. ready to restyle 2026-01-20 23:32:11 +05:00