Egor
c037faf59a
Update TopUpModal.tsx
2026-01-23 14:48:30 +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
ccb84405c4
Add files via upload
2026-01-23 03:35:48 +03:00
Egor
e51d4d3d71
Update Subscription.tsx
2026-01-23 03:35:27 +03:00
Egor
8944a865e7
Update globals.css
2026-01-23 00:26:30 +03:00
Egor
803a5f858f
Update ConnectionModal.tsx
2026-01-23 00:11:58 +03:00
Egor
50ed5bbc2b
Add files via upload
2026-01-22 23:54:25 +03:00
Egor
13da717707
Update ConnectionModal.tsx
2026-01-22 23:54:02 +03:00
Egor
cc7e4b19f4
Update ConnectionModal.tsx
2026-01-22 23:45:10 +03:00
Egor
a94c2a54b8
Update ConnectionModal.tsx
2026-01-22 23:38:42 +03:00
Egor
857541fb94
Update usePullToRefresh.ts
2026-01-22 23:32:17 +03:00
Egor
aac4369bd9
Update AdminPromoOffers.tsx
2026-01-22 23:10:09 +03:00
Egor
9ef89bf585
Update promoOffers.ts
2026-01-22 23:09:30 +03:00
Egor
b9ef362055
Update TopUpModal.tsx
2026-01-22 22:17:55 +03:00
Egor
122bbb5282
Update Dashboard.tsx
2026-01-22 21:16:31 +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
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
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
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
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
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
93a50c975d
Add files via upload
2026-01-21 07:36:24 +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
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