alfrix
7666a91872
splash_screen and job_status title translation
2022-10-27 22:47:01 -03:00
alfrix
51ddee28c3
printer_select: hide action_bar on startup and translate name
2022-10-27 21:24:23 -03:00
alfrix
0620d660f5
Change how the printer state is handled
2022-10-27 20:54:13 -03:00
alfrix
d3d7104ec4
languages: refactor
...
- No full restart requirement just reload
- Fix some systems not loading the language
- Fix RTL not applied if the lang was not set by the system
2022-10-26 22:36:52 -03:00
alfrix
b9effb5447
screensaver: fix dialogs not hiding
2022-10-26 22:36:52 -03:00
Alfredo Monclus
a83bbed85a
exclude: graph ( #743 )
...
Also support name wrapping and remove the object from the list if it was excluded (easier to see)
2022-10-04 10:52:44 -03:00
Laurenz
2cce477e5b
Add current heater power % to job status ( #708 )
...
* 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>
2022-09-09 11:34:50 -03:00
alfrix
22081148fe
screen: close dialogs when job_status is loaded
2022-09-02 19:58:35 -03:00
alfrix
b1237ea75e
config: add fallback values to booleans
2022-09-02 19:58:35 -03:00
alfrix
836e4a3aea
screen: some models need blanking for dpms to work properly
2022-09-02 19:58:35 -03:00
alfrix
6db43af8cb
exclude: add exclude objects support
2022-09-02 19:58:35 -03:00
alfrix
3e5855d207
config: add validator
2022-09-02 19:58:35 -03:00
alfrix
200dca9dd3
dump more info during exceptions
2022-08-10 10:49:23 -03:00
alfrix
393586b191
pins: fix #689
2022-08-08 11:01:25 -03:00
alfrix
79cef455af
screen: make the error message more clear and provide more details
2022-08-06 14:39:31 -03:00
alfrix
835803d329
screen: do not ask to save unless printer is in standby close #692
2022-08-03 11:56:02 -03:00
alfrix
de84bd6597
only allow 1 confirm dialog
2022-08-01 12:23:40 -03:00
alfrix
d5bc271788
close dialogs on klippy restart
2022-08-01 12:23:40 -03:00
alfrix
ad614e6734
fix macros shortcut not showing in the action_bar
2022-08-01 12:23:40 -03:00
alfrix
9c2b52009a
built-in keyboard
2022-08-01 12:23:40 -03:00
alfrix
88ca902a4b
popups: wrap long messages, increase margins, touch anywhere to close
2022-08-01 12:23:40 -03:00
alfrix
752e53ff56
screen: popups can be configured to not close #456
2022-08-01 12:23:40 -03:00
alfrix
fda5589531
screen: Always ask to save config if we detect it on responses
2022-08-01 12:23:40 -03:00
alfrix
25e6110dab
output_pin panel close #546
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
37c10fc8b3
keyboard: fix for long vertical screens
2022-07-04 16:33:26 -03:00
alfrix
9833b887ad
screen: fix restart #667
2022-07-04 13:30:16 -03:00
Alfredo Monclus
314379e2af
Use moonraker to restart KS ( #656 )
2022-07-03 12:08:36 -03:00
alfrix
5ad82a64d4
Translations: install _()
2022-07-03 12:03:50 -03:00
alfrix
3bb470ded4
Fix keyboard size after being converted to a oriented Box
2022-07-03 12:03:50 -03:00
alfrix
5c17656567
Remove some unneeded complexity in the macro shortcut
2022-07-03 12:03:50 -03:00
alfrix
06fceec84a
Change the deprecated VBox and HBox to oriented Boxes
2022-07-03 12:03:50 -03:00
alfrix
a445b89f13
config: deprecate get_main_config_option
2022-07-03 12:03:50 -03:00
alfrix
faf997c7ae
keyboard: improve layout and interactions on panels with entry
2022-07-03 12:03:50 -03:00
alfrix
bd03a66dde
screensaver: fix not having coverage in some situations
2022-07-03 12:03:50 -03:00
alfrix
431eb0058c
system: remove unused function
2022-07-03 12:03:50 -03:00
alfrix
d3ce521bb0
keyboard: fix size while vertical
2022-07-03 12:03:50 -03:00
alfrix
da26bf3143
base_panel: layout simplification
2022-07-03 12:03:50 -03:00
alfrix
5a36729b76
PEP8, typos and warnings fixes
2022-05-31 11:14:42 -03:00
alfrix
7c8d4ea4d7
extrude: add filament sensor support
2022-05-31 11:14:42 -03:00
Alfredo Monclus
31546f0020
Improve Job status ( #592 )
...
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
2022-05-01 12:22:58 -03:00
alfrix
b3268223bb
base_panel: fix titlebar items not showing if ks is started while printing
2022-04-12 16:21:35 -03:00
alfrix
8ba28fde1c
Add firmware retraction panel close #101
...
Co-authored-by: tonywright
2022-04-11 23:04:29 -03:00
alfrix
b555768980
safeguard against trying to load a missing theme
2022-04-11 09:08:07 -03:00
alfrix
dc9cf760db
Splash_screen: fix power on button dissapearing
2022-04-05 18:12:48 -03:00
alfrix
76b7ad54eb
splash: do not show power_on if moonraker is not connected
2022-03-31 13:47:42 -03:00
alfrix
b70524cd28
Screensaver if dpms is off
...
This should protect against first touch when the screen is blanked
and help in cases where the driver implementation is not up to spec.
2022-03-29 23:37:59 -03:00
alfrix
6f86448405
Fix issues while Moonraker is connected but klipper is disconnected
...
fixes #548
2022-03-28 16:47:52 -03:00
alfrix
b73292c8f9
splash: hide ready msg while shutdown
2022-03-25 12:05:24 -03:00
alfrix
5286e433fe
logging: cleanup unnecesary lines
2022-03-21 06:34:02 -03:00