142 Commits
Author SHA1 Message Date
locki-czandAlfredo Monclus 2c693ddf16 feat: Add an option to add the remaining spool weight to the title-bar (fixed) (#1662)
---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2026-04-19 15:01:41 -03:00
Alfredo Monclus 0568319100 Revert "feat: Add an option to add the remaining spool weight to the title-bar (#1662)"
This reverts commit 0293a63ed3.

it will be on a special branch for now, until some more testing
2026-04-05 09:38:39 -03:00
locki-czandAlfredo Monclus 0293a63ed3 feat: Add an option to add the remaining spool weight to the title-bar (#1662)
* Add configurable Spoolman titlebar status

* Render Spoolman titlebar item with heaters

* Prioritize explicit titlebar items including Spoolman

* Tighten Spoolman titlebar icon spacing

* Color Spoolman titlebar icon from active filament

* Make low spool alert icon fully red

* Color all spool icon fills for low alert

* Show placeholder weight when spool data is unavailable

* Rename spool titlebar config aliases

* Make spool titlebar config names explicit

* Fix pycodestyle line length issue

* Use black fallback for missing spool color

* Refetch active spool on missing spool id event

* Differentiate null and missing spool ids

* Respect titlebar limits, simplify spool alert, and document Spoolman dependency

* fix issues with implementation

* rework spoolman label spacing and style

* Fix spool icon pixbuf sizing

* Improve spool titlebar icon rendering

* Revert "Improve spool titlebar icon rendering"

This reverts commit 3039df0c7cd8a60c1b3e5e3df59bbe06cacd6829.

* Align spool titlebar rendering with tested layout

* set a low limit equal to the one in the docs

* spoolman_low use warning instead of error due to high usage warning causing low visibility, it also improves contrast overall

* remove usage or regular expressions

reason is performance overhead and maintanability concerns

---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2026-04-03 20:06:24 -03:00
Alfredo Monclus 33c11992f0 fix: missing space lint error 2026-03-06 15:19:54 -03:00
Alfredo Monclus 40da8d11f1 refactor: config parsing
fixes issues with use_default_menu=false not working
2026-03-05 11:23:11 -03:00
Alfredo Monclus ab4a48e5c5 feat: allow keyboard navigation (disabled by default)
superseed and close #1626
2026-02-28 11:49:10 -03:00
Alfredo Monclus 78ce66314f feat: allow starting in a locked state 2026-02-28 11:49:10 -03:00
chris-redandAlfredo Monclus 2a63116679 feat: Auto timeout for lockscreen (#1653)
Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2026-02-28 11:26:22 -03:00
Alfredo Monclus 3a3fea96d8 refactor: change default value for side shortcut to false
new users can find it overwhelming, and even some very experienced users i've talked to never touch this

for those reasons disabled by default make sense
2026-02-17 08:15:09 -03:00
Alfredo Monclus 08a9421d21 refactor: dpms timeout and set (#1529)
refactor: check xset return when setting dpms
2025-02-04 17:43:54 -03:00
Alfredo Monclus d0faec9c93 Revert "feat: Menu active status (#1482)"
This reverts commit 4172d59dbe.

due to a bug that needs to be investigated

closes #1519
2024-12-06 18:16:45 -03:00
Alfredo Monclus a92be75c48 refactor: optimize imports 2024-11-26 11:57:43 -03:00
Alfredo Monclus 4172d59dbe feat: Menu active status (#1482)
* feat: menu active status, now used to show if homed and leveled

* style: menu_active class
2024-11-12 16:45:35 -03:00
Alfredo Monclus 9a6aeaa43e feat: lockscreen closes #1490 2024-11-12 11:33:07 -03:00
andrewmvandAlfredo Monclus 21a269edd2 feat: Moonraker route prefix support (#1464)
* Added config directives to specify moonraker route prefix, and
explicitly specify SSL

* Added newly-implemented options to documentation

* Fixed boolean handling

* Cleanup

* Fixed trailing whitespace

* refactor: simplifications and lint fixes

---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2024-09-13 18:02:12 -03:00
Alfredo Monclus 7fd759d5fc feat: show the cursor toggle and allow switching on the fly 2024-09-04 12:52:46 -03:00
Alfredo Monclus b11e18fd59 zcalibrate: add a dropdown with the function name to select
now bed_mesh_calibrate method=manual will always be there if a bed_mesh section is defined in klipper

add possibility to add custom functions

close #1350
related #1050 #1403
2024-06-21 13:40:56 -03:00
Alfredo Monclus a37cb967a1 screen: refactor theme load to allow on the fly switching 2024-06-02 12:36:53 -03:00
Alfredo Monclus 5619a77d6e changes to make ks start and give the no support error in python 3.7 2024-05-29 22:27:52 -03:00
Alfredo Monclus 36b6ce3092 printer: refactor to simplify 2024-05-25 01:55:26 -03:00
Alfredo Monclus a19962fb02 reduce logging 2024-05-25 00:50:25 -03:00
Alfredo Monclus 524aa0e7dc drop python 3.7 support (#1271)
* drop python 3.7 support

start using  PEP 572 assignment expressions

Update FAQ

improve how unsupported versions are informed

this should be clearer on why we refuse to continue

* add more asign-expressions
2024-05-24 19:13:19 -03:00
Alfredo Monclus 32ba2099cb job_status: use full words for remaining and allow translations 2024-05-23 23:21:24 -03:00
Alfredo Monclus fc7f12b24d config: give a better description for menu errors 2024-05-23 23:18:57 -03:00
alfrix c9c6eb2258 config: remove printers from theme list fixes #1363 2024-05-09 15:28:32 -03:00
alfrix 03a99ded92 config: fix language not saving fixes 1362#
also adds system_lang back to the list it was missing since the switch from dropdown to menu
2024-05-09 15:23:19 -03:00
alfrix f6a0ca2f41 menu: fix config location 2024-05-09 13:14:09 -03:00
alfrix f704c56ae8 config: create a generic button type 2024-05-09 11:33:02 -03:00
alfrix 0287e68afb config: reorganization 2024-05-09 11:33:02 -03:00
alfrix 750a7ee0b5 allow 2 different screen timeouts, one while printing the other if not
closes #311
2024-04-27 15:23:57 -03:00
alfrix 0f0d35af57 settings: Add tooltips 2024-04-26 20:34:43 -03:00
alfrix 3cce75c039 config: add a help message for people that confuse Klipper with KlipperScreen 2024-04-09 13:08:58 -03:00
Alfredo Monclus ce884154d6 print panel refactor and new features (#1270)
Adds a grid/thumbnail mode (switchable to the list mode)
last mode used is saved
faster load and less memory usage
add sort by size
2024-02-29 15:07:50 -03:00
alfrix 051a53ec22 changes: add commit of config changes 2024-01-26 21:31:08 -03:00
alfrix 9d0e4b841f config: allow xdg .config folder fully deprecate old klipper_config and home folder config
config order of preference

1. printer_data/config
2. xdg .config/KlipperScreen
3. klipperscreen repo directory
2024-01-26 13:59:16 -03:00
Alfredo Monclus af8bd7050d config: refactor install language, fix issues with getlocale on mac (#1250) 2024-01-25 22:47:08 -03:00
Thijs Triemstra 727a6657ee add move_distances config option (#1211)
* add move_distances option

* address review comments

* adjust check

* comment out example

* doc update

* address review comments
2023-12-23 11:30:48 -03:00
alfrix 1f43391b2c printer_select: do not sort, this allows the users to sort how they want by defining them in the config in the order they want 2023-12-17 10:24:26 -03:00
alfrix 49e6dfd884 config: fix screw_rotation not in validator fixes #1148 2023-10-20 00:05:22 -03:00
alfrix b6199a4f24 config: deprecate old configs 2023-10-08 11:51:48 -03:00
alfrix 2a842839ea make extrude panel on pause optional
close #1113
2023-09-04 22:06:14 -03:00
Blonďákandalfrix af1de12f28 Spoolman support close #1060
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>
2023-08-19 18:43:45 -03:00
Vasilyev81andalfrix 65c4b172e8 Add butttons for vertical scrollbars fixes
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-18 11:57:07 -03:00
alfrix bd98e758ec base_panel improvements
* generalize macro shortcut to allow changing it in the future
* action_bar functionality is now handled in one place for better maintainability
2023-08-18 11:48:37 -03:00
alfrix 8053e97d10 camera: add support for moonraker cameras, deprecates camera_url
this also adds support for flipping and rotation (configured in moonraker)
close #976
2023-08-18 11:48:37 -03:00
alfrix d0ab325744 config: changes in how the config is validated
now it validates in steps
1 defaults
2 user settings
3 user includes
4 auto-generated section

unknown keys will be removed from the auto-generated section if no other errors are found
detect and warn about missing newlines in headers
2023-07-30 12:22:58 -03:00
alfrix 88afa50ea3 change getdefaultlocale to getlocale since it's getting deprecated in python 3.13 2023-06-06 05:34:35 -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 be13c1086e make the language list a menu instead of a dropdown fixes #915 2023-05-20 05:00:45 -06:00
alfrix abacff9bd5 translate minute (singular) in the blanking list 2023-05-07 06:58:45 -06:00