KeSp_controller/ui/components
Mae PUGIN 3e54361d0d refactor: Modularize main.rs (2478 → 58 lines), flat architecture
Split monolithic main.rs into domain modules:
- context.rs: AppContext shared state, BgMsg enum, serial_spawn helper
- models.rs: UI model builders, keycap labels, key entries, layout preview
- config.rs: keyboard config export/import via binary protocol
- dispatch.rs: BgMsg handler + WPM/layout timers
- keymap.rs: key selection, layer switch/rename, heatmap toggle
- key_selector.rs: dispatch_keycode router, apply_keycode, hex/MT/LT
- macros.rs: macro CRUD, shortcut presets, step builder
- advanced.rs: combos, KO, leaders, tap dance, BT, tama, autoshift
- settings.rs: OTA flash, config backup, keyboard layout
- flasher.rs: ESP32 bootloader flash
- layout.rs: layout JSON preview, load/export
- connection.rs: serial connect/disconnect, tab auto-refresh
- stats.rs: stats refresh

Rename logic/ → protocol/ with cleaner file names.
Remove unused original-src/ directory.
Fix DarkLineEdit double styling, add rename popup, macro shortcuts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 12:02:22 +02:00
..
connection_bar.slint style: Custom DarkComboBox + DarkTab (Dracula theme throughout) 2026-04-07 08:46:39 +02:00
dark_button.slint style: Fix contrast on buttons, combobox, and tab titles 2026-04-07 09:03:44 +02:00
dark_checkbox.slint feat: KO creation with checkboxes (matching egui) 2026-04-07 11:06:32 +02:00
dark_combo_box.slint style: Fix contrast on buttons, combobox, and tab titles 2026-04-07 09:03:44 +02:00
dark_line_edit.slint refactor: Modularize main.rs (2478 → 58 lines), flat architecture 2026-04-08 12:02:22 +02:00
key_button.slint fix: Heatmap gradient with stepped colors for clarity 2026-04-07 13:35:08 +02:00
key_selector.slint style: DarkLineEdit + scrollable layer sidebar 2026-04-07 12:04:13 +02:00
keyboard_view.slint feat: Complete KeSp Controller — Slint UI port 2026-04-06 20:40:34 +02:00
status_bar.slint release: v1.0.0 — KeSp Controller multi-platform 2026-04-07 16:23:12 +02:00