Commit Graph

1715 Commits

Author SHA1 Message Date
Thomas Farstrike 80b2f98857 Wifi app: avoid absolute pixel values in layout 2026-01-11 20:45:46 +01:00
Thomas Farstrike f889657ec6 AppStore app: also refresh focus group 2026-01-10 21:30:05 +01:00
Thomas Farstrike cb9534890d Fix padding 2026-01-10 21:02:20 +01:00
Thomas Farstrike 6568d33013 refactor(appstore): extract DRY helpers and consolidate duplicated code
- Extract _apply_default_styles() helper to eliminate 12+ repeated widget style calls
- Extract _add_click_handler() helper to consolidate 6 repeated event registrations
- Consolidate backend config getters into single _get_backend_config() method
- Simplify badgehub_app_to_mpos_app() with safer .get() defaults instead of try-except
- Extract _cleanup_temp_file(), _update_progress(), _show_progress_bar(), _hide_progress_bar() helpers
- Refactor uninstall_app() and download_and_install() to use new progress helpers
- Use getattr() for cleaner attribute checking

Eliminates ~85 lines of duplicated logic while preserving all functionality,
comments, and debug prints. Improves maintainability and code clarity.
2026-01-10 20:49:25 +01:00
Thomas Farstrike 9b99243f27 AppStore app: move AppDetail to its own file and simplify 2026-01-10 19:35:55 +01:00
Thomas Farstrike b4d851baad AppStore app: use generic SettingActivity to configure backend 2026-01-10 19:00:14 +01:00
Thomas Farstrike 29d3e8a2b9 Promote setting_activity from app to framework 2026-01-10 08:45:45 +01:00
Thomas Farstrike c4283dbf37 Update lvgl_micropython 2026-01-10 08:39:17 +01:00
Thomas Farstrike d13e61112e Settings: improve activity_class hunting 2026-01-09 20:10:50 +01:00
Thomas Farstrike 7bd71eb04e Move SettingsActivity to its own file 2026-01-09 20:04:04 +01:00
Thomas Farstrike 580ba0d1dc AppStore app: hide non-functional settings button 2026-01-09 19:52:46 +01:00
Thomas Farstrike 6057674efe AppStore app: prepare for settings 2026-01-09 19:51:50 +01:00
Thomas Farstrike f34498cfcd view.py debugging 2026-01-09 19:45:25 +01:00
Thomas Farstrike cfc04f2fb7 Simplify bootloader.py 2026-01-09 19:45:09 +01:00
Thomas Farstrike 64bd7cf45c settings.py: prepare for generic SettingsActivity 2026-01-09 19:41:29 +01:00
Thomas Farstrike 736fd49e0f Print stacktrace for unhandled app exceptions 2026-01-09 17:59:00 +01:00
Thomas Farstrike f3b67eef73 build_mpos.sh: fix "text file busy" error
If the build process tries to output the final binary
while it's already running and therefore in use, it failed.
2026-01-09 15:08:26 +01:00
Thomas Farstrike eeabe1b20b Make "Power Off" button on desktop exit completely 2026-01-09 15:07:25 +01:00
Thomas Farstrike 304fa1a537 Improve robustness with custom exception that does not deinit() the TaskHandler 2026-01-09 12:03:33 +01:00
Thomas Farstrike c62b30b4d0 Improve robustness by catching unhandled app exceptions 2026-01-09 10:44:43 +01:00
Thomas Farstrike 99722fc82f Improve camera test handling on macOS 2026-01-08 16:51:30 +01:00
Thomas Farstrike e9ad805767 Skip test_graphical_camera_settings.py on macOS because no camera support 2026-01-08 16:49:37 +01:00
Thomas Farstrike 5c3e9008b8 Disable rlottie 2026-01-07 22:35:55 +01:00
Thomas Farstrike 275d405a51 Update lvgl_micropython 2026-01-07 22:11:27 +01:00
Thomas Farstrike 380cad6c79 RLOTTIE is disabled by default 2026-01-07 22:11:02 +01:00