Egor
9ef89bf585
Update promoOffers.ts
2026-01-22 23:09:30 +03:00
Egor
c8f2470d53
Merge pull request #79 from BEDOLAGA-DEV/dev
...
Update TopUpModal.tsx
2026-01-22 22:18:23 +03:00
Egor
b9ef362055
Update TopUpModal.tsx
2026-01-22 22:17:55 +03:00
Egor
b21f8b333c
Merge pull request #78 from BEDOLAGA-DEV/dev
...
Update Dashboard.tsx
2026-01-22 21:17:15 +03:00
Egor
122bbb5282
Update Dashboard.tsx
2026-01-22 21:16:31 +03:00
Egor
65dc69ac96
Merge pull request #77 from BEDOLAGA-DEV/dev
...
Dev
2026-01-21 10:14:22 +03:00
Egor
d7122ec842
Add files via upload
2026-01-21 10:14:05 +03:00
Egor
c5cd92ed6f
Update Dashboard.tsx
2026-01-21 10:13:40 +03:00
Egor
b018e6e569
Merge pull request #76 from BEDOLAGA-DEV/dev
...
Add files via upload
2026-01-21 09:08:22 +03:00
Egor
5709ab4ff1
Add files via upload
2026-01-21 09:08:08 +03:00
Egor
198892c50d
Merge pull request #75 from BEDOLAGA-DEV/dev
...
Dev
2026-01-21 08:42:56 +03:00
Egor
94a8671d9e
Update Login.tsx
2026-01-21 08:42:36 +03:00
Egor
7ae5411006
Update branding.ts
2026-01-21 08:42:02 +03:00
Egor
0207f5259a
Update Layout.tsx
2026-01-21 08:41:40 +03:00
Egor
6709a0a419
Merge pull request #74 from BEDOLAGA-DEV/dev
...
Dev
2026-01-21 08:37:28 +03:00
Egor
f2f93a3799
Add files via upload
2026-01-21 08:37:08 +03:00
Egor
b28b921abd
Add files via upload
2026-01-21 08:36:40 +03:00
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