29 Commits

Author SHA1 Message Date
alfrix
1305b40c41 refactors and cleanup 2022-10-14 13:27:01 -03:00
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
eb17bb58ad screen_panel: remove unused parameters 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
alfrix
da26bf3143 base_panel: layout simplification 2022-07-03 12:03:50 -03:00
alfrix
33195f203f Simplify code 2022-05-31 11:14:42 -03:00
alfrix
c91deda220 settings: wider scale slider 2022-05-31 11:14:42 -03:00
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
fd2a717ece settings: remove options that are directly on the panels 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
d158090bea base_panel: cleanup logging 2022-03-21 13:20:52 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -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
alfrix
d05ac06ad3 Settings_panel: Prevent long translations from squashing the slider
and improve switch to be more consistent
2022-02-05 14:47:35 -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
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan
246c9829db screen: Make macros shortcut show/hide when configured. Addresses #246 2021-08-31 22:02:04 -04:00
Jordan
73b54f7aba base_panel: Include back/home button 2021-05-19 20:44:48 -04:00
Alfredo Monclus
e75a10a888
New Style - Solarized (#144)
* New Style solarized
2021-05-10 20:55:15 -04:00
Jordan Ruthe
d61e5983da move and settings: Update settings panel to include configurable movement speed
This allows the user to set the speed in mm/s for the move panel

Completes #95
2021-03-23 00:09:36 -04:00
jordanruthe
5e31e3cfa6
Multiple printers (#85)
* screen/printer_select/splash_screen: Updates to allow changing between moonraker instances

* Updates to multiple printers

* settings: Display printer endpoints

* Update macros to be on a per-printer basis

* files: Changes to clear out file cache on printer switch

* job_status: Redo page for action bar

* splash_screen: Change icon

* websocket: Actually close the websocket

* printer: Fix error case

* splash_screen: show buttons update

* readme update
2021-03-05 18:30:59 -05:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
41e5963ad7 print: Save sort order to fix #66 2021-02-19 00:13:57 -05:00
Jordan Ruthe
d6bf77870b settings: Screen blanking settings 2021-01-24 11:01:37 -05:00
Jordan Ruthe
f297699396 job_status/settings: Allow different file estimation methods 2021-01-20 22:06:48 -05:00
Jordan Ruthe
642fe8a52e settings: Create settings panel for KlipperScreen settings 2021-01-07 01:01:55 -05:00