Commit Graph

324 Commits

Author SHA1 Message Date
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 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 64bd7cf45c settings.py: prepare for generic SettingsActivity 2026-01-09 19:41:29 +01:00
Thomas Farstrike c7924e7ae7 Add wifi QR decoding 2026-01-06 15:19:58 +01:00
Thomas Farstrike 68d0ac572d Wifi app: add support for scanning wifi QR codes to "Add Network" 2026-01-06 13:48:01 +01:00
Thomas Farstrike 4cc6231c6e Simplify: don't rate-limit update_ui_threadsafe_if_foreground
This isn't used anywhere.
2026-01-04 21:51:45 +01:00
Thomas Farstrike fb5672bd86 Settings app: remove unused calibration_thread 2026-01-04 21:43:07 +01:00
Thomas Farstrike a3fc2b1638 OSUpdate: simplify thread safety 2026-01-04 21:41:25 +01:00
Thomas Farstrike 9db5c5e44c WiFi app: check "hidden" in EditNetwork 2025-12-24 17:24:08 +01:00
Thomas Farstrike b62e115613 DownloadManager cleanups 2025-12-24 14:23:10 +01:00
Thomas Farstrike 13747b8a65 OSUpdate app: fix resume logic 2025-12-24 13:48:32 +01:00
Thomas Farstrike 3135230c57 OSUpdate app: fix resume logic 2025-12-24 12:48:22 +01:00
Thomas Farstrike a4391d76ad OSupdate: add more network error handling 2025-12-24 12:13:45 +01:00
Thomas Farstrike 51a5248d88 OSUpdate app: work towards fixing auto-resume 2025-12-24 11:11:49 +01:00
Thomas Farstrike 4756571d81 osupdate: debugging 2025-12-24 10:40:14 +01:00
Thomas Farstrike aff94d77c0 Increment app version numbers and update CHANGELOG 2025-12-24 07:34:08 +01:00
Thomas Farstrike daad14527b About app: add mpy info 2025-12-19 17:02:40 +01:00