673 Commits

Author SHA1 Message Date
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
alfrix
18af1d1410 bed_level: add center screw close #863 2023-03-08 06:36:54 -06:00
alfrix
926d78de01 bed_level: remove screws only if in list and simplify detection fixes #910 2023-03-08 06:11:23 -06:00
alfrix
a5b639fba2 bed_level: fix compatibility with python 3.7 2023-03-03 08:12:41 -06:00
Alfredo Monclus
55af0d753c
bed_level: improve screw detection (#908)
* Use max_distance for fitting screws to buttons

The max distance is at most 1/3 of the diagonal,
depending on how many screws are there in horizontal or
vertical orientation.

This is a safe guard to prevent assigning screws to buttons
that would confuse the users, for very skewed screw configs.

use a smaller button scale fixes #891

Co-authored-by: alfrix <alfredomonclus@gmail.com>

Co-authored-by: czaky <jendrzej.w@lczak.net>
2023-03-01 07:41:43 -06:00
alfrix
d6693fbecc make the menu icon non-mandatory
this was caused by #866
fixes #902
2023-02-20 07:57:45 -06:00
Geoffrey Young
3d7e92f507
add ability to style and template menu buttons (#866)
* add ability to select button style for menu items

* allow for jinja template rendering for (nearly) all menu options
this shuffles params json checks to display time instead of config time
2023-02-13 21:06:33 -06:00
alfrix
a6bb0fd02e zcalibrate: fix dialog loop, fix popup errors not showing at end #844 2023-02-06 18:27:35 -06:00