156 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 4fb43ff6b8 fix: styles for keyboard navigaton 2026-02-28 14:06:22 -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 c8edbe149e refactor: tweak vertical size of combobox to be more slim 2026-02-17 08:15:09 -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 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
Alfredo MonclusandMrTylerjet 5ae4e475b6 feat: battery status (#1457)
* Initial commit, added psutil for getting tablet/laptop battery percentage, initial code for getting the values and displaying the icon

* add battery svgs for light theme

* added light styled battery svgs for dark themes

* update icon based on battery percentage and if device is charging

* indentation fix, and forgot to add battery plugged checks for 33% and 66% battery levels

* move battery polling to its own timer now that i understand how to add an additional timer, checks every 30 seconds. check for if show battery is on or off

* add toggle to config for settings

* show battery callback as screen.restart_ks instead of just reloading panels

* move self.battery_percentage() to end of reload_icons this ensures that when a theme is changed the icon is updated instead of waiting for the timeout to update the icon again

* remove left over commented out code

* only call self.battery_percentage when config is true

* adjust tooltip message

* split creatation of elements from updating elements

* change print to logging.debug, handle rouding for percentage in the f-string

* remove code that was moved to `attery_init()`, only destroy icon element when updating icons/percentage text, remove redundant calls to `.pack_start` (just call it once after setting the icon).

* only create battery_update timer if config setting is true

* new material icons remove old icons

* `self.battery_init() in `__init__` def

* fix: lint

* refactors

* style: update icons to follow themes

* refactor: remove config, make the show/hide automatic

* style: bigger battery icons for z-bolt and colorized

---------

Co-authored-by: MrTylerjet <MrTylerjet@gmail.com>
2024-10-09 17:34:33 -03:00
Alfredo Monclus a262247a2a feat: make the osk keypad smaller while landscape 2024-09-20 19:16:21 -03:00
Alfredo Monclus 822f5400cf feat: add keyboard to keypad switchs to macro panel 2024-09-20 19:16:21 -03:00
alfrix 765ef1b3f6 style: change the treeview back to a check
it takes less space and the previous implementation looks bad on some systems where the sizes are not respected
2024-09-15 15:08:28 -03:00
Alfredo Monclus 98c6181d09 style: change the color of the junction to be equal to bg 2024-07-14 16:30:01 -03:00
Alfredo Monclus 243e67609b refactor: remove min width of heater-list temp
it's not needed since the rewrite of update_temp
2024-07-07 14:41:41 -03:00
Alfredo Monclus fc2a44d833 style: dropdown better fit for default command on zcalibrate 2024-07-07 12:04:11 -03:00
Alfredo Monclus 1f2bd4cf72 refactor(dialogs): make button padding smaller and hexpand prompt buttons 2024-07-06 16:14:35 -03:00
Alfredo Monclus 599753859c fix(colorized): dialog-warning wrong color 2024-07-06 15:07:24 -03:00
Alfredo Monclus b952130fb6 refactor(layout): reduce some elements to better fit vertical layout 2024-07-06 14:57:56 -03:00
Alfredo Monclus c53b0e27a4 feat(extrude): show more filament sensors (up to 9)
removes the enable switch if there are too many sensors, to at least show them
2024-07-06 14:57:40 -03:00
Alfredo Monclus af6e798be6 style(gcodes): tweak margin and paddings of the thumbnail view, use up to 3 lines 2024-07-06 11:08:17 -03:00
Alfredo Monclus 733cda93ea style(job_status): if there is no lcd_message center the filename 2024-06-24 21:47:35 -03:00
Alfredo Monclus ff61242856 style: slightly increase padding left on heater list 2024-06-24 19:31:05 -03:00
Alfredo Monclus c9f4f3b066 gcodes: add extra info to confirm print 2024-06-23 16:01:40 -03:00
Alfredo Monclus 464ef04186 style: reduce the padding of the comboboxes add border radius 2024-06-20 23:02:08 -03:00
Alfredo Monclus f3588bb3b9 layout: reduce heater list button left padding
this should maintain alignment when disbling the graph view
2024-06-12 11:22:18 -03:00
Alfredo Monclus 861b617ddb styles: base: tweak paddings to better center labels 2024-06-10 16:08:35 -03:00
Alfredo Monclus d262dfe0b2 style: material darker more centered labels 2024-06-10 16:07:45 -03:00
Alfredo Monclus c898c8afea styles: material updates 2024-06-10 14:12:41 -03:00
Alfredo Monclus bc822eebef layout: reduce some paddings
dropdowns
print items of thumbnail view
2024-05-24 23:17:13 -03:00
alfrix 3d241cecb4 printer_select: support custom icons #1240 2024-04-26 07:36:52 -03:00
alfrix 4588ed537a theme: change icon name from print to printer 2024-04-26 07:36:52 -03:00
alfrix 6886c17604 bed_level: add a specific center screw icon
make z-bolt theme middle screws more visible

make colorized specific icons for the bed
2024-04-13 10:24:57 -03:00
alfrix c774d2ed06 style: change z icons to arrows only, to avoid misinterpretations 2024-04-09 15:13:02 -03:00
alfrix cdf8d12710 action bar buttons visibility tweak 2024-03-09 09:09:41 -03:00
alfrix a023c01ae8 layout and style changes for comboboxes
make comboboxes arrows dissappear when not active

correct the color of the combo

make the items bigger for easier selection
2024-02-25 13:48:15 -03:00
alfrix c35b52805d layout: make popover buttons larger and add a border 2024-02-25 12:09:48 -03:00
Alfredo Monclus d9a361cacc ws: fix issue that made buttons busy forever fixes #1087 (#1266)
* ws: fix issue that made buttons busy forever fixes #1087

* ws: reduce to high_idle due to touch not as responsive

* ws: make string translatable

* less animation steps for the spinner

the slower spinning gear icon is actually more pleasant to look
2024-02-18 17:26:08 -03:00
Alfredo Monclus b5e87152f1 bed_level: improvements (#1248)
1. use the status reference instead of regex matching (this was coded before the status existed)
2. change icons to reflect the rotation direction
3. change icon to reflect that the adjustment is good enough (according to klipper docs below 6 minutes)
4. auto open the panel when screws_tilt_calculate finished

close #1231
2024-01-25 22:46:51 -03:00
alfrix db0bff8ab2 style: less transparent disabled buttons 2024-01-17 09:30:13 -03:00
alfrix d1168b5405 themes: get rid of the unused vertical selector buttons, simplify and rename the horizontal toggle strip 2024-01-10 23:30:39 -03:00
alfrix 78f1c691f6 popups improve contrast 2024-01-10 23:30:39 -03:00
Alfredo Monclus 1794d8aa24 feat: macro prompts close #1216 (#1219)
* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
2024-01-02 08:04:02 -03:00
alfrix 906831a151 fix ui overflow #1220
this make the scrollbar buttons a lot smaller, there is no alternative, they simply don't fit they never did
2023-12-30 11:08:35 -03:00
alfrix 02ba0f9594 heater grid: smaller temp column if power is not displaying close #1200 2023-12-22 21:04:21 -03:00
alfrix d4d27f809b wifi: add icons 2023-11-24 16:55:11 -03:00
alfrix f9ce5540ea initial notifications panel 2023-11-16 20:30:14 -03:00
alfrix 957aeb835d layout: remove the margin as it's very useful on small screens
con: user may have to touch away from the handle if it interferes with the button
2023-11-03 23:34:02 -03:00
alfrix 882037ae7b style: fix issue with material-darker 2023-10-22 16:01:41 -03:00
alfrix f5a5efabda styles: use gtk vars for colors and other cleanup and improvements close #594 2023-10-20 00:06:34 -03:00