25 Commits

Author SHA1 Message Date
d89645ca28
Refactor: Store group customizations as objects
Changes the `group_customizations` data structure to store a dictionary containing `name` and `description` for each group, rather than just the custom name. This aligns with how command customizations are stored and prepares for future additions like custom group descriptions.

Updates the dashboard UI and settings cog to correctly display the new group customization format, while maintaining backward compatibility for existing data.
2025-05-26 16:23:47 -06:00
cab07d09db
feat: Refactor utility exports for improved accessibility in the dashboard 2025-05-26 15:28:59 -06:00
cfb768cc33
feat: Initialize custom bot from dashboard and add DOM utilities
- Move `initCustomBot` call from `DOMContentLoaded` listener in `custom-bot.js` to `initDashboard` in `utils.js`.
- Ensure `initCustomBot` is called only after user authentication is checked and dashboard elements are ready.
- Add `show`, `hide`, and `toggle` utility functions to the `DOM` object in `utils.js` for managing element visibility.
2025-05-26 15:25:55 -06:00
0677b7e168
feat: Implement custom bot configuration dashboard
This commit introduces a new custom bot configuration dashboard, providing a streamlined interface for managing bot settings.

Key changes include:
- **UI/UX Enhancements:**
    - Added new CSS for a modern, responsive dashboard layout, including header, navigation, and form styling.
    - Implemented a dynamic bot status indicator (online/offline).
    - Improved form validation and user feedback mechanisms.
- **Frontend Logic:**
    - Refactored `custom-bot.js` to handle loading, saving, and validating bot settings.
    - Integrated `showFeedback` utility for consistent user notifications.
    - Updated API calls to use `fetch` for better control and error handling.
- **HTML Structure:**
    - Modified `index.html` to incorporate the new dashboard layout and elements.
- **Utility Functions:**
    - Added `showFeedback` function in `utils.js` for displaying success/error messages.

This feature significantly improves the user experience for configuring custom bots.
2025-05-26 15:19:26 -06:00
97e4de1383
refactor: Enhance dashboard initialization and error handling to fix white screen issue and improve user experience 2025-05-21 18:37:54 -06:00
172f5907b3
feat: Implement custom bot management dashboard
- Add `custom_bot_manager.py` for core bot lifecycle management.
- Introduce new API endpoints for custom bot status, start, stop, restart, and log retrieval.
- Extend `UserSettings` and `GlobalSettings` models with custom bot configuration options (token, enabled, prefix, status).
- Create a dedicated "Custom Bot" page in the dashboard (`custom-bot.html`) with associated JavaScript to configure settings and control the bot.
- Integrate custom bot initialization into the application startup.
2025-05-21 18:11:17 -06:00
ae3080b0de
asd 2025-05-10 11:14:46 -06:00
1efa9dc052
aaa 2025-05-09 18:48:16 -06:00
59ef9f5a8a
aaa 2025-05-05 20:43:11 -06:00
d97555d959
aaa 2025-05-05 20:05:41 -06:00
af57514549
ojuhrgft 2025-05-04 14:09:24 -06:00
427043f334
aa 2025-05-04 14:03:41 -06:00
4b50898664
aaa 2025-05-04 13:52:43 -06:00
d526eefe81
R 2025-05-03 19:46:35 -06:00
f971fe87b8
aaaa 2025-05-03 19:01:41 -06:00
2e1071fb40
aa 2025-05-03 18:47:47 -06:00
3c4c776e54
ghygyyggy 2025-05-03 18:25:24 -06:00
16ae8e0841
iujiik 2025-05-03 18:10:42 -06:00
34f94ca462
huhuhu 2025-05-03 18:05:06 -06:00
c26fbda939
aa 2025-05-03 18:01:54 -06:00
1b825f3dd6
sef 2025-05-03 17:57:01 -06:00
5246a6151d
SAAAA 2025-05-03 17:50:54 -06:00
156125e1db
joklihuhiuyuiyhuiyyiuyiuj 2025-05-03 17:44:55 -06:00
9ee5bdbaaa
aaa 2025-05-03 16:04:09 -06:00
30f6d93d89
a 2025-05-03 14:47:22 -06:00