Commit Graph

10 Commits

Author SHA1 Message Date
GW_MC
c4635948e4 feat(travel): Implement settings UI and web server for MTR route configuration
- Added MainUIHandler class to manage the main UI and polling for arrival data.
- Introduced SettingsUI class for displaying QR code and configuration options.
- Created SettingsUIHandler to manage settings UI lifecycle and web server interactions.
- Developed WebHandler to handle HTTP requests for MTR route settings, including adding and removing routes.
- Implemented web endpoints for fetching MTR lines, routes, and saving settings.
- Enhanced UI with responsive design for e-ink displays and added error handling for web interactions.
2026-02-03 19:26:53 +08:00
GW_MC
a008106d47 feat: Organize CMakeLists for modular source management across main components 2026-02-03 15:43:56 +08:00
GW_MC
7bd230f591 feat: Implement button creation utility and refactor UI components for improved readability 2026-02-03 15:20:35 +08:00
GW_MC
f5fae825d6 fix: Correct error handling in start_web_server for web server initialization 2026-02-02 23:11:27 +08:00
GW_MC
c51991350f feat: Refactor MainUI and MainUIHandler for improved status update handling and UI consistency 2026-02-02 21:55:51 +08:00
GW_MC
d0c9a7c4cc update display only necessary 2026-02-02 21:17:39 +08:00
GW_MC
1dff88ed1a Fix polling error 2026-02-02 21:12:54 +08:00
GW_MC
e467951b8c feat: Implement Discord app UI and settings management
- Added MainUI class for displaying voice state, status icon, and buttons.
- Introduced MainUIHandler to manage UI interactions and bridge communication.
- Created SettingsUI for displaying QR code and configuration instructions.
- Implemented SettingsUIHandler to manage settings and web server interactions.
- Developed WebHandler for handling HTTP requests for settings configuration.
- Updated AppRegistry to initialize with the new Discord app descriptor.
- Enhanced InteractionHandler to support keyboard interactions across app switches.
- Updated UIHandler to manage app switching and rendering of app icons.
- Enabled QR code support in LVGL configuration.
2026-02-02 20:47:27 +08:00
GW_MC
06e81301b2 Refactor RootLayout and UIHandler for improved structure and functionality
- Updated RootLayout to manage layout initialization and deinitialization more effectively.
- Removed unnecessary dependencies and streamlined event handling for keyboard events.
- Enhanced UIHandler to utilize shared pointers for app descriptors, improving memory management.
- Added methods for showing and hiding navigation elements in RootLayout.
- Introduced textarea widget with instant response by disabling animations.
- Improved error handling and logging throughout the UI components.
2026-02-01 13:03:56 +08:00
GW_MC
3ce135a028 Squash of branch setup 2026-01-27 19:15:44 +08:00