Commit Graph
18 Commits
Author SHA1 Message Date
alfrix 6510b2ec6b Refactor
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix 5ad82a64d4 Translations: install _() 2022-07-03 12:03:50 -03:00
alfrix b611491997 Optimize imports 2022-07-03 12:03:50 -03:00
alfrix 33195f203f Simplify code 2022-05-31 11:14:42 -03:00
alfrix 5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix 3a91ba4604 style: set minimum height for distbuttons and simplify border removal 2022-03-25 09:57:11 -03:00
alfrix 5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
alfrix a1173d7113 power: fix switch aspect ratio 2022-03-01 09:12:27 -03:00
Jordan 4b0b937c41 Change scrolling behavior to enable touch scroll. Fix #466 2022-01-22 15:30:02 -05:00
Jordan dd0fd18b25 power: Sync power state on panel load. Fixes #322 2021-12-01 19:41:49 -05:00
Jordan 54c47554d2 Change how panel subscriptions work 2021-09-16 21:54:51 -04:00
Jordan 70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan Ruthe c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan 9016b67c6f power: visual updates 2020-12-20 23:51:41 -05:00
Jordan 1973002b3d power: cleanup dependency 2020-12-18 15:22:30 -05:00
jordanruthe 238badb110 UI scaling (#28)
* Initial UI scaling commit

* temperature: updates to styling

* screen: fix dialog creation

* bed_level: scale images

* job_status: updates to scaling
2020-12-07 15:44:03 -05:00
Jordan Ruthe 08a7057668 Change panel layout. Add title and move back button 2020-12-02 14:35:28 -05:00
Jordan Ruthe cc59ec68d0 Add power panel 2020-11-28 14:00:26 -05:00