* feature: add leds panel
* Various refactors and improvements
* lint fixes
* led: use more columns for the selector
* leds: name in the title
* mainsail presets
* change sliders to horizontal to avoid visual bug, simplify defaults
* led: add a color preview and simplify methods to fix some issues
* simplify presets move all the logic to the panel
* led: change presets from names to previews
* preview label shows color, add vertical mode
* led: colored previews as rectangles instead of circles
---------
Co-authored-by: alfrix <alfredomonclus@gmail.com>
Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools
Co-authored-by: alfrix <alfredomonclus@gmail.com>
* Add current heater power % to job status
* Add show_heater_power config option and move update_temp()s to ScreenPanel
* Add the option to the UI config instead of the docs
* Prefer extra items on job_status over the power
There is not a lot of space, it's a trade off, and people will likely prefer extra_items
* Remove the comma, none of the other buttons have it
* job_status: inherit the parent config
* screen: create reload_panels to avoid some service restarts
* extrude: fix power breaking multi-extruder setups
* main and temp: remove degrees char from the table
* main and temp: revert removal of the header
Co-authored-by: alfrix <alfredomonclus@gmail.com>
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
Original panel by Mikko Gozalo
Modified layour to fit 16:9 screens
Auto-home
Ability to measure X and Y independently
Get the current active values not the values from the config
Ask for save
Other minor tweaks
close#301
Co-authored-by: alfrix <alfredomonclus@gmail.com>
Adds heater_generic and/or temp_sensors besides extruder/bed (because of the limited space maybe only 1)
Temps are now buttons and act as a shortcut to the temp panel
Adds fan_generic to the fan label and it's now a shortcut to the fan panel
The colors and size of the progress circle were changed to be more subtle.
Margins between items were augmented, because they are buttons now
Adds 3 information pages: move, extrusion and time:
move can be opened with speed or z buttons
time with elapsed/remaining buttons
extrusion with the extrude_factor / flowrate button