Commit Graph

7 Commits

Author SHA1 Message Date
22adf44f63 Refactor: Simplify bot login handling in DesktopFlow and MobileFlow; initialize Login instance in MicrosoftRewardsBot 2025-11-09 00:18:10 +01:00
4c5d5ef9a8 feat: Implement main application logic and UI styling
- Added app.js to manage global state, WebSocket connections, and API interactions.
- Implemented functions for theme toggling, toast notifications, and updating UI elements.
- Created functions to fetch and display account metrics, logs, and status updates.
- Added event handlers for starting, stopping, and restarting the bot.
- Introduced WebSocket handling for real-time updates.
- Added style.css for consistent theming and responsive design across the application.
- Included styles for various UI components such as buttons, cards, logs, and empty states.
- Implemented light theme support with appropriate styles.
2025-11-08 23:56:21 +01:00
5e322af2c0 Fix: Enhance error handling and timeout management across various modules; improve validation and documentation 2025-11-08 18:52:31 +01:00
6b687a1018 Remove BuyMode and fix 2025-11-08 18:25:51 +01:00
40dd9b9fd8 Refactor: Remove deprecated sync endpoint and BuyModeHandler module; streamline configuration and loading processes 2025-11-08 18:06:23 +01:00
03b6c3a4d8 feature: Add the BuyModeManual module to manage manual purchase sessions 2025-11-08 12:40:00 +01:00
8eefd15b80 feat: Refactor and modularize flow handling for improved maintainability
- Extracted BuyModeHandler, DesktopFlow, MobileFlow, and SummaryReporter into separate modules for better organization and testability.
- Enhanced type safety and added interfaces for various return types in Load, Logger, UserAgent, and flow modules.
- Implemented comprehensive error handling and logging throughout the new modules.
- Added unit tests for DesktopFlow, MobileFlow, and SummaryReporter to ensure functionality and correctness.
- Updated existing utility functions to support new flow structures and improve code clarity.
2025-11-08 12:19:34 +01:00