Commit Graph

1732 Commits

Author SHA1 Message Date
Thomas Farstrike 9bb3600b63 Wifi app: import mpos.ui.camera_app instead of duplicating 2026-01-12 22:18:04 +01:00
Thomas Farstrike 50f61740c4 mpos_sdl_keyboard.py: catch exception in micropython.schedule 2026-01-12 22:16:16 +01:00
Thomas Farstrike 38225a883d Camera: disable extremely high resolutions
They take up too much RAM.
2026-01-12 22:01:09 +01:00
Thomas Farstrike 187ecff2d9 Update CHANGELOG 2026-01-12 11:22:12 +01:00
Thomas Farstrike a52e766928 Simplify 2026-01-12 11:17:41 +01:00
Thomas Farstrike 50384d4af0 Simplify 2026-01-12 11:15:48 +01:00
Thomas Farstrike 1e7fc357f9 Simplify 2026-01-12 11:09:07 +01:00
Thomas Farstrike 062d4066f1 Simplify 2026-01-12 10:58:05 +01:00
Thomas Farstrike be20ed65c2 Simplify 2026-01-12 10:55:21 +01:00
Thomas Farstrike 63885539fb Simplify 2026-01-12 10:54:13 +01:00
Thomas Farstrike 8cfb51b480 Settings app: use SettingsActivity framework 2026-01-12 10:52:39 +01:00
Thomas Farstrike 6064805e59 Add SettingsActivity framework
...so apps can easily add settings screens with just a few lines of code!
2026-01-12 10:23:10 +01:00
Thomas Farstrike 1e0f31f94c Settings app: show "(not persisted)" for ephemeral settings 2026-01-12 10:07:21 +01:00
Thomas Farstrike 07066ebe20 Settings app: simplify 2026-01-12 09:40:53 +01:00
Thomas Farstrike 9c0b203dd9 SettingActivity: always show QR scan button for textarea 2026-01-11 22:05:08 +01:00
Thomas Farstrike 8b6bc338f1 SettingActivity: add QR scanning 2026-01-11 21:52:47 +01:00
Thomas Farstrike 4d058d7eb0 SettingActivity: fix textarea handling 2026-01-11 20:56:01 +01:00
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