830 Commits

Author SHA1 Message Date
alfrix
8d9236a2df screen: simplify panel loading
this removes create_panel function from panels and mandates a class name Panel

remove panel_type param and only use a panel_name that is it's filename

remove load_panel dict

always reinit panel, (simpler and safer but slower)
2023-07-30 12:22:58 -03:00
alfrix
71dcb1f91d job_status: tweaks to the calc of time remaining 2023-07-30 12:22:58 -03:00
alfrix
87ad2a70ba fine_tune: split speed and flow selectors close #935 2023-07-30 12:22:58 -03:00
alfrix
7ba9e49374 job_status: show save to endstop to apply offset for deltas close #916
Z_OFFSET_APPLY_ENDSTOP works in deltas since f078a27905
2023-07-30 12:22:58 -03:00
alfrix
ae03e7d55d job_status: fix screen overflow on small screens 2023-07-30 12:22:58 -03:00
alfrix
72c6bdfe33 job_status: change progress percentage to time-based instead of file-based 2023-07-30 12:22:58 -03:00
alfrix
3c69bcb4c4 add parameter to labels to silence IDE warnings 2023-07-30 12:22:58 -03:00
alfrix
a149796b19 reduce the use of contextlib 2023-07-30 12:22:58 -03:00
alfrix
2a9044e4f4 job_status: refactor to improve efficiency
job_status: refactor lcd_message
2023-07-30 12:22:58 -03:00
alfrix
432305bec9 move: add a failsafe for velocity fixes #1043 2023-07-30 12:22:58 -03:00
alfrix
46311e58f1 macros: use defaults as placeholders fix #1040 2023-07-30 12:22:58 -03:00
Chad Condon
e8a2d3443e
Improve name presentation (#1055)
* Preserve manual capitalization

Avoid re-capitalizing names that already include uppercase letters.
This improves the presentation of names like "TMC2209", etc. when the
user has manually capitalized the name.

* Use title case

Use title case instead of only capitalizing the first character.
Ex. `heater_bed` now becomes "Heater Bed" instead of "Heater bed".
2023-07-24 17:00:12 -03:00
alfrix
797ea99f33 extrude: change style to hexpand 2023-07-08 17:09:05 -03:00
alfrix
ffc5ff3c06 extrude: do not call T0 if there is only one extruder 2023-07-07 23:48:37 -03:00
alfrix
3ba6bd657f main_menu: add scrollbar fixes #1034 2023-07-04 11:46:44 -03:00
Alfredo Monclus
6190581101
Reorganization (#1029) 2023-07-02 15:16:36 -03:00
alfrix
cb1793836c bed_mesh: load default if no mesh have been loaded
even though this is not default anymore in klipper it's still the best for new users who don't use multiple profiles
2023-07-01 15:16:34 -03:00
alfrix
9da9f4d11e main_menu: retry to create the left panel 2023-07-01 01:04:03 -03:00
alfrix
062e51f9be zcalibrate: use the new method manual_probe is_active to improve detection of status 2023-07-01 00:55:12 -03:00
Alfredo Monclus
294623c13f
temp: add pid calibrate to the keypad (#1026) 2023-06-30 17:48:43 -03:00
Alfredo Monclus
d3480cf571
bed_screws: use klipper config values for speed and heights (#1028) 2023-06-30 17:43:31 -03:00
Alfredo Monclus
b5abd3d7b9
temperature: select the device that was selected in job_status (#1025) 2023-06-30 17:43:00 -03:00
alfrix
4f86de8c80 zcalibrate: show new value as abs 2023-06-25 15:29:40 -03:00
alfrix
5a0df3a628 fix colors not applying correctly fix #944 2023-06-22 12:44:16 -03:00
alfrix
eb0e6ad803 job_status: disable restart and pause after pressing and simplify enable 2023-06-21 17:42:32 -03:00
alfrix
391254057a bed_level: use the same string for disable motors used in the other panels 2023-06-21 16:13:51 -03:00
alfrix
efc8c3f437 macros: add popup (visual confirmation) of the macro sent 2023-06-21 16:10:29 -03:00
alfrix
4920720c99 return False on Glib functions 2023-06-16 10:05:43 -03:00
alfrix
2241b54153 use only one jinja env
slightly improves performance
2023-06-16 10:05:24 -03:00
alfrix
dbe3f03019 refactor graph update timer 2023-06-16 10:04:16 -03:00
alfrix
35498d39c7 job_status: fix not fitting on 480 wide screens 2023-06-13 13:39:23 -03:00
alfrix
c1d8a4f033 menu: get rid of initalize 2023-06-13 13:39:23 -03:00
alfrix
f7c12867d5 slimmer topbar buttons fixes #1006 2023-06-13 13:39:23 -03:00
alfrix
72c1b1d5f2 main_panel: retry to show graph if moonrkaesr tempstore was not initialized yet 2023-06-13 11:54:42 -03:00
alfrix
ff94b45c45 close dialogs when transitioning to printing
also simplify the transition
2023-06-13 11:08:18 -03:00
alfrix
fa73daaf71 camera: improve performance and latency and also fixes #1003 2023-06-09 08:59:32 -03:00
alfrix
7a0848fa9f deprecate user slicer compensation, in hindsight this is something that the ui shouldn't do 2023-06-04 11:00:47 -03:00
alfrix
2d61eba66b Fix macro shortcut reopening the same panel 2023-06-04 08:09:11 -03:00
alfrix
be13c1086e make the language list a menu instead of a dropdown fixes #915 2023-05-20 05:00:45 -06:00
alfrix
1e741ee439 fix menu items not evaluating fixes #959 2023-05-11 08:39:36 -06:00
alfrix
ebaedeaf6c macros: fix arrow not showing after click 2023-05-09 07:43:23 -06:00
alfrix
d775e15fa0 add extra digit for z_offset close #943 2023-04-02 09:29:00 -06:00
alfrix
0f97f6e32c menu: don't create items if enable is false, previously it was just not shown 2023-03-24 08:35:11 -06:00
alfrix
da9f970231 print: refactors 2023-03-22 06:51:34 -06:00
alfrix
3417765223 job_status: fix panel not showing and not updating thumbnails
safeguard against thumbnail corruption or other errors fixes #893
better system to update name and thumbnails fixes #889
2023-03-19 05:55:30 -06:00
alfrix
b963c55140 job_status: fix save endstop not working fixes #929 2023-03-17 07:50:50 -06:00
alfrix
d6f7bdcfe6 macros: use the new get_macro instead of get_config due to recent issues 2023-03-11 16:53:08 -06:00
alfrix
dfe1ac8d2c macros: fix list not loading when there are extra spaces fixes #909 2023-03-10 20:03:28 -06:00
alfrix
be473bf626 bed_level: fix auto-detect when there is no config file fixes #918 2023-03-10 06:43:02 -06:00
alfrix
122752b000 leakfix 2023-03-09 07:32:46 -06:00