29 Commits

Author SHA1 Message Date
alfrix
a0cff7ec56 simplify name spliting 2022-08-01 12:23:40 -03:00
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
Alfredo Monclus
6051e51f0e fan: add max and stop buttons 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
Alfredo Monclus
a893f47604
Show fan speed according to max_power and off_below (#543)
fixes #444
2022-03-15 12:41:47 -03:00
Randell Hodges
926773f4f3
Apply slider value on release (#430)
Scale will do the action when released instead of many times for every step while sliding.
2022-02-13 16:15:39 -03:00
Jordan
4b0b937c41 Change scrolling behavior to enable touch scroll. Fix #466 2022-01-22 15:30:02 -05:00
Alfredo Monclus
8c489bc465
Support hiding by name using underscore (#437) 2022-01-13 11:09:06 -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
d540c038a4 Update Fan panel to include all configured fans. 2021-09-11 14:17:53 -04:00
Alfredo Monclus
e86dd8b935
Graphical Fixes (#181)
* Fix fan panel going out of screen

* Fix Numpad and clean css

* Fan panel margin tweak needed for bigger fonts
2021-06-11 07:16:14 -04:00
Alfredo Monclus
e75a10a888
New Style - Solarized (#144)
* New Style solarized
2021-05-10 20:55:15 -04:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19: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
7efb0fddf0 fan: Remove user select buttons if fan on/off is hit while selecting 2020-12-04 14:26:08 -05:00
Jordan Ruthe
3a4c556f25 fan: reset value to current fan value after cancel 2020-12-02 14:42:00 -05:00
Jordan Ruthe
08a7057668 Change panel layout. Add title and move back button 2020-12-02 14:35:28 -05:00
Jordan Ruthe
728f9cfa0f screen/panels: add action to process update 2020-11-28 13:52:03 -05:00
Jordan Ruthe
8204e3ab17 Dynamically load panels 2020-11-23 21:00:04 -05:00
jordanruthe
3b62439939 Move files to ks_includes and update references 2020-11-18 17:15:05 -05:00
Jordan Ruthe
7db6a541f2 all: Update to enable language files 2020-11-18 07:49:12 -05:00
Jordan Ruthe
0da4922fd0 Setup logger in panels 2020-11-13 23:27:00 -05:00
Jordan Ruthe
59c8f8b19e Updates to work with the latest version of moonraker 2020-10-04 16:31:58 -04:00
Jordan Ruthe
d2036c13af Moving development into master 2020-08-01 14:38:09 -04:00